Sha256: f15efae473f615319d03a442b504c9808623afc62d159c862c1751626d3c0b7e
Contents?: true
Size: 555 Bytes
Versions: 9
Compression:
Stored size: 555 Bytes
Contents
module KktShoppe # 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