Class: OmniAuth::Strategies::Whoplusyou

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



28
29
30
# File 'lib/omniauth/strategies/whoplusyou.rb', line 28

def callback_url
  options[:redirect_uri] || (full_host + callback_path)
end

#raw_infoObject



32
33
34
# File 'lib/omniauth/strategies/whoplusyou.rb', line 32

def raw_info
  @raw_info ||= access_token.get("/api/v2/get-basic-user-info").parsed
end