Sha256: d991673bb1c9c59d90be62a086f74081a4df89a221613dee37b173f96ec6f20a

Contents?: true

Size: 1.65 KB

Versions: 11

Compression:

Stored size: 1.65 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":{"amount":9.1}}'
    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:
      - '464'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 06416084-e98b-4810-b538-e23526138773
      X-Runtime:
      - '0.122267'
      Date:
      - Sun, 08 Mar 2015 19:55:34 GMT
      X-Rack-Cache:
      - invalidate, pass
      Vary:
      - Accept-Encoding
      Transfer-Encoding:
      - chunked
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"errors":{"expire_at":["não pode ficar em branco","não é uma data
        válida"],"customer_person_name":["não pode ficar em branco"],"customer_cnpj_cpf":["não
        pode ficar em branco"],"description":["não pode ficar em branco"],"customer_zipcode":["não
        pode ficar em branco"]}}'
    http_version: 
  recorded_at: Sun, 08 Mar 2015 19:55:34 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_params.yml
boletosimples-0.5.0 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml
boletosimples-0.4.2 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml
boletosimples-0.4.1 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml
boletosimples-0.4.0 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml
boletosimples-0.3.1 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml
boletosimples-0.3.0 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml
boletosimples-0.2.3 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml
boletosimples-0.2.2 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml
boletosimples-0.2.0 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml
boletosimples-0.1.1 spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml