The purpose of this gem is show how to build a simple but powerful piece of code that allows you to create a basic REST client. Specifically, this exercise makes use of the public Spain's radio API, publicly available. You can get more info here: https://es.wikibooks.org/wiki/API_Rtve
Using it is easy:
- Clone the repo
- chmod the bin file located in bin/radio3
- Run it!
ruby bin/radio3 p 2
Read the full presentation about how the exercise was built here: http://slides.com/mgmerino/ruby-gems
If you wish to install this gem, add this line to your application's Gemfile:
gem 'radio3'
And then execute:
$ bundle
Or install it yourself as:
$ gem install radio3
The gem is available as open source under the terms of the MIT License.