Class: OmniAuth::Strategies::Readmill
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Readmill
- Defined in:
- lib/omniauth/strategies/readmill.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
46 47 48 49 |
# File 'lib/omniauth/strategies/readmill.rb', line 46 def raw_info access_token.[:mode] = :query @raw_info ||= access_token.get("/v2/me?access_token=#{access_token.token}").parsed['user'] end |