Sha256: 6a953aa6489cabbcbf363498591156865eb1e77c87223d01b4afade22b128f14
Contents?: true
Size: 580 Bytes
Versions: 9
Compression:
Stored size: 580 Bytes
Contents
module CabooseStore class Discount < ActiveRecord::Base self.table_name = "store_discounts" attr_accessible :id, :name, # The name of this discount :code, # The code the customer has to input to apply for this discount :amount_flat, # Amount of the savings flat off the total :amount_percentage, # Amount of savings as a percentage off the total :no_shipping, # Whether or not it's a free shipping discount :no_tax # Whether or not it's a free shipping discount end end
Version data entries
9 entries across 9 versions & 1 rubygems