Class: OmniAuth::Strategies::Nimble

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



36
37
38
39
40
# File 'lib/omniauth/strategies/nimble.rb', line 36

def raw_info
  access_token.options[:mode] = :query
  access_token.options[:param_name] = :access_token        
  @raw_info ||= access_token.get('/api/users/myself/', {:parse => :json}).parsed
end