module SimpleParams::StrictParams::ClassMethods

Attributes

strict_enforcement[RW]

Public Instance Methods

allow_undefined_params() click to toggle source
# File lib/simple_params/concerns/strict_params.rb, line 63
def allow_undefined_params
  @strict_enforcement = false
end
strict() click to toggle source
# File lib/simple_params/concerns/strict_params.rb, line 59
def strict
  @strict_enforcement = true
end