dispatch

in lib/twurl/authorization_controller.rb [4:11]


    def dispatch
      client.exchange_credentials_for_access_token
      client.save
      CLI.puts AUTHORIZATION_SUCCEEDED_MESSAGE
    rescue OAuth::Unauthorized
      raise Exception, AUTHORIZATION_FAILED_MESSAGE
    end