Exception: MediaTypes::Serialization::ArrayInViewParameterError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- MediaTypes::Serialization::ArrayInViewParameterError
- Defined in:
- lib/media_types/serialization/error.rb
Instance Method Summary collapse
-
#initialize(function) ⇒ ArrayInViewParameterError
constructor
A new instance of ArrayInViewParameterError.
Constructor Details
#initialize(function) ⇒ ArrayInViewParameterError
Returns a new instance of ArrayInViewParameterError.
153 154 155 |
# File 'lib/media_types/serialization/error.rb', line 153 def initialize(function) super("Tried to call #{function} with an array in the view: parameter. Please use the views: parameter instead.") end |