katafrakt/hanami-shrine

View on GitHub
lib/shrine/plugins/hanami.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method initialize has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def initialize(name, attacher_class)
          class_eval <<-RUBY, __FILE__, __LINE__ + 1
            def self.prepended(base)
              base.send(:include, ::Hanami::Utils::ClassAttribute)
              base.send(:class_attribute, :_attachments)
Severity: Major
Found in lib/shrine/plugins/hanami.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status