class OmniAuth::Strategies::Startuphubs
Constants
- DEFAULT_SCOPE
Public Instance Methods
raw_info()
click to toggle source
# File lib/omniauth/strategies/startuphubs.rb, line 56 def raw_info unless skip_info? @raw_info ||= access_token.get('/api/v1/me.json').parsed else {} end end
request_phase()
click to toggle source
Calls superclass method
# File lib/omniauth/strategies/startuphubs.rb, line 21 def request_phase super end
Private Instance Methods
prune!(hash)
click to toggle source
# File lib/omniauth/strategies/startuphubs.rb, line 81 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