Sha256: 5177d53ff75388a4a06dd4e0407902c89d2680c99adafb428a0caa978b69a313

Contents?: true

Size: 1.4 KB

Versions: 11

Compression:

Stored size: 1.4 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sandbox.boletosimples.com.br/api/v1/bank_billets?access_token=BOLETOSIMPLES_ACCESS_TOKEN
    body:
      encoding: UTF-8
      string: '{"bank_billet":{}}'
    headers:
      User-Agent:
      - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
      Authorization:
      - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 422
      message: Unprocessable Entity
    headers:
      Server:
      - Cowboy
      Connection:
      - keep-alive
      Strict-Transport-Security:
      - max-age=2592000
      Content-Type:
      - application/json; charset=utf-8
      X-Ratelimit-Limit:
      - '500'
      X-Ratelimit-Remaining:
      - '465'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 9960d0bb-e798-4a31-801c-eddbd2cd3afc
      X-Runtime:
      - '0.058479'
      Date:
      - Sun, 08 Mar 2015 19:55:33 GMT
      X-Rack-Cache:
      - invalidate, pass
      Vary:
      - Accept-Encoding
      Transfer-Encoding:
      - chunked
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"errors":{"bank_billet":["não pode ficar em branco"]}}'
    http_version: 
  recorded_at: Sun, 08 Mar 2015 19:55:33 GMT
recorded_with: VCR 2.9.3

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
boletosimples-0.6.0 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.5.0 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.4.2 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.4.1 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.4.0 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.3.1 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.3.0 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.2.3 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.2.2 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.2.0 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml
boletosimples-0.1.1 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml