Exception: RailsParam::Param::InvalidParameterError
- Inherits:
-
StandardError
- Object
- StandardError
- RailsParam::Param::InvalidParameterError
- Defined in:
- lib/rails_param/param.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#param ⇒ Object
Returns the value of attribute param.
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
7 8 9 |
# File 'lib/rails_param/param.rb', line 7 def @options end |
#param ⇒ Object
Returns the value of attribute param.
7 8 9 |
# File 'lib/rails_param/param.rb', line 7 def param @param end |
Instance Method Details
#message ⇒ Object
9 10 11 12 |
# File 'lib/rails_param/param.rb', line 9 def return [:message] if .is_a?(Hash) && .key?(:message) super end |