From 6338f5df9daabb85f2f9a512b82178a2320bc62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20=C3=96zg=C3=BCr=20=C3=96ZKAN?= Date: Sat, 2 Mar 2013 19:56:57 +0200 Subject: [PATCH] typo fixed. --- lib/money/bank/tcmb_currency.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/money/bank/tcmb_currency.rb b/lib/money/bank/tcmb_currency.rb index e94e936..c2ecf2d 100644 --- a/lib/money/bank/tcmb_currency.rb +++ b/lib/money/bank/tcmb_currency.rb @@ -19,14 +19,12 @@ class TcmbCurrency < Money::Bank::VariableExchange attr_reader :rates - def flush_rates @mutex.synchronize{ @rates = {} } end - def flush_rate(from, to, date) key = rate_key_for(from, to) @mutex.synchronize{ @@ -66,7 +64,6 @@ def get_rate(from, to, date) private - def fetch_rate(from, to, date) from, to = Currency.wrap(from), Currency.wrap(to) @@ -76,7 +73,6 @@ def fetch_rate(from, to, date) return data['amount'] end - def build_uri(from, to, date) @@ -86,7 +82,6 @@ def build_uri(from, to, date) :query => "cash=1&from=#{from.iso_code}&to=#{to.iso_code}&date=#{date}" ) end - def fix_response_json_data(data) data.gsub!(/from:/, '"from":') @@ -104,5 +99,3 @@ def rate_key_for(from, to, date) end end end - -