lib/ayadn/authorize.rb in ayadn-1.0.12 vs lib/ayadn/authorize.rb in ayadn-1.0.13

- old
+ new

@@ -72,10 +72,10 @@ puts "Copy it then paste it here:\n".color(:yellow) print "> " end def get_user(token) - JSON.parse(RestClient.get("https://alpha-api.app.net/stream/0/users/me?access_token=#{token}", :verify_ssl => OpenSSL::SSL::VERIFY_NONE) {|response, request, result| response }) + JSON.parse(RestClient.get("https://api.app.net/users/me?access_token=#{token}", :verify_ssl => OpenSSL::SSL::VERIFY_NONE) {|response, request, result| response }) end def get_token begin STDIN.gets.chomp()