drhenner/ror_ecommerce

View on GitHub
app/models/invoice.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class Invoice has 24 methods (exceeds 20 allowed). Consider refactoring.
Open

class Invoice < ApplicationRecord
  include AASM

  has_many :payments
  has_many :batches, as: :batchable#, :polymorphic => true
Severity: Minor
Found in app/models/invoice.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status