Skip to content

Aarmel/flower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data

Contains the orders
data/bundle_orders

Product data, is hardcoded into the main script

Usage

ruby bin/flower_power.rb

specs

Run from the main directory
rspec

Notes

No validation of inputs
No parser for reading in product data
Will not handle invalid bundle combination
Does not throw any exceptions at the moment

Objects

  • ProductInterface
  • Flower < ProductInterface
  • SaleCatalogue
  • ProductBundles (module)
  • BundlePrice
  • BundleOrder
  • BundleBreakdown

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages