spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml in boletosimples-1.0.4 vs spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml in boletosimples-2.0.0

- old
+ new

@@ -1,10 +1,10 @@ --- http_interactions: - request: method: post - uri: https://sandbox.boletosimples.com.br/api/v1/customers + uri: https://api-sandbox.kobana.com.br/v1/customers body: encoding: UTF-8 string: '{"customer":{}}' headers: User-Agent: @@ -20,14 +20,18 @@ response: status: code: 422 message: Unprocessable Entity headers: - Server: - - Cowboy + Content-Type: + - application/json; charset=utf-8 + Transfer-Encoding: + - chunked Connection: - keep-alive + Server: + - Cowboy X-Frame-Options: - DENY X-Xss-Protection: - 1; mode=block X-Content-Type-Options: @@ -36,34 +40,49 @@ - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin - Content-Type: - - application/json; charset=utf-8 + Expect-Ct: + - max-age=0, report-uri="https://boletosimples.report-uri.com/r/d/ct/reportOnly" + Cross-Origin-Resource-Policy: + - cross-origin + Cross-Origin-Embedder-Policy: + - unsafe-none + Cross-Origin-Opener-Policy: + - unsafe-none X-Ratelimit-Limit: - - '1000' + - '18000' X-Ratelimit-Remaining: - - '971' + - '17944' Cache-Control: - no-cache X-Request-Id: - - 11cbaf30-2b23-4517-a48e-f38050c17f17 + - d20e889b-59e6-4d9f-90f6-37cb5b2ebde5 X-Runtime: - - '0.017993' + - '0.017494' Date: - - Tue, 13 Apr 2021 17:19:12 GMT + - Tue, 22 Feb 2022 17:34:25 GMT X-Rack-Cache: - invalidate, pass Strict-Transport-Security: - - max-age=2629746 + - max-age=31556952; includeSubDomains; preload Vary: - Origin,Accept-Encoding - Transfer-Encoding: - - chunked + X-Rack-Cors: + - miss; no-origin Via: - - 1.1 vegur + - 1.1 vegur, 1.1 5b065c27afb6cf16a3aa6aae83715630.cloudfront.net (CloudFront) + X-Cache: + - Error from cloudfront + X-Amz-Cf-Pop: + - MIA3-C1 + X-Amz-Cf-Id: + - zAKntt6cRIv2PQbOBb4mMOnrIiz3iTdK2hw87caprYvmD8XJJDeziw== body: encoding: UTF-8 - string: '{"errors":[{"title":"customer não pode ficar em branco","status":422,"code":422}]}' - recorded_at: Tue, 13 Apr 2021 17:19:12 GMT + string: '{"errors":{"person_name":["não pode ficar em branco"],"zipcode":["não + pode ficar em branco"],"address":["não pode ficar em branco"],"neighborhood":["não + pode ficar em branco"],"city_name":["não pode ficar em branco"],"cnpj_cpf":["não + é um CNPJ ou CPF válido"],"state":["não está incluído na lista"]}}' + recorded_at: Tue, 22 Feb 2022 17:34:25 GMT recorded_with: VCR 6.0.0