Sha256: 83e067aaeeafd2bcf4b02ecb70335b6c672461dd1777e9067f7bba279be25ae4

Contents?: true

Size: 213 Bytes

Versions: 20

Compression:

Stored size: 213 Bytes

Contents

class CreditcardTxn < ActiveRecord::Base
  belongs_to :creditcard_payment
  validates_numericality_of :amount
  
  enumerable_constant :txn_type, :constants => [:authorize, :capture, :purchase, :void, :credit]
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 app/models/creditcard_txn.rb
spree-enriquez-0.9.4 app/models/creditcard_txn.rb
spree-0.9.4 app/models/creditcard_txn.rb
spree-0.9.3 app/models/creditcard_txn.rb
spree-0.9.2 app/models/creditcard_txn.rb
spree-0.9.1 app/models/creditcard_txn.rb
spree-0.9.0 app/models/creditcard_txn.rb
spree-0.8.4 app/models/creditcard_txn.rb
spree-0.8.5 app/models/creditcard_txn.rb
spree-0.4.1 app/models/creditcard_txn.rb
spree-0.4.0 app/models/creditcard_txn.rb
spree-0.5.0 app/models/creditcard_txn.rb
spree-0.6.0 app/models/creditcard_txn.rb
spree-0.5.1 app/models/creditcard_txn.rb
spree-0.7.1 app/models/creditcard_txn.rb
spree-0.7.0 app/models/creditcard_txn.rb
spree-0.8.0 app/models/creditcard_txn.rb
spree-0.8.1 app/models/creditcard_txn.rb
spree-0.8.2 app/models/creditcard_txn.rb
spree-0.8.3 app/models/creditcard_txn.rb