Class: OmniAuth::Strategies::ShuttlerockOauth2
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::ShuttlerockOauth2
- Defined in:
- lib/omniauth/strategies/shuttlerock_oauth2.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
29 30 31 |
# File 'lib/omniauth/strategies/shuttlerock_oauth2.rb', line 29 def callback_url full_host + script_name + callback_path end |
#raw_info ⇒ Object
25 26 27 |
# File 'lib/omniauth/strategies/shuttlerock_oauth2.rb', line 25 def raw_info @raw_info ||= MultiJson.decode(access_token.get('/api/v1/me').body) end |