Exception: Grape::Exceptions::IncompatibleOptionValues
- Defined in:
- lib/grape/exceptions/incompatible_option_values.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(option1, value1, option2, value2) ⇒ IncompatibleOptionValues
constructor
A new instance of IncompatibleOptionValues.
Methods inherited from Base
Constructor Details
#initialize(option1, value1, option2, value2) ⇒ IncompatibleOptionValues
Returns a new instance of IncompatibleOptionValues.
5 6 7 |
# File 'lib/grape/exceptions/incompatible_option_values.rb', line 5 def initialize(option1, value1, option2, value2) super(message: ("incompatible_option_values", option1: option1, value1: value1, option2: option2, value2: value2)) end |