A simple checkout system to calculate total and apply current promotions.
Clone this git repository
Go in the root folder
Install all gems:
$ bundle install
execute:
$ gem build checkout.gemspec
$ gem install checkout
Add this line to your application's Gemfile:
gem 'checkout'
And then execute:
$ bundle
This is gem is proof of concept. Functional specs should be able explain what this gem does. They
are found at spec/functional_spec.rb.
- Fork it ( http://github.com/hallx/checkout/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request