Class: Cuprum::Rails::Constraints::ParametersContract
- Inherits:
-
Stannum::Contracts::IndifferentHashContract
- Object
- Stannum::Contracts::IndifferentHashContract
- Cuprum::Rails::Constraints::ParametersContract
- Defined in:
- lib/cuprum/rails/constraints/parameters_contract.rb
Overview
Contract for validating request parameters.
Instance Method Summary collapse
-
#initialize(**options) ⇒ ParametersContract
constructor
A new instance of ParametersContract.
Constructor Details
#initialize(**options) ⇒ ParametersContract
Returns a new instance of ParametersContract.
10 11 12 |
# File 'lib/cuprum/rails/constraints/parameters_contract.rb', line 10 def initialize(**) super(allow_extra_keys: true, **) end |