- Ruby 2.x
- gem 'rspec'
- gem 'rake'
gem install bundler
bundle install
provide the arguments as credit_line.json and invoices.json , order matters. Example as follows:
./cli.rb data/credit_line.json data/invoices.json
or, simple run as ruby file
ruby cli.rb data/credit_line.json data/invoices.json
rspec spec
- RSpec 3.7
- Stella Miranda - August 6th, 2018