Class: OmniAuth::Strategies::FreeAgent
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::FreeAgent
- Defined in:
- lib/omniauth/strategies/freeagent.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
44 45 46 |
# File 'lib/omniauth/strategies/freeagent.rb', line 44 def callback_url [:redirect_uri] || full_host + script_name + callback_path end |
#raw_info ⇒ Object
40 41 42 |
# File 'lib/omniauth/strategies/freeagent.rb', line 40 def raw_info @raw_info ||= access_token.get("/v2/users/me").parsed end |