Exception: Blueprinter::Errors::InvalidRoot Private

Inherits:
BlueprinterError show all
Defined in:
lib/blueprinter/errors/invalid_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 = 'root key must be a Symbol or a String') ⇒ InvalidRoot

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 InvalidRoot.



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

def initialize(message = 'root key must be a Symbol or a String')
  super
end