Module: SimpleParams::StrictParams::ClassMethods
- Defined in:
- lib/simple_params/concerns/strict_params.rb
Instance Attribute Summary collapse
-
#strict_enforcement ⇒ Object
Returns the value of attribute strict_enforcement.
Instance Method Summary collapse
Instance Attribute Details
#strict_enforcement ⇒ Object
Returns the value of attribute strict_enforcement.
57 58 59 |
# File 'lib/simple_params/concerns/strict_params.rb', line 57 def strict_enforcement @strict_enforcement end |
Instance Method Details
#allow_undefined_params ⇒ Object
63 64 65 |
# File 'lib/simple_params/concerns/strict_params.rb', line 63 def allow_undefined_params @strict_enforcement = false end |
#strict ⇒ Object
59 60 61 |
# File 'lib/simple_params/concerns/strict_params.rb', line 59 def strict @strict_enforcement = true end |