Exception: MediaTypes::Serialization::ViewsNotAnArrayError

Inherits:
ConfigurationError show all
Defined in:
lib/media_types/serialization/error.rb

Instance Method Summary collapse

Constructor Details

#initializeViewsNotAnArrayError

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