Class: OmniAuth::Strategies::Cgtrader
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Cgtrader
- Defined in:
- lib/omniauth/strategies/cgtrader.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
24 25 26 |
# File 'lib/omniauth/strategies/cgtrader.rb', line 24 def callback_url full_host + script_name + callback_path end |
#raw_info ⇒ Object
28 29 30 |
# File 'lib/omniauth/strategies/cgtrader.rb', line 28 def raw_info @raw_info ||= access_token.get('v1/users/me.json').parsed end |