Sha256: 0e11fca58cc905adb41e06d17702449f36e2ab61d795cb9d498faa289c631048

Contents?: true

Size: 929 Bytes

Versions: 3

Compression:

Stored size: 929 Bytes

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api-free.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:
      - Mon, 17 May 2021 14:42:56 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"}]}'
  recorded_at: Mon, 17 May 2021 14:42:56 GMT
recorded_with: VCR 6.0.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deepl-rb-2.4.0 spec/fixtures/vcr_cassettes/deepl_translate.yml
deepl-rb-2.3.1 spec/fixtures/vcr_cassettes/deepl_translate.yml
deepl-rb-2.3.0 spec/fixtures/vcr_cassettes/deepl_translate.yml