lib/wcc/contentful/model_singleton_methods.rb in wcc-contentful-1.2.0 vs lib/wcc/contentful/model_singleton_methods.rb in wcc-contentful-1.2.1
- old
+ new
@@ -64,10 +64,10 @@
end
new(result, options) if result
end
- def inherited(subclass)
+ def inherited(subclass) # rubocop:disable Lint/MissingSuper
# If another different class is already registered for this content type,
# don't auto-register this one.
return if model_namespace.registered?(content_type)
model_namespace.register_for_content_type(content_type, klass: subclass)