Sha256: 64da40a2704c735981b003f097edd28978a4c16eb8da461771d4cfd87b385e26

Contents?: true

Size: 1.55 KB

Versions: 9

Compression:

Stored size: 1.55 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_accounts?access_token=BOLETOSIMPLES_ACCESS_TOKEN
    body:
      encoding: UTF-8
      string: bank_billet_account%5Bbank_contract_slug%5D=
    headers:
      User-Agent:
      - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
      Authorization:
      - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
      Content-Type:
      - application/x-www-form-urlencoded
      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:
      - '495'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - f05ec95b-ec7e-4f61-9f65-a0c72dd8a5a8
      X-Runtime:
      - '0.046546'
      Date:
      - Wed, 01 Apr 2015 17:47:56 GMT
      X-Rack-Cache:
      - invalidate, pass
      Vary:
      - Accept-Encoding
      Transfer-Encoding:
      - chunked
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"errors":{"agency_number":["não pode ficar em branco"],"account_number":["não
        pode ficar em branco"],"bank_contract_slug":["não pode ficar em branco"]}}'
    http_version: 
  recorded_at: Wed, 01 Apr 2015 17:47:56 GMT
recorded_with: VCR 2.9.3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
boletosimples-0.6.0 spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml
boletosimples-0.5.0 spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml
boletosimples-0.4.2 spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml
boletosimples-0.4.1 spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml
boletosimples-0.4.0 spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml
boletosimples-0.3.1 spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml
boletosimples-0.3.0 spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml
boletosimples-0.2.3 spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml
boletosimples-0.2.2 spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml