Simple interface for querying country information by CCA2 two-character country code, per assignment https://bitbucket.org/mikaelhg/interview-countries
- Test: countries_test.rb
- Implementation: countries.rb
- Bundler
- Gems:
bundle install --path vendor/bundle
bundle exec ruby countries_test.rb
bundle exec rackup
Check out the details of Finland at http://localhost:9292/countries/FI
Prerequisites:
- A Heroku account, obviously
- Heroku toolbelt installed and ready to go
Set up a new app on Heroku and deploy:
heroku create
git push heroku master