Sha256: 2b60d45771cd3883a61e7f053e3b4bc75936b2eb0fb5a1683e18ef5797e71b3a

Contents?: true

Size: 943 Bytes

Versions: 2

Compression:

Stored size: 943 Bytes

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.deepl.com/v1/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

2 entries across 2 versions & 1 rubygems

Version Path
deepl-rb-2.1.0 spec/fixtures/vcr_cassettes/deepl_translate.yml
deepl-rb-2.0.0 spec/fixtures/vcr_cassettes/deepl_translate.yml