currency-convertor gem on github.com
I took a moment to extract some code that’s being used at work for getting exchange rates between 2 currencies into a simple gem called bianster-currency-convertor at github.com.
If you haven’t already added the gem repository at github.com, do take a look at the concise instructions before trying to install the gem.
Sample Usage
>> require ‘currency_convertor’
=> true
>> CurrencyConvertor.lookup(’USD’, ‘SGD’)
=> 1.4165