Exception: Grape::Exceptions::UnknownParameter
- Defined in:
- lib/grape/exceptions/unknown_parameter.rb
Constant Summary
Constants inherited from Base
Base::BASE_ATTRIBUTES_KEY, Base::BASE_MESSAGES_KEY, Base::FALLBACK_LOCALE
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(param) ⇒ UnknownParameter
constructor
A new instance of UnknownParameter.
Methods inherited from Base
Constructor Details
#initialize(param) ⇒ UnknownParameter
Returns a new instance of UnknownParameter.
6 7 8 |
# File 'lib/grape/exceptions/unknown_parameter.rb', line 6 def initialize(param) super(message: (:unknown_parameter, param: param)) end |