ombulabs/bitpagos

View on GitHub
fixtures/vcr_cassettes/unauthorized_request.yml

Summary

Maintainability
Test Coverage
---
http_interactions:
- request:
    method: get
    uri: https://www.bitpagos.com/api/v1/transaction/
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept:
      - application/json
      Accept-Encoding:
      - gzip, deflate
      Authorization:
      - ApiKey OMGSARASA
      Content-Type:
      - application/json
      User-Agent:
      - Ruby
  response:
    status:
      code: 401
      message: UNAUTHORIZED
    headers:
      Server:
      - cloudflare-nginx
      Date:
      - Thu, 31 Dec 2015 15:51:42 GMT
      Content-Type:
      - text/html; charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      X-Xss-Protection:
      - 1; mode=block
      Content-Language:
      - es-ar
      X-Content-Type-Options:
      - nosniff
      Strict-Transport-Security:
      - max-age=15552000
      Vary:
      - Accept-Language, Cookie
      X-Frame-Options:
      - DENY
    body:
      encoding: UTF-8
      string: ''
    http_version:
  recorded_at: Thu, 31 Dec 2015 15:51:42 GMT
recorded_with: VCR 2.9.3