Skip to content

Commit

Permalink
Merge pull request RubyMoney#11 from Holek/patch-1
Browse files Browse the repository at this point in the history
include EUR in CURRENCIES table
  • Loading branch information
liangzan committed Oct 22, 2012
2 parents 677203a + 8c8d501 commit bb60a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/eu_central_bank.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class EuCentralBank < Money::Bank::VariableExchange
attr_accessor :last_updated

ECB_RATES_URL = 'http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml'
CURRENCIES = %w(USD JPY BGN CZK DKK 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)
CURRENCIES = %w(USD EUR JPY BGN CZK DKK 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)

def update_rates(cache=nil)
update_parsed_rates(exchange_rates(cache))
Expand Down

0 comments on commit bb60a97

Please sign in to comment.