Skip to content

edlowther/takeaway-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fooderoo

The command-line food delivery app

==================

                            _________
              r==           |       |
           _  //            |  M.A. |   ))))
          |_)//(''''':      |       |
            //  \_____:_____.-------D     )))))
           //   | ===  |   /        \
       .:'//.   \ \=|   \ /  .:'':./    )))))
      :' // ':   \ \ ''..'--:'-.. ':
      '. '' .'    \:.....:--'.-'' .'
       ':..:'                ':..:'

How to use:

  1. Clone this repository, and install dependencies with bundle
  2. Insert your Twilio credentials into the './lib/twilio_private_data_template.rb' file, and rename to './lib/twilio_private_data.rb'
  3. To see menu, open irb and run:
fooderoo = Fooderoo.new
fooderoo.show_menu
  1. To select any number of items from the menu:
fooderoo.select 'Pizza Diavola', 2
  1. Once you are happy with your selection, check the total cost of your order by typing:
puts fooderoo.check_order 20
  1. If the order total is as expected, you will receive a text message confirmation of the expected delivery time.

About

Use the Twilio Gem to order food

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%