Sha256: 43be9182a6f4f747b4a4573aaa21a6cf64e986f8fc7dbd59d5221c13f29565e5

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

module BloomRemit
  class Txn < ActiveRecord::Base

    belongs_to :recipient, polymorphic: true
    belongs_to :sender, polymorphic: true

    enum status: {
      bank_error: -2,
      incomplete: 0,
      paid: 1,
      completed: 3,
      rejected: 4,
      refunded: 5,
      cancelled: 6,
      error: 7,
      delayed: 8,
      waiting: 9,
      unpaid: 10,
      outstanding: 11,
    }

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bloom_remit-0.0.1 app/models/bloom_remit/txn.rb