Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (25 sloc) 903 Bytes

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