Ensure the Virtus Gem is installed (https://github.com/solnic/virtus)
$ gem install virtus
Print Receipt (Input: CSV file, Output: STDOUT)
$ ./register.rb test_input.csv
Run Specs
$ rspec
- Virtus used to add ActiveModel like functionality to POROs. (Initialization from hash, Type coercion)
- Due to time constraints, spec coverage is limited - Please see http://robj.github.io for a better example of TDD