CurrencyRates
Very simple class for getting up to date currency rates in an array. You pass a base currency which the rates will be converted into. Connects to the european bank
to get a daily breakdown of the rates.
This is deliberated lightweight to allow you to build on top of this.
Example
parser = CurrencyRates::Parser.new('GBP')
puts parser.engage.inspect
Valid values for the initialize call are:
"USD"
"JPY"
"BGN"
"CZK"
"DKK"
"EEK"
"GBP"
"HUF"
"LTL"
"LVL"
"PLN"
"RON"
"SEK"
"CHF"
"NOK"
"HRK"
"RUB"
"TRY"
"AUD"
"BRL"
"CAD"
"CNY"
"HKD"
"IDR"
"INR"
"KRW"
"MXN"
"MYR"
"NZD"
"PHP"
"SGD"
"THB"
"ZAR"
"EUR"
Copyright (c) 2011 Alastair Brunton, released under the MIT license