Class: OmniAuth::Strategies::Ign

Inherits:
Object
  • Object
show all
Includes:
OmniAuth::Strategy
Defined in:
lib/omniauth/strategies/ign.rb

Defined Under Namespace

Classes: CallbackError

Constant Summary collapse

IDENTIFIER_URL_PARAMETER =
""

Instance Method Summary collapse

Constructor Details

#initialize(app, api_key, hostname = nil, options = {}) ⇒ Ign

Returns a new instance of Ign.



18
19
20
21
22
23
# File 'lib/omniauth/strategies/ign.rb', line 18

def initialize(app, api_key, hostname=nil, options = {})
  options[:name] ||= "ign"
  super(app, :ign)
  @api_key = api_key
  @hostname = hostname
end