Sha256: a19897a9b84d6bd6f907b1379ea0bf4eb432aaa81dd78f6231cdcb49e33c7292

Contents?: true

Size: 482 Bytes

Versions: 17

Compression:

Stored size: 482 Bytes

Contents

module BloomRemit
  class Txn < ActiveRecord::Base

    belongs_to :sender, polymorphic: true
    belongs_to :owner, polymorphic: true
    has_many :responses, class_name: "BloomRemit::Response", dependent: :destroy

    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

17 entries across 17 versions & 1 rubygems

Version Path
bloom_remit-0.13.0 app/models/bloom_remit/txn.rb
bloom_remit-0.12.1 app/models/bloom_remit/txn.rb
bloom_remit-0.12.0 app/models/bloom_remit/txn.rb
bloom_remit-0.11.0 app/models/bloom_remit/txn.rb
bloom_remit-0.10.0 app/models/bloom_remit/txn.rb
bloom_remit-0.9.0 app/models/bloom_remit/txn.rb
bloom_remit-0.8.0 app/models/bloom_remit/txn.rb
bloom_remit-0.7.0 app/models/bloom_remit/txn.rb
bloom_remit-0.6.1 app/models/bloom_remit/txn.rb
bloom_remit-0.6.0 app/models/bloom_remit/txn.rb
bloom_remit-0.5.0 app/models/bloom_remit/txn.rb
bloom_remit-0.4.1 app/models/bloom_remit/txn.rb
bloom_remit-0.4.0 app/models/bloom_remit/txn.rb
bloom_remit-0.3.0 app/models/bloom_remit/txn.rb
bloom_remit-0.2.1 app/models/bloom_remit/txn.rb
bloom_remit-0.2.0 app/models/bloom_remit/txn.rb
bloom_remit-0.1.0 app/models/bloom_remit/txn.rb