Class: OmniAuth::Strategies::Tumblr2

Inherits:
OAuth
  • Object
show all
Defined in:
lib/omniauth/strategies/tumblr2.rb

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



27
28
29
30
# File 'lib/omniauth/strategies/tumblr2.rb', line 27

def raw_info
  url = 'http://api.tumblr.com/v2/user/info'
  @raw_info ||= MultiJson.decode(@access_token.get(url).body)['response']['user']
end