Class: OmniAuth::Strategies::Zaim

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



35
36
37
38
39
# File 'lib/omniauth/strategies/zaim.rb', line 35

def raw_info
  @raw_info ||= MultiJson.load(access_token.get('https://api.zaim.net/v1/user/verify_credentials.json').body)["user"]
rescue ::Errno::ETIMEDOUT
  raise ::Timeout::Error
end