Sha256: fdf6eec4d8d03d2cbac117c16fe2c1332f354576713dbe52b234c5f19e7bdfba

Contents?: true

Size: 305 Bytes

Versions: 64

Compression:

Stored size: 305 Bytes

Contents

class Product < ActiveRecord::Base
  acts_as_purchasable

  structure do
    price               :integer, :default => 0
    title               :string
    tax_exempt          :boolean

    timestamps
  end

  after_purchase do |order, order_item|
  end

  after_decline do |order, order_item|
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
effective_orders-1.8.1 spec/dummy/app/models/product.rb
effective_orders-1.8.0 spec/dummy/app/models/product.rb
effective_orders-1.7.5 spec/dummy/app/models/product.rb
effective_orders-1.7.4 spec/dummy/app/models/product.rb
effective_orders-1.7.3 spec/dummy/app/models/product.rb
effective_orders-1.7.2 spec/dummy/app/models/product.rb
effective_orders-1.7.1 spec/dummy/app/models/product.rb
effective_orders-1.7.0 spec/dummy/app/models/product.rb
effective_orders-1.6.6 spec/dummy/app/models/product.rb
effective_orders-1.6.5 spec/dummy/app/models/product.rb
effective_orders-1.6.4 spec/dummy/app/models/product.rb
effective_orders-1.6.3 spec/dummy/app/models/product.rb
effective_orders-1.6.1 spec/dummy/app/models/product.rb
effective_orders-1.6.0 spec/dummy/app/models/product.rb
effective_orders-1.5.9 spec/dummy/app/models/product.rb
effective_orders-1.5.8 spec/dummy/app/models/product.rb
effective_orders-1.5.7 spec/dummy/app/models/product.rb
effective_orders-1.5.5 spec/dummy/app/models/product.rb
effective_orders-1.5.4 spec/dummy/app/models/product.rb
effective_orders-1.5.3 spec/dummy/app/models/product.rb