spec/fixtures/vcr_cassettes/languages.yml in deepl-rb-2.4.0 vs spec/fixtures/vcr_cassettes/languages.yml in deepl-rb-2.5.0
- old
+ new
@@ -1,14 +1,16 @@
---
http_interactions:
- request:
method: get
- uri: https://api-free.deepl.com/v2/languages?auth_key=VALID_TOKEN
+ uri: https://api-free.deepl.com/v2/languages
body:
encoding: US-ASCII
string: ''
headers:
+ Authorization:
+ - DeepL-Auth-Key VALID_TOKEN
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
@@ -34,15 +36,17 @@
encoding: UTF-8
string: '[{"language":"BG","name":"Bulgarian"},{"language":"CS","name":"Czech"},{"language":"DA","name":"Danish"},{"language":"DE","name":"German"},{"language":"EL","name":"Greek"},{"language":"EN","name":"English"},{"language":"ES","name":"Spanish"},{"language":"ET","name":"Estonian"},{"language":"FI","name":"Finnish"},{"language":"FR","name":"French"},{"language":"HU","name":"Hungarian"},{"language":"IT","name":"Italian"},{"language":"JA","name":"Japanese"},{"language":"LT","name":"Lithuanian"},{"language":"LV","name":"Latvian"},{"language":"NL","name":"Dutch"},{"language":"PL","name":"Polish"},{"language":"PT","name":"Portuguese"},{"language":"RO","name":"Romanian"},{"language":"RU","name":"Russian"},{"language":"SK","name":"Slovak"},{"language":"SL","name":"Slovenian"},{"language":"SV","name":"Swedish"},{"language":"ZH","name":"Chinese"}]'
recorded_at: Mon, 17 May 2021 14:49:42 GMT
- request:
method: get
- uri: https://api-free.deepl.com/v2/languages?auth_key=VALID_TOKEN&type=target
+ uri: https://api-free.deepl.com/v2/languages?type=target
body:
encoding: US-ASCII
string: ''
headers:
+ Authorization:
+ - DeepL-Auth-Key VALID_TOKEN
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent:
@@ -72,14 +76,16 @@
(Brazilian)","supports_formality":true},{"language":"PT-PT","name":"Portuguese
(European)","supports_formality":true},{"language":"RO","name":"Romanian","supports_formality":false},{"language":"RU","name":"Russian","supports_formality":true},{"language":"SK","name":"Slovak","supports_formality":false},{"language":"SL","name":"Slovenian","supports_formality":false},{"language":"SV","name":"Swedish","supports_formality":false},{"language":"ZH","name":"Chinese","supports_formality":false}]'
recorded_at: Mon, 17 May 2021 14:55:30 GMT
- request:
method: get
- uri: https://api-free.deepl.com/v2/languages?auth_key=VALID_TOKEN&type=invalid
+ uri: https://api-free.deepl.com/v2/languages?type=invalid
body:
encoding: US-ASCII
string: ''
headers:
+ Authorization:
+ - DeepL-Auth-Key VALID_TOKEN
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
- "*/*"
User-Agent: