This is the FlowerShop! Have a Merry Christmas :) @yannis_kolovos

General use

Include the library and create and instance

require 'lib/flower_shop'
shop =  FlowerShop.new(5, :L09)
    shop.find_bundles_and_display_results!

it will return the results in a text format! The constructor accepts 2 arguments the quantity and the :product

Generating a new product

product_data = { name: "Christmas Roses", bundles:  [{quantity: 1, price: 6.99},{quantity: 10, price: 12.99}]} 
shop = FlowerShop.new(9, :christmas_roses, product_data)

Run it from the terminal

 ./console.sh

 shop =  FlowerShop.new(5, :L09)
 shop.find_bundles_and_display_results!

If you dont like the display in text render a hash

 shop =  FlowerShop.new(5, :L09)
     shop.find_bundles!
     shop.report_as_hash!

Run tests

From the room of the folder run

rspec  

Rdoc

I generate also an Rdoc for a better documentation Please see in

rdoc/FlowerShop.html