Sha256: 2d95d494dfda3bf79d9d9ed93311b2a7862afab098bd70d61cdcb1b88a45b456

Contents?: true

Size: 321 Bytes

Versions: 64

Compression:

Stored size: 321 Bytes

Contents

class ProductWithFloatPrice < ActiveRecord::Base
  acts_as_purchasable

  structure do
    price               :decimal, :default => 0.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.5.2 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.5.1 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.5.0 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.4.8 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.4.7 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.4.6 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.4.5 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.4.4 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.4.3 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.4.2 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.4.1 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.4.0 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.3.13 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.3.12 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.3.11 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.3.10 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.3.9 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.3.8 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.3.7 spec/dummy/app/models/product_with_float_price.rb
effective_orders-1.3.6 spec/dummy/app/models/product_with_float_price.rb