Class: OmniAuth::Strategies::Hootsuite
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Hootsuite
- Defined in:
- lib/omniauth/strategies/hootsuite.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
35 36 37 |
# File 'lib/omniauth/strategies/hootsuite.rb', line 35 def callback_url [:redirect_uri] || (full_host + script_name + callback_path) end |
#raw_info ⇒ Object
28 29 30 31 32 33 |
# File 'lib/omniauth/strategies/hootsuite.rb', line 28 def raw_info res = access_token.get('/v1/me') pp res pp res.parsed @raw_info ||= res.parsed end |