class OmniAuth::Strategies::Seesaw

Public Instance Methods

authorize_params() click to toggle source
Calls superclass method
# File lib/omniauth/strategies/seesaw.rb, line 32
def authorize_params
  super.tap do |params|
    # Read the params if passed directly to omniauth_authorize_path
    %w(invitation_slug).each do |k|
      params[k.to_sym] = request.params[k] unless [nil, ''].include?(request.params[k])
    end
  end
end
raw_info() click to toggle source
# File lib/omniauth/strategies/seesaw.rb, line 28
def raw_info
  @raw_info ||= access_token.get('/v1/me').parsed
end