Class: OmniAuth::Strategies::Pinterest
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Pinterest
- Defined in:
- lib/omniauth/strategies/pinterest.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
22 23 24 |
# File 'lib/omniauth/strategies/pinterest.rb', line 22 def raw_info @raw_info ||= access_token.get('/v1/me/').parsed['data'] end |
#request_phase ⇒ Object
12 13 14 15 16 |
# File 'lib/omniauth/strategies/pinterest.rb', line 12 def request_phase [:scope] ||= 'read' [:response_type] ||= 'code' super end |