Sha256: 69e0f2a1940e8d7bfa435f1192fd34fcb0396022875ea04076bb56df9cdac72a
Contents?: true
Size: 641 Bytes
Versions: 43
Compression:
Stored size: 641 Bytes
Contents
module Caboose class Discount < ActiveRecord::Base self.table_name = 'store_discounts' self.primary_key = 'id' attr_accessible :id, :name, # The name of this discount :code, # The code the customer has to input to apply for this discount :amount_current, :amount_total, :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
43 entries across 43 versions & 1 rubygems