diff --git a/lib/blueprinter/errors/invalid_root.rb b/lib/blueprinter/errors/invalid_root.rb index ff2a19e0..572e5c75 100644 --- a/lib/blueprinter/errors/invalid_root.rb +++ b/lib/blueprinter/errors/invalid_root.rb @@ -6,7 +6,7 @@ module Blueprinter module Errors class InvalidRoot < BlueprinterError def initialize(message = 'root key must be a Symbol or a String') - super(message) + super end end end diff --git a/lib/blueprinter/errors/meta_requires_root.rb b/lib/blueprinter/errors/meta_requires_root.rb index aa003085..226bff95 100644 --- a/lib/blueprinter/errors/meta_requires_root.rb +++ b/lib/blueprinter/errors/meta_requires_root.rb @@ -6,7 +6,7 @@ module Blueprinter module Errors class MetaRequiresRoot < BlueprinterError def initialize(message = 'adding metadata requires that a root key is set') - super(message) + super end end end