jb41 / discount-at-checkout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interface

The interface to checkout looks like this:

co = Checkout.new(promotional_rules)
co.scan(item)
co.scan(item)
price = co.total

Specs

rspec

About


Languages

Language:Ruby 100.0%