spec/fixtures/vcr_cassettes/resources/installment/find.yml in boletosimples-1.0.4 vs spec/fixtures/vcr_cassettes/resources/installment/find.yml in boletosimples-2.0.0

- old
+ new

@@ -1,10 +1,10 @@ --- http_interactions: - request: method: get - uri: https://sandbox.boletosimples.com.br/api/v1/installments/12421 + uri: https://api-sandbox.kobana.com.br/v1/installments/15265 body: encoding: US-ASCII string: '' headers: User-Agent: @@ -18,14 +18,18 @@ response: status: code: 200 message: OK 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: @@ -34,42 +38,78 @@ - noopen X-Permitted-Cross-Domain-Policies: - none Referrer-Policy: - strict-origin-when-cross-origin + 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 Location: - - https://sandbox.boletosimples.com.br/api/v1/installments/12421 - Content-Type: - - application/json; charset=utf-8 + - https://api-sandbox.kobana.com.br/api/v1/installments/15265 X-Ratelimit-Limit: - - '60' + - '100' X-Ratelimit-Remaining: - - '45' + - '48' Etag: - - W/"4b998210f081f4a1318ce41309d3bae7" + - W/"9c1d1e03ea85ad7314cfec9e01fe3e0e" Cache-Control: - must-revalidate, private, max-age=0 X-Request-Id: - - 2075c3d3-5c32-4fa1-927d-764121d5d2a5 + - da96b0f3-9be3-4e34-a45c-965ee0da0218 X-Runtime: - - '0.038208' + - '0.026112' Date: - - Tue, 13 Apr 2021 17:18:43 GMT + - Tue, 22 Feb 2022 17:30:52 GMT X-Rack-Cache: - miss 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 e889e31621f397bc8c9980a1bf9bd7fa.cloudfront.net (CloudFront) + X-Cache: + - Miss from cloudfront + X-Amz-Cf-Pop: + - MIA3-C1 + X-Amz-Cf-Id: + - ghkw--3X4fGVd93KaINyj-xy-bXoRmVykWKllZzW797b3nm_8DNq3w== body: encoding: UTF-8 - string: '{"id":12421,"amount":1120.4,"cycle":"monthly","start_at":"2022-09-15","end_at":"2022-11-16","instructions":null,"customer_id":80703,"description":"Hospedagem","created_at":"2021-04-13T14:18:42-03:00","updated_at":"2021-04-13T14:18:42-03:00","customer_person_name":"Joao + string: '{"id":15265,"amount":1120.4,"cycle":"monthly","start_at":"2022-09-15","end_at":"2022-11-15","instructions":null,"customer_id":93340,"description":"Hospedagem","created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","customer_person_name":"Joao da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_city_name":"Rio - de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":true,"total":3,"bank_billet_account_id":3547,"status":"created","fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"bank_billet_layout_id":null,"url":null,"bank_billet_ids":[],"bank_billets":[],"notes":null,"payment_count":1,"tags":[],"tag_list":"","prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"document_number":null,"document_date":null}' - recorded_at: Tue, 13 Apr 2021 17:18:43 GMT + de Janeiro","customer_email_cc":null,"customer_ignore_email":null,"customer_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":true,"total":3,"bank_billet_account_id":659,"status":"generated","fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"days_for_discount":null,"discount_value":null,"discount_percentage":null,"bank_billet_layout_id":null,"url":"https://sandbox.bole.to/3/qdoweq/carne","bank_billet_ids":[472533,472532,472534],"bank_billets":[{"id":472533,"expire_at":"2022-10-17","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao + da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua + quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala + 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_email_cc":null,"customer_ignore_email":null,"customer_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":false,"customer_city_name":"Rio + de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/kekdrr","formats":{"default":"https://sandbox.bole.to/3/kekdrr","png":"https://sandbox.bole.to/3/kekdrr.png","pdf":"https://sandbox.bole.to/3/kekdrr.pdf","boleto_hibrido":"https://sandbox.bole.to/3/kekdrr/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/kekdrr/boleto_pix","barcode":"https://sandbox.bole.to/3/kekdrr/barcode","envelope":"https://sandbox.bole.to/3/kekdrr/envelope","letter":"https://sandbox.bole.to/3/kekdrr/letter","line":"https://sandbox.bole.to/3/kekdrr/line","recibo":"https://sandbox.bole.to/3/kekdrr/recibo","carne":"https://sandbox.bole.to/3/kekdrr/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio + Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua + Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável + em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000089-8","processed_our_number_raw":"140000000000000898","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324 + 20000.100048 00000.008904 4 91410000112040","our_number":"000000000000089","customer_subscription_id":null,"installment_total":3,"installment_number":2,"installment_id":15265,"carne_url":"https://sandbox.bole.to/3/kekdrr/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10494914100001120401233220000100040000000890","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:51-03:00","shorten_url":"https://sandbox.bole.to/3/kekdrr","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null},{"id":472532,"expire_at":"2022-09-15","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao + da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua + quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala + 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_email_cc":null,"customer_ignore_email":null,"customer_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":false,"customer_city_name":"Rio + de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/qdoweq","formats":{"default":"https://sandbox.bole.to/3/qdoweq","png":"https://sandbox.bole.to/3/qdoweq.png","pdf":"https://sandbox.bole.to/3/qdoweq.pdf","boleto_hibrido":"https://sandbox.bole.to/3/qdoweq/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/qdoweq/boleto_pix","barcode":"https://sandbox.bole.to/3/qdoweq/barcode","envelope":"https://sandbox.bole.to/3/qdoweq/envelope","letter":"https://sandbox.bole.to/3/qdoweq/letter","line":"https://sandbox.bole.to/3/qdoweq/line","recibo":"https://sandbox.bole.to/3/qdoweq/recibo","carne":"https://sandbox.bole.to/3/qdoweq/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio + Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua + Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável + em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000088-0","processed_our_number_raw":"140000000000000880","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324 + 20000.100048 00000.008821 9 91090000112040","our_number":"000000000000088","customer_subscription_id":null,"installment_total":3,"installment_number":1,"installment_id":15265,"carne_url":"https://sandbox.bole.to/3/qdoweq/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10499910900001120401233220000100040000000882","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:51-03:00","shorten_url":"https://sandbox.bole.to/3/qdoweq","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null},{"id":472534,"expire_at":"2022-11-16","paid_at":null,"description":"Hospedagem","status":"opened","customer_person_name":"Joao + da Silva","customer_cnpj_cpf":"18.033.842/0001-05","customer_address":"Rua + quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala + 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","customer_email_cc":null,"customer_ignore_email":null,"customer_ignore_sms":null,"customer_mobile_local_code":null,"customer_mobile_number":null,"customer_nickname":null,"customer_notes":null,"created_via_api":false,"customer_city_name":"Rio + de Janeiro","paid_amount":0.0,"amount":1120.4,"url":"https://sandbox.bole.to/3/ewezlo","formats":{"default":"https://sandbox.bole.to/3/ewezlo","png":"https://sandbox.bole.to/3/ewezlo.png","pdf":"https://sandbox.bole.to/3/ewezlo.pdf","boleto_hibrido":"https://sandbox.bole.to/3/ewezlo/boleto_hibrido","boleto_pix":"https://sandbox.bole.to/3/ewezlo/boleto_pix","barcode":"https://sandbox.bole.to/3/ewezlo/barcode","envelope":"https://sandbox.bole.to/3/ewezlo/envelope","letter":"https://sandbox.bole.to/3/ewezlo/letter","line":"https://sandbox.bole.to/3/ewezlo/line","recibo":"https://sandbox.bole.to/3/ewezlo/recibo","carne":"https://sandbox.bole.to/3/ewezlo/carne"},"meta":null,"fine_for_delay":null,"fine_type":0,"fine_percentage":null,"fine_value":null,"days_for_fine":null,"late_payment_interest":null,"interest_type":0,"interest_daily_value":null,"interest_daily_percentage":null,"interest_monthly_percentage":null,"days_for_interest":null,"discount_type":0,"discount_limit_date":null,"discount_value":null,"discount_percentage":null,"days_for_revoke":null,"notes":null,"payment_count":1,"bank_billet_account_id":659,"beneficiary_name":"Kivanio + Pereira Barbosa","beneficiary_cnpj_cpf":"000.233.771-19","beneficiary_address":"Rua + Quatro, 9, 78058-330","beneficiary_assignor_code":"0001/123322-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável + em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"14000000000000090-1","processed_our_number_raw":"140000000000000901","bank_contract_slug":"caixa-rg","agency_number":"2342","agency_digit":"2","account_number":"0012432","account_digit":"1","extra1":"0123322","extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"10491.23324 + 20000.100048 00000.009043 1 91710000112040","our_number":"000000000000090","customer_subscription_id":null,"installment_total":3,"installment_number":3,"installment_id":15265,"carne_url":"https://sandbox.bole.to/3/ewezlo/carne","bank_billet_layout_id":null,"created_at":"2022-02-22T14:30:51-03:00","updated_at":"2022-02-22T14:30:51-03:00","tags":[],"tag_list":null,"document_type_label":"DM","addons":null,"ignore_email":false,"ignore_sms":false,"sue_code":null,"revoke_code":null,"first_instruction":null,"second_instruction":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"barcode":"10491917100001120401233220000100040000000904","registered_at":null,"prevent_registration":false,"customer_id":93340,"control_number":null,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_discount":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"split_payment":false,"dispatch_type":1,"charge_type":1,"custom_data":null,"issued_at":"2022-02-22T14:30:51-03:00","shorten_url":"https://sandbox.bole.to/3/ewezlo","pix_enabled":false,"pix_qrcode":null,"password_protected_mode":null,"revoked_at":null}],"notes":null,"payment_count":1,"tags":[],"tag_list":null,"prevent_registration":false,"divergent_payment_type":null,"divergent_payment_value_type":null,"divergent_payment_maximum_value":null,"divergent_payment_minimum_value":null,"divergent_payment_maximum_percentage":null,"divergent_payment_minimum_percentage":null,"divergent_payment_limit":null,"days_for_second_discount":null,"second_discount_percentage":null,"second_discount_value":null,"days_for_third_discount":null,"third_discount_percentage":null,"third_discount_value":null,"days_for_revoke":null,"days_for_sue":null,"days_for_negativation":null,"interest_percentage":null,"interest_value":null,"interest_days_type":0,"customer_contact_person":null,"custom_attachment_name":null,"guarantor_name":null,"guarantor_cnpj_cpf":null,"guarantor_address_number":null,"guarantor_neighborhood":null,"guarantor_phone_number":null,"guarantor_city_name":null,"guarantor_state":null,"guarantor_zipcode":null,"guarantor_address":null,"guarantor_address_complement":null,"document_number":null,"document_date":null,"document_type":"02"}' + recorded_at: Tue, 22 Feb 2022 17:30:52 GMT recorded_with: VCR 6.0.0