Class: OmniAuth::Strategies::Sina

Inherits:
Auth
  • Object
show all
Defined in:
lib/omniauth/strategies/sina.rb

Instance Attribute Summary

Attributes inherited from Auth

#access_token

Instance Method Summary collapse

Methods inherited from Auth

#callback_phase, #consumer, #request_phase

Instance Method Details

#raw_infoObject



30
31
32
33
34
# File 'lib/omniauth/strategies/sina.rb', line 30

def raw_info
  @raw_info ||= MultiJson.decode(access_token.get('/account/verify_credentials.json').body)
rescue ::Errno::ETIMEDOUT
  raise ::Timeout::Error
end