Class: OmniAuth::Strategies::Sense

Inherits:
OAuth
  • Object
show all
Defined in:
lib/omniauth/strategies/sense.rb

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



22
23
24
25
26
27
28
29
# File 'lib/omniauth/strategies/sense.rb', line 22

def raw_info
  @raw_info ||=
    begin
      current_user_request = @access_token.get('/users/current.json')
      body = current_user_request.body
      MultiJson.load(body)
    end
end