Exception: MediaTypes::Serialization::ViewsNotAnArrayError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- MediaTypes::Serialization::ViewsNotAnArrayError
- Defined in:
- lib/media_types/serialization/error.rb
Instance Method Summary collapse
-
#initialize ⇒ ViewsNotAnArrayError
constructor
A new instance of ViewsNotAnArrayError.
Constructor Details
#initialize ⇒ ViewsNotAnArrayError
Returns a new instance of ViewsNotAnArrayError.
129 130 131 |
# File 'lib/media_types/serialization/error.rb', line 129 def initialize super('Tried to create an input or output with a views: parameter that is set to something that is not an array. Please use the view: parameter or conver the current value to an array.') end |