class OmniAuth::Strategies::Rezli
Public Instance Methods
callback_url()
click to toggle source
# File lib/omniauth/strategies/rezli.rb, line 32 def callback_url full_host + script_name + callback_path end
raw_info()
click to toggle source
# File lib/omniauth/strategies/rezli.rb, line 28 def raw_info @raw_info ||= access_token.get('/profile/me.json').parsed end
Private Instance Methods
prune!(hash)
click to toggle source
# File lib/omniauth/strategies/rezli.rb, line 38 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