Class: OmniAuth::Strategies::Getdrip
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Getdrip
- Defined in:
- lib/omniauth/strategies/getdrip.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
38 39 40 |
# File 'lib/omniauth/strategies/getdrip.rb', line 38 def raw_info @raw_info ||= JSON.parse(access_token.get("/v2/accounts").body) end |
#user_info ⇒ Object
34 35 36 |
# File 'lib/omniauth/strategies/getdrip.rb', line 34 def user_info @user_info ||= JSON.parse(access_token.get("/v2/user").body) end |