JsonratesClient
Client for jsonrates.com written in Ruby.
Usage
Jsonrates::Client.historical(from: "USD", to: "BRL", date: "2014-06-23")
# {"2014-06-23"=>{"utctime"=>"2014-06-23T23:50:03+02:00", "rate"=>"2.22120000"}}
Installation
Add this line to your application's Gemfile:
gem 'jsonrates_client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jsonrates_client
Contributing
- Fork it ( https://github.com/roberto/jsonrates_client/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request