Class: OmniAuth::Strategies::HelloSign

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

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



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

def raw_info
  raw_info = access_token.get('/v3/account')

  data = raw_info.read_body
  data = (data ? JSON.parse(data) : {} )
  data['account'] || {}
end