Class: OmniAuth::Strategies::Putio
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Putio
- Defined in:
- lib/omniauth/strategies/putio.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
38 39 40 41 42 43 |
# File 'lib/omniauth/strategies/putio.rb', line 38 def raw_info access_token.[:mode] = :query access_token.[:param_name] = 'oauth_token' @raw_info ||= access_token.get('/v2/account/info').parsed['info'] end |