Class: OmniAuth::Strategies::Svpply
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Svpply
- Defined in:
- lib/omniauth/strategies/svpply.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
27 28 29 30 31 |
# File 'lib/omniauth/strategies/svpply.rb', line 27 def raw_info access_token.[:param_name] = 'access_token' access_token.[:mode] = :query @raw_info ||= JSON.parse(access_token.get('/v1/users/me.json').body)['response'] end |