Exception: Shaf::Authenticator::Base::InvalidParameterError

Inherits:
Error
  • Object
show all
Defined in:
lib/shaf/authenticator/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(authenticator, *args) ⇒ InvalidParameterError

Returns a new instance of InvalidParameterError.



15
16
17
18
# File 'lib/shaf/authenticator/base.rb', line 15

def initialize(authenticator, *args)
  str = args.map { |key, value| "#{key}: #{value}" }.join(', ')
  super("Invalid parameters for #{authenticator}: #{str}")
end