Class: CASino::Authenticator

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

Direct Known Subclasses

StaticAuthenticator

Defined Under Namespace

Classes: AuthenticatorError

Instance Method Summary collapse

Instance Method Details

#validate(username, password) ⇒ Object

Raises:

  • (NotImplementedError)


5
6
7
# File 'lib/casino/authenticator.rb', line 5

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