It's a simple wrapper under http://content.finance.ua/ru/xml/currency-cash
All data provided by http://content.finance.ua/ru/xml/currency-cash
Add this line to your application's Gemfile:
gem 'currency_finance_ua'
And then execute:
$ bundle
Or install it yourself as:
$ gem install currency_finance_ua
$ require 'currency_finance_ua'
Get rate of exchange by current date
rate: 'min' or 'max'
bid_ask: 'bid' or 'ask' spread
return organizations which are satisfied for all options
$ include CurrencyFinanceUA
$ get_rate_of_exchange('EUR', { rate: 'min', bid_ask: 'ask' })
- Fork it ( http://github.com/ruslanpa/currency_finance_ua/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 new Pull Request