Class: CASinoCore::Authenticator

Inherits:
Object
  • Object
show all
Defined in:
lib/casino_core/authenticator.rb

Direct Known Subclasses

Static

Defined Under Namespace

Classes: AuthenticatorError, Static

Instance Method Summary collapse

Instance Method Details

#validate(username, password) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/casino_core/authenticator.rb', line 7

def validate(username, password)
  raise NotImplementedError, "This method must be implemented by a class extending #{self.class}"
end