Class: OmniAuth::Strategies::FreshAccount

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



34
35
36
# File 'lib/omniauth/strategies/fresh_account.rb', line 34

def callback_url
  full_host + script_name + callback_path
end

#raw_infoObject



29
30
31
# File 'lib/omniauth/strategies/fresh_account.rb', line 29

def raw_info
  @raw_info ||= access_token.get('/api/v1/me.json').parsed
end