lib/serega/plugins/metadata/meta_attribute.rb in serega-0.1.5 vs lib/serega/plugins/metadata/meta_attribute.rb in serega-0.2.0

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true class Serega - module Plugins + module SeregaPlugins module Metadata # # Stores Attribute data # class MetaAttribute @@ -34,12 +34,12 @@ # def initialize(path:, opts:, block:) check(path, opts, block) @name = path.join(".").to_sym - @path = Utils::EnumDeepDup.call(path) - @opts = Utils::EnumDeepDup.call(opts) + @path = SeregaUtils::EnumDeepDup.call(path) + @opts = SeregaUtils::EnumDeepDup.call(opts) @block = block end # # Finds attribute value @@ -64,10 +64,10 @@ CheckOpts.call(opts, self.class.serializer_class.config[:metadata][:attribute_keys]) CheckBlock.call(block) end end - extend Serega::Helpers::SerializerClassHelper + extend Serega::SeregaHelpers::SerializerClassHelper include InstanceMethods end end end end