Class: OmniAuth::Strategies::Buffer

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



26
27
28
29
30
# File 'lib/omniauth/strategies/buffer.rb', line 26

def raw_info
  access_token.options[:mode] = :query
  access_token.options[:param_name] = :access_token
  @raw_info ||= MultiJson.load(access_token.get('https://api.bufferapp.com/1/user.json').body)
end