Class: OmniAuth::Strategies::Putio

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/putio.rb

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



38
39
40
41
42
43
# File 'lib/omniauth/strategies/putio.rb', line 38

def raw_info
  access_token.options[:mode] = :query
  access_token.options[:param_name] = 'oauth_token'

  @raw_info ||= access_token.get('/v2/account/info').parsed['info']
end