mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
Fix ECB url
This commit is contained in:
parent
5789880a59
commit
c6a04ae694
@ -47,7 +47,7 @@ module Bank
|
||||
end
|
||||
|
||||
def url
|
||||
URI("http://www.ecb.europa.eu/stats/eurofxref/eurofxref-#{@scope}.xml")
|
||||
URI("https://www.ecb.europa.eu/stats/eurofxref/eurofxref-#{@scope}.xml")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -2,7 +2,7 @@
|
||||
http_interactions:
|
||||
- request:
|
||||
method: get
|
||||
uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
|
||||
uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ''
|
||||
@ -34,8 +34,8 @@ http_interactions:
|
||||
- BIGipServerPOOL.www.ecb.europa.eu_HTTP=1376260780.16415.0000; path=/
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gesmes:Envelope xmlns:gesmes=\"http://www.gesmes.org/xml/2002-08-01\"
|
||||
xmlns=\"http://www.ecb.int/vocabulary/2002-08-01/eurofxref\">\n\t<gesmes:subject>Reference
|
||||
string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gesmes:Envelope xmlns:gesmes=\"https://www.gesmes.org/xml/2002-08-01\"
|
||||
xmlns=\"https://www.ecb.int/vocabulary/2002-08-01/eurofxref\">\n\t<gesmes:subject>Reference
|
||||
rates</gesmes:subject>\n\t<gesmes:Sender>\n\t\t<gesmes:name>European Central
|
||||
Bank</gesmes:name>\n\t</gesmes:Sender>\n\t<Cube>\n\t\t<Cube time='2012-11-19'>\n\t\t\t<Cube
|
||||
currency='USD' rate='1.2762'/>\n\t\t\t<Cube currency='JPY' rate='103.60'/>\n\t\t\t<Cube
|
||||
@ -55,11 +55,11 @@ http_interactions:
|
||||
currency='NZD' rate='1.5621'/>\n\t\t\t<Cube currency='PHP' rate='52.489'/>\n\t\t\t<Cube
|
||||
currency='SGD' rate='1.5632'/>\n\t\t\t<Cube currency='THB' rate='39.205'/>\n\t\t\t<Cube
|
||||
currency='ZAR' rate='11.2874'/>\n\t\t</Cube>\n\t</Cube>\n</gesmes:Envelope>"
|
||||
http_version:
|
||||
http_version:
|
||||
recorded_at: Tue, 20 Nov 2012 13:04:39 GMT
|
||||
- request:
|
||||
method: get
|
||||
uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
|
||||
uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ''
|
||||
@ -91,8 +91,8 @@ http_interactions:
|
||||
- BIGipServerPOOL.www.ecb.europa.eu_HTTP=1342706348.16415.0000; path=/
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gesmes:Envelope xmlns:gesmes=\"http://www.gesmes.org/xml/2002-08-01\"
|
||||
xmlns=\"http://www.ecb.int/vocabulary/2002-08-01/eurofxref\">\n\t<gesmes:subject>Reference
|
||||
string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gesmes:Envelope xmlns:gesmes=\"https://www.gesmes.org/xml/2002-08-01\"
|
||||
xmlns=\"https://www.ecb.int/vocabulary/2002-08-01/eurofxref\">\n\t<gesmes:subject>Reference
|
||||
rates</gesmes:subject>\n\t<gesmes:Sender>\n\t\t<gesmes:name>European Central
|
||||
Bank</gesmes:name>\n\t</gesmes:Sender>\n\t<Cube>\n\t\t<Cube time='2012-11-19'>\n\t\t\t<Cube
|
||||
currency='USD' rate='1.2762'/>\n\t\t\t<Cube currency='JPY' rate='103.60'/>\n\t\t\t<Cube
|
||||
@ -112,11 +112,11 @@ http_interactions:
|
||||
currency='NZD' rate='1.5621'/>\n\t\t\t<Cube currency='PHP' rate='52.489'/>\n\t\t\t<Cube
|
||||
currency='SGD' rate='1.5632'/>\n\t\t\t<Cube currency='THB' rate='39.205'/>\n\t\t\t<Cube
|
||||
currency='ZAR' rate='11.2874'/>\n\t\t</Cube>\n\t</Cube>\n</gesmes:Envelope>"
|
||||
http_version:
|
||||
http_version:
|
||||
recorded_at: Tue, 20 Nov 2012 13:04:39 GMT
|
||||
- request:
|
||||
method: get
|
||||
uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml
|
||||
uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ''
|
||||
@ -148,8 +148,8 @@ http_interactions:
|
||||
- BIGipServerPOOL.www.ecb.europa.eu_HTTP=1359483564.16415.0000; path=/
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ! '<?xml version="1.0" encoding="UTF-8"?><gesmes:Envelope xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01"
|
||||
xmlns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref"><gesmes:subject>Reference
|
||||
string: ! '<?xml version="1.0" encoding="UTF-8"?><gesmes:Envelope xmlns:gesmes="https://www.gesmes.org/xml/2002-08-01"
|
||||
xmlns="https://www.ecb.int/vocabulary/2002-08-01/eurofxref"><gesmes:subject>Reference
|
||||
rates</gesmes:subject><gesmes:Sender><gesmes:name>European Central Bank</gesmes:name></gesmes:Sender><Cube><Cube
|
||||
time="2012-11-19"><Cube currency="USD" rate="1.2762"/><Cube currency="JPY"
|
||||
rate="103.6"/><Cube currency="BGN" rate="1.9558"/><Cube currency="CZK" rate="25.418"/><Cube
|
||||
@ -1110,11 +1110,11 @@ http_interactions:
|
||||
rate="16.422"/><Cube currency="MYR" rate="3.8852"/><Cube currency="NZD" rate="1.5387"/><Cube
|
||||
currency="PHP" rate="52.692"/><Cube currency="SGD" rate="1.5582"/><Cube currency="THB"
|
||||
rate="39.062"/><Cube currency="ZAR" rate="10.3525"/></Cube></Cube></gesmes:Envelope>'
|
||||
http_version:
|
||||
http_version:
|
||||
recorded_at: Tue, 20 Nov 2012 13:06:23 GMT
|
||||
- request:
|
||||
method: get
|
||||
uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml
|
||||
uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ''
|
||||
@ -1146,8 +1146,8 @@ http_interactions:
|
||||
- BIGipServerPOOL.www.ecb.europa.eu_HTTP=1342706348.16415.0000; path=/
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ! '<?xml version="1.0" encoding="UTF-8"?><gesmes:Envelope xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01"
|
||||
xmlns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref"><gesmes:subject>Reference
|
||||
string: ! '<?xml version="1.0" encoding="UTF-8"?><gesmes:Envelope xmlns:gesmes="https://www.gesmes.org/xml/2002-08-01"
|
||||
xmlns="https://www.ecb.int/vocabulary/2002-08-01/eurofxref"><gesmes:subject>Reference
|
||||
rates</gesmes:subject><gesmes:Sender><gesmes:name>European Central Bank</gesmes:name></gesmes:Sender><Cube><Cube
|
||||
time="2012-11-19"><Cube currency="USD" rate="1.2762"/><Cube currency="JPY"
|
||||
rate="103.6"/><Cube currency="BGN" rate="1.9558"/><Cube currency="CZK" rate="25.418"/><Cube
|
||||
@ -2108,11 +2108,11 @@ http_interactions:
|
||||
rate="16.422"/><Cube currency="MYR" rate="3.8852"/><Cube currency="NZD" rate="1.5387"/><Cube
|
||||
currency="PHP" rate="52.692"/><Cube currency="SGD" rate="1.5582"/><Cube currency="THB"
|
||||
rate="39.062"/><Cube currency="ZAR" rate="10.3525"/></Cube></Cube></gesmes:Envelope>'
|
||||
http_version:
|
||||
http_version:
|
||||
recorded_at: Tue, 20 Nov 2012 13:06:23 GMT
|
||||
- request:
|
||||
method: get
|
||||
uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml
|
||||
uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ''
|
||||
@ -2144,8 +2144,8 @@ http_interactions:
|
||||
- BIGipServerPOOL.www.ecb.europa.eu_HTTP=1359483564.16415.0000; path=/
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: <?xml version="1.0" encoding="UTF-8"?><gesmes:Envelope xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01"
|
||||
xmlns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref"><gesmes:subject>Reference
|
||||
string: <?xml version="1.0" encoding="UTF-8"?><gesmes:Envelope xmlns:gesmes="https://www.gesmes.org/xml/2002-08-01"
|
||||
xmlns="https://www.ecb.int/vocabulary/2002-08-01/eurofxref"><gesmes:subject>Reference
|
||||
rates</gesmes:subject><gesmes:Sender><gesmes:name>European Central Bank</gesmes:name></gesmes:Sender><Cube><Cube
|
||||
time="2012-11-19"><Cube currency="USD" rate="1.2762"/><Cube currency="JPY"
|
||||
rate="103.6"/><Cube currency="BGN" rate="1.9558"/><Cube currency="CZK" rate="25.418"/><Cube
|
||||
@ -48630,11 +48630,11 @@ http_interactions:
|
||||
rate="1.91"/><Cube currency="CAD" rate="1.8004"/><Cube currency="HKD" rate="9.1332"/><Cube
|
||||
currency="KRW" rate="1398.59"/><Cube currency="NZD" rate="2.2229"/><Cube currency="SGD"
|
||||
rate="1.9554"/><Cube currency="ZAR" rate="6.9358"/></Cube></Cube></gesmes:Envelope>
|
||||
http_version:
|
||||
http_version:
|
||||
recorded_at: Tue, 20 Nov 2012 13:06:28 GMT
|
||||
- request:
|
||||
method: get
|
||||
uri: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml
|
||||
uri: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.xml
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: ''
|
||||
@ -48666,8 +48666,8 @@ http_interactions:
|
||||
- BIGipServerPOOL.www.ecb.europa.eu_HTTP=1359483564.16415.0000; path=/
|
||||
body:
|
||||
encoding: US-ASCII
|
||||
string: <?xml version="1.0" encoding="UTF-8"?><gesmes:Envelope xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01"
|
||||
xmlns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref"><gesmes:subject>Reference
|
||||
string: <?xml version="1.0" encoding="UTF-8"?><gesmes:Envelope xmlns:gesmes="https://www.gesmes.org/xml/2002-08-01"
|
||||
xmlns="https://www.ecb.int/vocabulary/2002-08-01/eurofxref"><gesmes:subject>Reference
|
||||
rates</gesmes:subject><gesmes:Sender><gesmes:name>European Central Bank</gesmes:name></gesmes:Sender><Cube><Cube
|
||||
time="2012-11-19"><Cube currency="USD" rate="1.2762"/><Cube currency="JPY"
|
||||
rate="103.6"/><Cube currency="BGN" rate="1.9558"/><Cube currency="CZK" rate="25.418"/><Cube
|
||||
@ -95152,6 +95152,6 @@ http_interactions:
|
||||
rate="1.91"/><Cube currency="CAD" rate="1.8004"/><Cube currency="HKD" rate="9.1332"/><Cube
|
||||
currency="KRW" rate="1398.59"/><Cube currency="NZD" rate="2.2229"/><Cube currency="SGD"
|
||||
rate="1.9554"/><Cube currency="ZAR" rate="6.9358"/></Cube></Cube></gesmes:Envelope>
|
||||
http_version:
|
||||
http_version:
|
||||
recorded_at: Tue, 20 Nov 2012 13:06:34 GMT
|
||||
recorded_with: VCR 2.2.4
|
||||
|
Loading…
Reference in New Issue
Block a user