Sha256: 9238b3a106b1eb21c46e09f460c6c5e89dec63dffe11ff0d8466c4c19faae80d

Contents?: true

Size: 1.65 KB

Versions: 4

Compression:

Stored size: 1.65 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://sandbox.boletosimples.com.br/api/v1/customer_subscriptions
    body:
      encoding: UTF-8
      string: '{"customer_subscription":{}}'
    headers:
      User-Agent:
      - email@minhaempresa.com.br
      Authorization:
      - Bearer BOLETOSIMPLES_API_TOKEN
      Content-Type:
      - application/json
      Accept:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
  response:
    status:
      code: 422
      message: Unprocessable Entity
    headers:
      Server:
      - Cowboy
      Connection:
      - keep-alive
      X-Frame-Options:
      - DENY
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-Download-Options:
      - noopen
      X-Permitted-Cross-Domain-Policies:
      - none
      Referrer-Policy:
      - strict-origin-when-cross-origin
      Content-Type:
      - application/json; charset=utf-8
      X-Ratelimit-Limit:
      - '1000'
      X-Ratelimit-Remaining:
      - '974'
      Cache-Control:
      - no-cache
      X-Request-Id:
      - 480237a5-eefa-474b-ba65-2aa2b6adb986
      X-Runtime:
      - '0.018847'
      Date:
      - Tue, 13 Apr 2021 17:19:01 GMT
      X-Rack-Cache:
      - invalidate, pass
      Strict-Transport-Security:
      - max-age=2629746
      Vary:
      - Origin,Accept-Encoding
      Transfer-Encoding:
      - chunked
      Via:
      - 1.1 vegur
    body:
      encoding: UTF-8
      string: '{"errors":[{"title":"customer_subscription não pode ficar em branco","status":422,"code":422}]}'
  recorded_at: Tue, 13 Apr 2021 17:19:01 GMT
recorded_with: VCR 6.0.0

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
boletosimples-1.0.4 spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml
boletosimples-1.0.3 spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml
boletosimples-1.0.2 spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml
boletosimples-1.0.1 spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml