class OmniAuth::Strategies::Ing
Public Instance Methods
callback_url()
click to toggle source
# File lib/omniauth/strategies/ing.rb, line 20 def callback_url full_host + script_name + callback_path end
raw_info()
click to toggle source
# File lib/omniauth/strategies/ing.rb, line 24 def raw_info @raw_info ||= access_token.get("/user", info_options).parsed || {} end
Private Instance Methods
prune!(hash)
click to toggle source
# File lib/omniauth/strategies/ing.rb, line 30 def prune!(hash) hash.delete_if do |_, value| prune!(value) if value.is_a?(Hash) value.nil? || (value.respond_to?(:empty?) && value.empty?) end end