Sha256: 17ebffb392f664595640a98d686355a36c71473864780ee157de1668b20baf8b

Contents?: true

Size: 942 Bytes

Versions: 5

Compression:

Stored size: 942 Bytes

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.deepl.com/v2/translate?auth_key=VALID_TOKEN&param=fake
    body:
      encoding: US-ASCII
      string: text=Sample&source_lang=EN&target_lang=ES
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Content-Type:
      - application/x-www-form-urlencoded
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Tue, 08 May 2018 16:31:34 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '69'
      Connection:
      - keep-alive
      Access-Control-Allow-Origin:
      - "*"
    body:
      encoding: UTF-8
      string: '{"translations":[{"detected_source_language":"EN","text":"Muestra"}]}'
    http_version:
  recorded_at: Tue, 08 May 2018 16:31:33 GMT
recorded_with: VCR 4.0.0

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deepl-rb-2.2.4 spec/fixtures/vcr_cassettes/deepl_translate.yml
deepl-rb-2.2.3 spec/fixtures/vcr_cassettes/deepl_translate.yml
deepl-rb-2.2.2 spec/fixtures/vcr_cassettes/deepl_translate.yml
deepl-rb-2.2.1 spec/fixtures/vcr_cassettes/deepl_translate.yml
deepl-rb-2.2.0 spec/fixtures/vcr_cassettes/deepl_translate.yml