Welcome to the Print User Challenge repo. This meets the requirements of the challenge by reading from the files companies.json and users.json and providing a list of active users whose tokens have been topped up, groupeb by companies, then email status, and ordered by last name. After running the script, the output file can be found in the /lib folder. Tests are also available to run.
- You will need to install dependencies with the gem
bundler. If you do have it already, then skip this step, otherwise run the following command.
gem install bundler
- Then run the below command to install dependencies.
bundle install
-
Simply run
rakefor the challenge script to run. You will find the output file in the/libfolder. -
You can also run tests. Simply run
rake testand observe the results of the tests in the console.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Challenge project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.