Method: Foursquared::OAuth::Client#authorize_url

Defined in:
lib/foursquared/oauth/client.rb

#authorize_urlString

Step 1: URL for OAuth2 oauthorizetion of Foursquare

Returns:

  • (String)


25
26
27
# File 'lib/foursquared/oauth/client.rb', line 25

def authorize_url
  oauth_client.auth_code.authorize_url(:redirect_uri => callback_url)
end