module SimpleMarketplace::Offerable
Public Instance Methods
call(items, total)
click to toggle source
Every new offer/promotion will have to implement this method in order to execute its promotional rules.
# File lib/simple_marketplace/offerable.rb, line 5 def call(items, total) raise "Must implement" end