Class: OmniAuth::Strategies::ZendeskSell

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



31
32
33
# File 'lib/omniauth/strategies/zendesk_sell.rb', line 31

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



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

def raw_info
  @raw_info ||= access_token.get('/v2/accounts/self').parsed['data']
end