Class: OmniAuth::Strategies::Buffer
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Buffer
- Defined in:
- lib/omniauth/strategies/buffer.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
26 27 28 29 30 |
# File 'lib/omniauth/strategies/buffer.rb', line 26 def raw_info access_token.[:mode] = :query access_token.[:param_name] = :access_token @raw_info ||= MultiJson.load(access_token.get('https://api.bufferapp.com/1/user.json').body) end |