Class: OmniAuth::Strategies::Vocabulario

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



31
32
33
34
35
# File 'lib/omniauth/strategies/vocabulario.rb', line 31

def raw_info
  @raw_info ||= MultiJson.load(access_token.get('/users/current.json').body)['user']
rescue ::Errno::ETIMEDOUT
  raise ::Timeout::Error
end