Sha256: e4e3f70772c24f16ebca0eb2457e5ba14128a4b87ed3cbea60db5aa41222e142
Contents?: true
Size: 502 Bytes
Versions: 9
Compression:
Stored size: 502 Bytes
Contents
module Tienda # All items which can be ordered should include this module and ensure that all methods # have been overridden. It's a lazy-mans protocol. module OrderableItem # stock_level_adjustments must be an association def full_name end def orderable? end def sku end def price end def cost_price end def tax_rate end def stock_control? end def in_stock? end def stock end def weight end end end
Version data entries
9 entries across 9 versions & 1 rubygems