Exception: Shaf::Authenticator::Base::InvalidParameterError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Shaf::Authenticator::Base::InvalidParameterError
- Defined in:
- lib/shaf/authenticator/base.rb
Instance Method Summary collapse
-
#initialize(authenticator, *args) ⇒ InvalidParameterError
constructor
A new instance of InvalidParameterError.
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 |