Skip to content

crnnbrg/Parcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parcel

Ruby program used to determine parcel shipping costs depending on volume.

by: Lewis Nyoike & Edward Mudaida

Example

  • Input: my_parcel = Parcel.new('20', '20', '20', '100')
  • Output: Volume of parcel: 8000 Cost to ship parcel: KES. 1500

Technologies used

Ruby Sinatra RSpec Bundler

Setup

  1. Clone the repo: $ git clone [URL]

  2. Install dependencies: $ bundle

  3. Run the app: $ ruby app.rb

  4. Navigate to http://localhost:4567/

Use $ rspec to run tests

LICENSE

MIT LICENSE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published