Class: OmniAuth::Strategies::Freee
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Freee
- Defined in:
- lib/omniauth/strategies/freee.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
33 34 35 |
# File 'lib/omniauth/strategies/freee.rb', line 33 def callback_url full_host + callback_path end |
#raw_info ⇒ Object
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 |