Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (25 sloc) 0.903 kb

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

Jump to Line
Something went wrong with that request. Please try again.