Skip to content

Commit

Permalink
Merge pull request RubyMoney#14 from baxnick/master
Browse files Browse the repository at this point in the history
Added ILS currency to list
  • Loading branch information
liangzan committed Feb 5, 2013
2 parents 9c663a8 + 3f8ac51 commit fbce4ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions 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 JPY BGN CZK DKK GBP HUF ILS 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
1 change: 1 addition & 0 deletions spec/exchange_rates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<Cube currency='HKD' rate='10.4688'/>
<Cube currency='IDR' rate='12141.23'/>
<Cube currency='INR' rate='60.0060'/>
<Cube currency='ILS' rate='5.0492'/>
<Cube currency='KRW' rate='1507.69'/>
<Cube currency='MXN' rate='16.4647'/>
<Cube currency='MYR' rate='4.3209'/>
Expand Down
1 change: 1 addition & 0 deletions spec/exchange_rates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ currencies:
HKD: 10.4688
IDR: 12141.23
INR: 60.0060
ILS: 5.0492
KRW: 1507.69
MXN: 16.4647
MYR: 4.3209
Expand Down

0 comments on commit fbce4ac

Please sign in to comment.