Class: OmniAuth::Strategies::Fatsecret
- Inherits:
-
OAuth
- Object
- OAuth
- OmniAuth::Strategies::Fatsecret
- Defined in:
- lib/omniauth/strategies/fatsecret.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
25 26 27 |
# File 'lib/omniauth/strategies/fatsecret.rb', line 25 def raw_info @raw_info ||= MultiJson.decode(access_token.get('http://platform.fatsecret.com/rest/server.api?method=profile.get&format=json').body)['profile'] end |