Sha256: a7a295eee6e6b013911d02a63cfffde02a3aeca162a1aab3a647b0a203b41728

Contents?: true

Size: 1.39 KB

Versions: 11

Compression:

Stored size: 1.39 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sandbox.boletosimples.com.br/api/v1/customers?access_token=BOLETOSIMPLES_ACCESS_TOKEN
    body:
      encoding: UTF-8
      string: '{"customer":{}}'
    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:
      - '456'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 1119bf7c-038c-4c5a-a2c2-e5c5c66097fd
      X-Runtime:
      - '0.119195'
      Date:
      - Sun, 08 Mar 2015 19:59:20 GMT
      X-Rack-Cache:
      - invalidate, pass
      Vary:
      - Accept-Encoding
      Transfer-Encoding:
      - chunked
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"errors":{"customer":["não pode ficar em branco"]}}'
    http_version: 
  recorded_at: Sun, 08 Mar 2015 19:59:19 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/customer/create/invalid_root.yml
boletosimples-0.5.0 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
boletosimples-0.4.2 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
boletosimples-0.4.1 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
boletosimples-0.4.0 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
boletosimples-0.3.1 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
boletosimples-0.3.0 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
boletosimples-0.2.3 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
boletosimples-0.2.2 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
boletosimples-0.2.0 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml
boletosimples-0.1.1 spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml