Class: OmniAuth::Strategies::Freee

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



33
34
35
# File 'lib/omniauth/strategies/freee.rb', line 33

def callback_url
  full_host + callback_path
end

#raw_infoObject



29
30
31
# File 'lib/omniauth/strategies/freee.rb', line 29

def raw_info
  @raw_info ||= access_token.get('/api/1/users/me?companies=true').parsed
end