Module: WardenOpenidBearer::Registerer::ClassMethods

Defined in:
lib/warden_openid_bearer/registerer.rb

Instance Method Summary collapse

Instance Method Details

#register!(as_symbol = default_registration_symbol) ⇒ Object



20
21
22
23
24
# File 'lib/warden_openid_bearer/registerer.rb', line 20

def register!(as_symbol = default_registration_symbol)
  return @registered_symbol if @registered_symbol
  Warden::Strategies.add(as_symbol, self)
  @registered_symbol = as_symbol
end