Exception: Upfluence::Mixin::StrongParameters::ParameterMissing
- Inherits:
-
IndexError
- Object
- IndexError
- Upfluence::Mixin::StrongParameters::ParameterMissing
- Defined in:
- lib/upfluence/mixin/strong_parameters.rb
Instance Attribute Summary collapse
-
#param ⇒ Object
readonly
Returns the value of attribute param.
Instance Method Summary collapse
-
#initialize(param) ⇒ ParameterMissing
constructor
A new instance of ParameterMissing.
Constructor Details
#initialize(param) ⇒ ParameterMissing
Returns a new instance of ParameterMissing.
7 8 9 10 |
# File 'lib/upfluence/mixin/strong_parameters.rb', line 7 def initialize(param) @param = param super("param is missing or the value is empty: #{param}") end |
Instance Attribute Details
#param ⇒ Object (readonly)
Returns the value of attribute param.
5 6 7 |
# File 'lib/upfluence/mixin/strong_parameters.rb', line 5 def param @param end |