Exception: MediaTypes::Serialization::VersionsNotAnArrayError

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

Instance Method Summary collapse

Constructor Details

#initializeVersionsNotAnArrayError

Returns a new instance of VersionsNotAnArrayError.



124
125
126
# File 'lib/media_types/serialization/error.rb', line 124

def initialize
  super('Tried to create an input or output with a versions: parameter that is set to something that is not an array. Please use the version: parameter or conver the current value to an array.')
end