Class: OmniAuth::Strategies::Cheddar

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



30
31
32
33
34
# File 'lib/omniauth/strategies/cheddar.rb', line 30

def raw_info
  access_token.options[:mode] = :query
  access_token.options[:param_name] = :access_token
  @raw_info ||= access_token.get('https://api.cheddarapp.com/v1/me').parsed
end