Sha256: 9ce94d6800acff9364bcf05ddf3061bd327af6df79e6c7e45357149c8b636eca

Contents?: true

Size: 215 Bytes

Versions: 44

Compression:

Stored size: 215 Bytes

Contents

class ZonePrice < ActiveRecord::Base
	
  belongs_to :zone
  belongs_to :variant

  validates_presence_of :price
  validates_numericality_of :price
  validates_presence_of :variant
  validates_presence_of :zone

end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
spree_zone_pricing-0.1.5 app/models/zone_price.rb
spree_zone_pricing-0.1.4 app/models/zone_price.rb
spree_zone_pricing-0.1.3 app/models/zone_price.rb
spree_zone_pricing-0.1.2 app/models/zone_price.rb