Method: VerticalResponse::API::OAuth.access_token
- Defined in:
- lib/verticalresponse/api/oauth.rb
.access_token(auth_code, redirect_uri = "", client_id = "", client_secret = "") ⇒ Object
37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/verticalresponse/api/oauth.rb', line 37 def access_token(auth_code, redirect_uri = "", client_id = "", client_secret = "") get( resource_uri('access_token'), build_query_params({ :client_id => client_id, :client_secret => client_secret, :code => auth_code, :redirect_uri => redirect_uri }) ) end |