Sha256: 9a7465d8ec4778bfcf12425d32ab9f623a191cec4b468478800fad7206062a2e

Contents?: true

Size: 338 Bytes

Versions: 56

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/letters"

module Renalware
  module Letters
    class BatchItem < ApplicationRecord
      belongs_to :letter
      belongs_to :batch, counter_cache: true
      enum status: { queued: 0, compiled: 10 }

      def self.policy_class
        BasePolicy
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
renalware-core-2.0.127 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.126 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.125 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.124 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.123 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.121 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.120 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.119 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.118 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.117 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.116 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.115 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.113 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.112 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.111 app/models/renalware/letters/batch_item.rb
renalware-core-2.0.110 app/models/renalware/letters/batch_item.rb