Sha256: 4c49f2509155dcad3eadab849aede4a7ea80d82f2e7514b07258035fe0562572

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://devapi.thecurrencycloud.com/v2/authenticate/api
    body:
      encoding: UTF-8
      string: login_id=rjnienaber%40gmail.com&api_key=ef0fd50fca1fb14c1fab3a8436b9ecb65f02f129fd87eafa45ded8ae257528f0
    headers: {}
  response:
    status:
      code: 500
      message: Internal Server Error
    headers:
      Server:
      - nginx
      Date:
      - Sat, 25 Apr 2015 06:52:42 GMT
      Content-Type:
      - application/json;charset=utf-8
      Content-Length:
      - '49'
      Connection:
      - keep-alive
      X-Request-Id:
      - '2771875643610572878'
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: UTF-8
      string: '{"error_code":"internal_application_error","error_messages":{"base":[{"code":"internal_application_error","message":"A
        general application error occurred","params":{"request_id":2771875643610572878}}]}}'
    http_version: 
  recorded_at: Sat, 25 Apr 2015 06:52:42 GMT
- request:
    method: get
    uri: https://devapi.thecurrencycloud.com/v2/beneficiaries/081596c9-02de-483e-9f2a-4cf55dcdf98c
    body:
      encoding: US-ASCII
      string: ''
    headers:
      X-Auth-Token:
      - 656485646b068f6e9c81e3d885fa54f5
  response:
    status:
      code: 404
      message: Not Found
    headers:
      Server:
      - nginx
      Date:
      - Sat, 25 Apr 2015 11:21:38 GMT
      Content-Type:
      - application/json;charset=utf-8
      Content-Length:
      - '159'
      Connection:
      - keep-alive
      X-Request-Id:
      - '2772009396693571416'
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: UTF-8
      string: '{"error_code":"beneficiary_not_found","error_messages":{"id":[{"code":"beneficiary_not_found","message":"Beneficiary
        was not found for this id","params":{}}]}}'
    http_version: 
  recorded_at: Sat, 25 Apr 2015 11:21:38 GMT
recorded_with: VCR 2.9.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
currency_cloud-0.5 spec/support/vcr_cassettes/Error/is_raised_on_an_internal_server_error.yml