Exception: Blueprinter::Errors::MetaRequiresRoot Private

Inherits:
BlueprinterError show all
Defined in:
lib/blueprinter/errors/meta_requires_root.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(message = 'adding metadata requires that a root key is set') ⇒ MetaRequiresRoot

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of MetaRequiresRoot.



8
9
10
# File 'lib/blueprinter/errors/meta_requires_root.rb', line 8

def initialize(message = 'adding metadata requires that a root key is set')
  super
end