Module: Hola
- Defined in:
- lib/hola/app.rb,
lib/hola.rb,
lib/hola/cart.rb,
lib/hola/offer.rb,
lib/hola/errors.rb,
lib/hola/product.rb,
lib/hola/cart/item.rb,
lib/hola/utils/money.rb,
lib/hola/cart/renderer.rb,
lib/hola/offer/no_offer.rb,
lib/hola/product/selector.rb,
lib/hola/product/inventory.rb,
lib/hola/offer/get_one_free.rb,
lib/hola/cart/item/processor.rb,
lib/hola/offer/strawberry_bulk_discount.rb,
lib/hola/offer/two_thirds_bulk_discount.rb
Overview
The item processor is responsible for processing the item before it’s added to a cart. It applies the product’s offer and responds with a cart item value object.
Defined Under Namespace
Modules: Utils Classes: App, CLI, Cart, Error, Offer, Product