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