Fix ECB url

This commit is contained in:
Hakan Ensari 2018-09-11 18:05:14 +01:00
parent 5789880a59
commit c6a04ae694
2 changed files with 25 additions and 25 deletions

View File

@ -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

View File

@ -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
@ -59,7 +59,7 @@ http_interactions:
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
@ -116,7 +116,7 @@ http_interactions:
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
@ -1114,7 +1114,7 @@ http_interactions:
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
@ -2112,7 +2112,7 @@ http_interactions:
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
@ -48634,7 +48634,7 @@ http_interactions:
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