Class: OmniAuth::Strategies::Readmill

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/readmill.rb

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



46
47
48
49
# File 'lib/omniauth/strategies/readmill.rb', line 46

def raw_info
  access_token.options[:mode] = :query
  @raw_info ||= access_token.get("/v2/me?access_token=#{access_token.token}").parsed['user']
end