Sha256: b60eff1936692b3ea00790ab6ba2eb256fe8f656b84937fd65422b25b7692031

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.sandbox.midtrans.com/v2/1111-not-exists/status
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Veritrans ruby gem 2.0.0beta
      Authorization:
      - Basic c3BlY19zZXJ2ZXJfa2V5Og==
      Accept:
      - application/json
      Content-Type:
      - application/json
  response:
    status:
      code: 200
      message: ''
    headers:
      Server:
      - nginx
      Date:
      - Mon, 01 Dec 2014 08:12:49 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '132'
      Connection:
      - keep-alive
      Cache-Control:
      - no-cache
      Pragma:
      - no-cache
      Expires:
      - Wed, 31 Dec 1969 17:00:00 GMT
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains;
    body:
      encoding: US-ASCII
      string: ! "{\n  \"status_code\" : \"401\",\n  \"status_message\" : \"Access
        denied due to unauthorized transaction, please check client or server key\"\n}"
    http_version: 
  recorded_at: Mon, 01 Dec 2014 08:13:09 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
veritrans-2.3.0 spec/fixtures/cli_test_unauthorized.yml
veritrans-2.2.0 spec/fixtures/cli_test_unauthorized.yml