A gem that calculates the exchange rate using published rates from open-exchange-rates. Compatible with the money gem.
Pull request Compare This branch is 163 commits behind spk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/money/bank
test
.gitignore
Gemfile
LICENSE
README.markdown
money-open-exchange-rates.gemspec

README.markdown

Money Open Exchange Rates

A gem that calculates the exchange rate using published rates from open-exchange-rates

Usage

require 'money/bank/open_exchange_rates_bank'
moe = Money::Bank::OpenExchangeRatesBank.new
moe.cache = 'path/to/file/cache'
moe.update_rates

Money.default_bank = moe

Tests

bundle exec ruby test/open_exchange_rates_bank_test.rb

Refs

Contributors

License

The MIT License

Copyright © 2012 Laurent Arnoud laurent@spkdev.net