Exception: MediaTypes::Serialization::AddedEmptyInputSerializer

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ AddedEmptyInputSerializer

Returns a new instance of AddedEmptyInputSerializer.



188
189
190
# File 'lib/media_types/serialization/error.rb', line 188

def initialize(name)
  super("A serializer with name '#{name}' was just added to the controller but it contained no input definitions. Usually this is due to using the wrong view parameter when adding it.")
end