boletosimples 0.6.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +34 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +9 -0
  5. data/.ruby-version +1 -1
  6. data/CHANGELOG.md +6 -20
  7. data/Gemfile +2 -0
  8. data/README.md +12 -54
  9. data/Rakefile +3 -1
  10. data/boletosimples.gemspec +14 -11
  11. data/lib/boletosimples.rb +4 -6
  12. data/lib/boletosimples/configuration.rb +14 -25
  13. data/lib/boletosimples/last_request.rb +12 -9
  14. data/lib/boletosimples/middlewares/bearer.rb +12 -0
  15. data/lib/boletosimples/middlewares/last_request.rb +3 -1
  16. data/lib/boletosimples/middlewares/raise_error.rb +9 -2
  17. data/lib/boletosimples/middlewares/user_agent.rb +3 -1
  18. data/lib/boletosimples/resources/bank_billet.rb +5 -11
  19. data/lib/boletosimples/resources/bank_billet_account.rb +3 -1
  20. data/lib/boletosimples/resources/bank_billet_discharge.rb +3 -1
  21. data/lib/boletosimples/resources/bank_billet_payment.rb +3 -1
  22. data/lib/boletosimples/resources/bank_billet_remittance.rb +3 -1
  23. data/lib/boletosimples/resources/base_model.rb +3 -1
  24. data/lib/boletosimples/resources/customer.rb +3 -1
  25. data/lib/boletosimples/resources/customer_import.rb +5 -3
  26. data/lib/boletosimples/resources/customer_subscription.rb +3 -10
  27. data/lib/boletosimples/resources/customer_subscription_import.rb +5 -3
  28. data/lib/boletosimples/resources/discharge.rb +4 -11
  29. data/lib/boletosimples/resources/email_delivery.rb +3 -1
  30. data/lib/boletosimples/resources/event.rb +3 -1
  31. data/lib/boletosimples/resources/installment.rb +3 -1
  32. data/lib/boletosimples/resources/remittance.rb +3 -1
  33. data/lib/boletosimples/resources/sms_delivery.rb +6 -0
  34. data/lib/boletosimples/resources/transaction.rb +3 -1
  35. data/lib/boletosimples/resources/webhook.rb +3 -1
  36. data/lib/boletosimples/resources/webhook_delivery.rb +3 -1
  37. data/lib/boletosimples/response_error.rb +8 -3
  38. data/lib/boletosimples/version.rb +3 -1
  39. data/spec/boletosimples/configuration_spec.rb +71 -101
  40. data/spec/boletosimples/last_request_spec.rb +16 -28
  41. data/spec/boletosimples/resources/bank_billet_account_spec.rb +57 -33
  42. data/spec/boletosimples/resources/bank_billet_discharge_spec.rb +7 -12
  43. data/spec/boletosimples/resources/bank_billet_payment_spec.rb +7 -12
  44. data/spec/boletosimples/resources/bank_billet_remittance_spec.rb +7 -12
  45. data/spec/boletosimples/resources/bank_billet_spec.rb +56 -42
  46. data/spec/boletosimples/resources/customer_import_spec.rb +41 -30
  47. data/spec/boletosimples/resources/customer_spec.rb +52 -39
  48. data/spec/boletosimples/resources/customer_subscription_import_spec.rb +41 -30
  49. data/spec/boletosimples/resources/customer_subscription_spec.rb +61 -33
  50. data/spec/boletosimples/resources/discharge_spec.rb +64 -11
  51. data/spec/boletosimples/resources/email_delivery_spec.rb +6 -11
  52. data/spec/boletosimples/resources/event_spec.rb +7 -12
  53. data/spec/boletosimples/resources/installment_spec.rb +61 -32
  54. data/spec/boletosimples/resources/remittance_spec.rb +7 -12
  55. data/spec/boletosimples/resources/sms_delivery_spec.rb +12 -0
  56. data/spec/boletosimples/resources/transactions_spec.rb +7 -12
  57. data/spec/boletosimples/resources/webhook_delivery_spec.rb +7 -12
  58. data/spec/boletosimples/resources/webhook_spec.rb +7 -12
  59. data/spec/fixtures/discharge.RET +3 -0
  60. data/spec/fixtures/vcr_cassettes/last_request/bank_billets.yml +536 -88
  61. data/spec/fixtures/vcr_cassettes/resources/bank_billet/all.yml +537 -91
  62. data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/success.yml +34 -92
  63. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml +32 -20
  64. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml +28 -17
  65. data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/valid.yml +43 -27
  66. data/spec/fixtures/vcr_cassettes/resources/bank_billet/duplicate/success.yml +83 -0
  67. data/spec/fixtures/vcr_cassettes/resources/bank_billet/find.yml +51 -27
  68. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/all.yml +131 -20
  69. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml +34 -20
  70. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_root.yml +30 -19
  71. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/valid.yml +41 -21
  72. data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/find.yml +38 -18
  73. data/spec/fixtures/vcr_cassettes/resources/bank_billet_discharge/all.yml +66 -47
  74. data/spec/fixtures/vcr_cassettes/resources/bank_billet_payment/all.yml +44 -42
  75. data/spec/fixtures/vcr_cassettes/resources/bank_billet_remittance/all.yml +95 -48
  76. data/spec/fixtures/vcr_cassettes/resources/customer/all.yml +79 -32
  77. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_params.yml +30 -17
  78. data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml +28 -17
  79. data/spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml +33 -21
  80. data/spec/fixtures/vcr_cassettes/resources/customer/find.yml +33 -19
  81. data/spec/fixtures/vcr_cassettes/resources/customer_import/all.yml +43 -60
  82. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_params.yml +37 -51
  83. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_root.yml +38 -52
  84. data/spec/fixtures/vcr_cassettes/resources/customer_import/create/valid.yml +43 -68
  85. data/spec/fixtures/vcr_cassettes/resources/customer_import/find.yml +40 -54
  86. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml +102 -52
  87. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml +40 -50
  88. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml +36 -48
  89. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml +48 -53
  90. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml +44 -50
  91. data/spec/fixtures/vcr_cassettes/resources/customer_subscription/next_charge.yml +45 -133
  92. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/all.yml +44 -55
  93. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_params.yml +37 -52
  94. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml +39 -53
  95. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/valid.yml +43 -70
  96. data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/find.yml +40 -55
  97. data/spec/fixtures/vcr_cassettes/resources/discharge/all.yml +64 -33
  98. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_params.yml +70 -0
  99. data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_root.yml +69 -0
  100. data/spec/fixtures/vcr_cassettes/resources/discharge/create/valid.yml +84 -0
  101. data/spec/fixtures/vcr_cassettes/resources/discharge/find.yml +71 -0
  102. data/spec/fixtures/vcr_cassettes/resources/email_delivery/all.yml +40 -43
  103. data/spec/fixtures/vcr_cassettes/resources/event/all.yml +490 -166
  104. data/spec/fixtures/vcr_cassettes/resources/installment/all.yml +418 -52
  105. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml +41 -52
  106. data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml +36 -48
  107. data/spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml +48 -53
  108. data/spec/fixtures/vcr_cassettes/resources/installment/find.yml +44 -52
  109. data/spec/fixtures/vcr_cassettes/resources/remittance/all.yml +53 -33
  110. data/spec/fixtures/vcr_cassettes/resources/sns_delivery/all.yml +73 -0
  111. data/spec/fixtures/vcr_cassettes/resources/transaction/all.yml +34 -22
  112. data/spec/fixtures/vcr_cassettes/resources/web_hook/all.yml +42 -33
  113. data/spec/fixtures/vcr_cassettes/resources/webhook_delivery/all.yml +1232 -54
  114. data/spec/spec_helper.rb +3 -20
  115. data/spec/support/stub_env.rb +7 -0
  116. data/spec/support/vcr.rb +3 -4
  117. metadata +87 -52
  118. data/.coveralls.yml +0 -2
  119. data/.travis.yml +0 -46
  120. data/gemfiles/rails_42.gemfile +0 -8
  121. data/gemfiles/rails_50.gemfile +0 -8
  122. data/gemfiles/rails_51.gemfile +0 -8
  123. data/gemfiles/rails_52.gemfile +0 -9
  124. data/lib/boletosimples/extra.rb +0 -8
  125. data/lib/boletosimples/resources/partner/user.rb +0 -7
  126. data/lib/oauth2_patch.rb +0 -24
  127. data/spec/boletosimples/extra_spec.rb +0 -31
  128. data/spec/boletosimples/resources/partner/user_spec.rb +0 -19
  129. data/spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml +0 -64
  130. data/spec/fixtures/vcr_cassettes/configuration/client_credentials/valid.yml +0 -56
  131. data/spec/fixtures/vcr_cassettes/extra/userinfo/authenticated.yml +0 -58
  132. data/spec/fixtures/vcr_cassettes/extra/userinfo/not_authenticated.yml +0 -54
  133. data/spec/fixtures/vcr_cassettes/last_request/userinfo.yml +0 -58
  134. data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/failure.yml +0 -118
  135. data/spec/fixtures/vcr_cassettes/resources/partner/user/create.yml +0 -60
  136. data/spec/spec.opts +0 -8
@@ -2,19 +2,19 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://sandbox.boletosimples.com.br/api/v1/bank_billets/851?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://sandbox.boletosimples.com.br/api/v1/bank_billets/382369
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
11
+ - email@minhaempresa.com.br
12
12
  Authorization:
13
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
+ Accept:
15
+ - application/json
14
16
  Accept-Encoding:
15
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
- Accept:
17
- - "*/*"
18
18
  response:
19
19
  status:
20
20
  code: 200
@@ -24,40 +24,64 @@ http_interactions:
24
24
  - Cowboy
25
25
  Connection:
26
26
  - keep-alive
27
- Strict-Transport-Security:
28
- - max-age=2592000
27
+ X-Frame-Options:
28
+ - DENY
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ X-Download-Options:
34
+ - noopen
35
+ X-Permitted-Cross-Domain-Policies:
36
+ - none
37
+ Referrer-Policy:
38
+ - strict-origin-when-cross-origin
39
+ Etag:
40
+ - W/"624e7cd8a0ec0514380eafc6b1b72b23"
41
+ Last-Modified:
42
+ - Tue, 13 Apr 2021 17:18:31 GMT
43
+ Location:
44
+ - https://sandbox.boletosimples.com.br/api/v1/bank_billets/382369
29
45
  Content-Type:
30
46
  - application/json; charset=utf-8
47
+ Cache-Control:
48
+ - public
31
49
  X-Ratelimit-Limit:
32
- - '500'
50
+ - '60'
33
51
  X-Ratelimit-Remaining:
34
- - '460'
35
- Etag:
36
- - W/"d7665b0a15eb03d124030c5f13771e4a"
37
- Cache-Control:
38
- - must-revalidate, private, max-age=0
52
+ - '51'
39
53
  X-Request-Id:
40
- - ce28ce2c-bd0e-47eb-bb95-f7cfb764c024
54
+ - d99efba7-6bfa-4f13-a823-70ab9a0649c0
41
55
  X-Runtime:
42
- - '0.049211'
56
+ - '0.193088'
43
57
  Date:
44
- - Sun, 08 Mar 2015 19:55:39 GMT
58
+ - Tue, 13 Apr 2021 17:18:31 GMT
59
+ X-Content-Digest:
60
+ - fd3804ea9a6de99182595db9fe74185f2e843eed
61
+ Age:
62
+ - '0'
45
63
  X-Rack-Cache:
46
- - miss
64
+ - miss, store
65
+ Strict-Transport-Security:
66
+ - max-age=2629746
47
67
  Vary:
48
- - Accept-Encoding
68
+ - Origin,Accept-Encoding
49
69
  Transfer-Encoding:
50
70
  - chunked
51
71
  Via:
52
72
  - 1.1 vegur
53
73
  body:
54
74
  encoding: UTF-8
55
- string: '{"id":851,"expire_at":"2014-01-01","paid_at":null,"description":"Despesas
56
- do contrato 0012","status":"canceled","shorten_url":"http://staging.bole.to/nirjavew","customer_person_type":"individual","customer_person_name":"Joao
57
- da Silva","customer_cnpj_cpf":"012.345.678-90","customer_address":"Rua quinhentos","customer_state":"RJ","customer_neighborhood":"Sao
58
- Francisco","customer_zipcode":"12312-123","customer_address_number":"111","customer_address_complement":"Sala
59
- 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","notification_url":"http://example.com.br/notify","send_email_on_creation":null,"created_via_api":true,"customer_city_name":"Rio
60
- de Janeiro","paid_amount":0.0,"amount":9.01}'
61
- http_version:
62
- recorded_at: Sun, 08 Mar 2015 19:55:38 GMT
63
- recorded_with: VCR 2.9.3
75
+ string: '{"id":382369,"expire_at":"2022-01-03","paid_at":null,"description":"Despesas
76
+ do contrato 0012","status":"opened","shorten_url":"https://sandbox.bole.to/3/ojkxyw","customer_person_name":"Joao
77
+ da Silva","customer_cnpj_cpf":"34.565.715/0001-03","customer_address":"Rua
78
+ quinhentos","customer_state":"RJ","customer_neighborhood":"Sao Francisco","customer_zipcode":"12312123","customer_address_number":"111","customer_address_complement":"Sala
79
+ 4","customer_phone_number":"2112123434","customer_email":"cliente@example.com","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,"customer_city_name":"Rio
80
+ de Janeiro","paid_amount":0.0,"amount":9.01,"url":"https://sandbox.bole.to/3/ojkxyw","formats":{"default":"https://sandbox.bole.to/3/ojkxyw","png":"https://sandbox.bole.to/3/ojkxyw.png?r=1618334311","pdf":"https://sandbox.bole.to/3/ojkxyw.pdf?r=1618334311","boleto_hibrido":"https://sandbox.bole.to/3/ojkxyw/boleto_hibrido?r=1618334311","boleto_pix":"https://sandbox.bole.to/3/ojkxyw/boleto_pix?r=1618334311","barcode":"https://sandbox.bole.to/3/ojkxyw/barcode","envelope":"https://sandbox.bole.to/3/ojkxyw/envelope","letter":"https://sandbox.bole.to/3/ojkxyw/letter","line":"https://sandbox.bole.to/3/ojkxyw/line","recibo":"https://sandbox.bole.to/3/ojkxyw/recibo"},"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":3547,"beneficiary_name":"J
81
+ Calçados","beneficiary_cnpj_cpf":"74.766.527/0001-68","beneficiary_address":"Praça
82
+ dos Três Poderes, 171, - Zona Cívico-Administrativa, Brasília - DF, 70165900","beneficiary_assignor_code":"2332
83
+ / 12312-0","guarantor_name":null,"guarantor_cnpj_cpf":null,"payment_place":"Pagável
84
+ em qualquer banco até a data de vencimento.","instructions":null,"document_date":null,"document_type":"02","document_number":null,"acceptance":"N","processed_our_number":"109/00000067-1","processed_our_number_raw":"109000000671","bank_contract_slug":"itau-bs-109","agency_number":"2332","agency_digit":"3","account_number":"12312","account_digit":"2","extra1":null,"extra1_digit":null,"extra2":null,"extra2_digit":null,"line":"34191.09008
85
+ 00006.712335 21231.200003 3 88540000000901","our_number":"00000067","customer_subscription_id":null,"installment_number":null,"installment_id":null,"carne_url":null,"bank_billet_layout_id":null,"created_at":"2021-04-13T14:18:30-03:00","updated_at":"2021-04-13T14:18:31-03:00","tags":[],"tag_list":"","document_type_label":"DM","addons":null,"ignore_email":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":"34193885400000009011090000006712332123120000","registered_at":null,"prevent_registration":false,"customer_id":80707,"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,"bank_billet_discharges":[],"bank_billet_remittances":[],"bank_billet_payments":[],"bank_billet_registrations":[],"bank_billet_split_accounts":[]}'
86
+ recorded_at: Tue, 13 Apr 2021 17:18:31 GMT
87
+ recorded_with: VCR 6.0.0
@@ -2,19 +2,19 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_accounts?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_accounts
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
11
+ - email@minhaempresa.com.br
12
12
  Authorization:
13
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
+ Accept:
15
+ - application/json
14
16
  Accept-Encoding:
15
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
- Accept:
17
- - "*/*"
18
18
  response:
19
19
  status:
20
20
  code: 200
@@ -24,37 +24,148 @@ http_interactions:
24
24
  - Cowboy
25
25
  Connection:
26
26
  - keep-alive
27
- Strict-Transport-Security:
28
- - max-age=2592000
29
- Total:
30
- - '1'
27
+ X-Frame-Options:
28
+ - DENY
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ X-Download-Options:
34
+ - noopen
35
+ X-Permitted-Cross-Domain-Policies:
36
+ - none
37
+ Referrer-Policy:
38
+ - strict-origin-when-cross-origin
39
+ Per-Page:
40
+ - '50'
41
+ Page:
42
+ - ''
31
43
  Content-Type:
32
44
  - application/json; charset=utf-8
33
45
  X-Ratelimit-Limit:
34
- - '500'
46
+ - '60'
35
47
  X-Ratelimit-Remaining:
36
- - '493'
48
+ - '40'
37
49
  Etag:
38
- - W/"ca330f75ba0317e3c3566f31bf76171f"
50
+ - W/"5e44eb383cb6312c8ddc693defeed0ca"
39
51
  Cache-Control:
40
52
  - must-revalidate, private, max-age=0
41
53
  X-Request-Id:
42
- - 5fb90b12-2fb2-4b98-9a1d-11c5decca367
54
+ - 33c01007-821c-4d75-b860-1ac5dd77d379
43
55
  X-Runtime:
44
- - '0.041115'
56
+ - '0.101580'
45
57
  Date:
46
- - Wed, 01 Apr 2015 17:47:58 GMT
58
+ - Tue, 13 Apr 2021 17:18:54 GMT
47
59
  X-Rack-Cache:
48
60
  - miss
61
+ Strict-Transport-Security:
62
+ - max-age=2629746
49
63
  Vary:
50
- - Accept-Encoding
64
+ - Origin,Accept-Encoding
51
65
  Transfer-Encoding:
52
66
  - chunked
53
67
  Via:
54
68
  - 1.1 vegur
55
69
  body:
56
70
  encoding: UTF-8
57
- string: '[{"id":1,"bank_contract_slug":"sicoob-02","next_our_number":"0000001","agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":null,"extra1_digit":null,"extra2":null,"extra2_digit":null}]'
58
- http_version:
59
- recorded_at: Wed, 01 Apr 2015 17:47:58 GMT
60
- recorded_with: VCR 2.9.3
71
+ string: '[{"id":3547,"bank_contract_slug":"itau-bs-109","next_our_number":70,"agency_number":"2332","agency_digit":"3","account_number":"12312","account_digit":"2","extra1":null,"extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"J
72
+ Calçados","beneficiary_cnpj_cpf":"74.766.527/0001-68","beneficiary_address":"Praça
73
+ dos Três Poderes, 171, - Zona Cívico-Administrativa, Brasília - DF, 70165900","name":"Itaú
74
+ 109 CC: 12312-2 ","status":"active","bank_contract":{"bank":{"code":"itau","name":"Itaú","number":"341"},"slug":"itau-bs-109","code":"109","sufix":"bs-109","variation":null,"name":"109"},"integration":false,"created_via_api":false,"homologated_at":"2021-04-09T09:43:18-03:00","next_remittance_number":3,"configuration":null,"default":true,"custom_name":"Itaú
75
+ 109 CC: 12312-2 ","kind":"cnab400","beneficiary_address_street":"Praça dos
76
+ Três Poderes","beneficiary_address_street_number":"171","beneficiary_address_complement":"","beneficiary_address_city":"Brasília","beneficiary_address_neighborhood":"Zona
77
+ Cívico-Administrativa","beneficiary_address_state":"DF","beneficiary_address_zipcode":"70165900","allow_expiration_on_weekends":false},{"id":3548,"bank_contract_slug":"caixa-rg","next_our_number":1,"agency_number":"1231","agency_digit":"1","account_number":"3123123","account_digit":"3","extra1":"1234134","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":"4324123","beneficiary_name":"J
78
+ Calçados S.A.","beneficiary_cnpj_cpf":"74.766.527/0001-68","beneficiary_address":"Praça
79
+ dos Três Poderes, , - Zona Cívico-Administrativa, Brasília - DF, 70165900","name":"Caixa
80
+ Econômica Federal RG CC: 3123123-3 1234134","status":"active","bank_contract":{"bank":{"code":"caixa","name":"Caixa
81
+ Econômica Federal","number":"104"},"slug":"caixa-rg","code":"1","sufix":"rg","variation":null,"name":"1
82
+ - Com Registro"},"integration":false,"created_via_api":false,"homologated_at":"2021-04-09T09:44:10-03:00","next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Caixa
83
+ Econômica Federal RG CC: 3123123-3 1234134","kind":"cnab400","beneficiary_address_street":"Praça
84
+ dos Três Poderes","beneficiary_address_street_number":"","beneficiary_address_complement":"","beneficiary_address_city":"Brasília","beneficiary_address_neighborhood":"Zona
85
+ Cívico-Administrativa","beneficiary_address_state":"DF","beneficiary_address_zipcode":"70165900","allow_expiration_on_weekends":false},{"id":3549,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
86
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
87
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
88
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
89
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
90
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
91
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
92
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3551,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
93
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
94
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
95
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
96
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
97
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
98
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
99
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3553,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
100
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
101
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
102
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
103
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
104
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
105
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
106
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3554,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
107
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
108
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
109
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
110
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
111
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
112
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
113
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3555,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
114
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
115
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
116
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
117
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
118
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
119
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
120
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3556,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
121
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
122
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
123
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
124
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
125
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
126
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
127
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3557,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
128
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
129
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
130
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
131
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
132
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
133
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
134
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3558,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
135
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
136
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
137
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
138
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
139
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
140
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
141
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3559,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
142
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
143
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
144
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
145
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
146
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
147
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
148
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3560,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
149
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
150
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
151
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
152
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
153
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
154
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
155
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3561,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
156
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
157
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
158
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
159
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
160
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
161
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
162
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false},{"id":3562,"bank_contract_slug":"sicoob-02","next_our_number":1,"agency_number":"4327","agency_digit":"3","account_number":"00003666","account_digit":"8","extra1":"1234567","extra1_digit":null,"extra2":null,"extra2_digit":null,"extra3":null,"beneficiary_name":"XPTO
163
+ S.A.","beneficiary_cnpj_cpf":"22.622.867/0001-11","beneficiary_address":"Rua
164
+ S, , - Moema, São Paulo - SP, 04524030","name":"Bancoob/Sicoob 02 CC: 00003666-8
165
+ 1234567","status":"pending","bank_contract":{"bank":{"code":"sicoob","name":"Bancoob/Sicoob","number":"756"},"slug":"sicoob-02","code":"2","sufix":"02","variation":null,"name":"1/02
166
+ - Simples Sem Registro"},"integration":false,"created_via_api":true,"homologated_at":null,"next_remittance_number":1,"configuration":null,"default":false,"custom_name":"Bancoob/Sicoob
167
+ 02 CC: 3666-8 1234567","kind":"cnab400","beneficiary_address_street":"Rua
168
+ S","beneficiary_address_street_number":null,"beneficiary_address_complement":null,"beneficiary_address_city":"São
169
+ Paulo","beneficiary_address_neighborhood":"Moema","beneficiary_address_state":"SP","beneficiary_address_zipcode":"04524030","allow_expiration_on_weekends":false}]'
170
+ recorded_at: Tue, 13 Apr 2021 17:18:54 GMT
171
+ recorded_with: VCR 6.0.0
@@ -2,21 +2,21 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_accounts?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_accounts
6
6
  body:
7
7
  encoding: UTF-8
8
- string: bank_billet_account%5Bbank_contract_slug%5D=
8
+ string: '{"bank_billet_account":{"bank_contract_slug":""}}'
9
9
  headers:
10
10
  User-Agent:
11
- - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
11
+ - email@minhaempresa.com.br
12
12
  Authorization:
13
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
14
  Content-Type:
15
- - application/x-www-form-urlencoded
15
+ - application/json
16
+ Accept:
17
+ - application/json
16
18
  Accept-Encoding:
17
19
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
- Accept:
19
- - "*/*"
20
20
  response:
21
21
  status:
22
22
  code: 422
@@ -26,34 +26,48 @@ http_interactions:
26
26
  - Cowboy
27
27
  Connection:
28
28
  - keep-alive
29
- Strict-Transport-Security:
30
- - max-age=2592000
29
+ X-Frame-Options:
30
+ - DENY
31
+ X-Xss-Protection:
32
+ - 1; mode=block
33
+ X-Content-Type-Options:
34
+ - nosniff
35
+ X-Download-Options:
36
+ - noopen
37
+ X-Permitted-Cross-Domain-Policies:
38
+ - none
39
+ Referrer-Policy:
40
+ - strict-origin-when-cross-origin
31
41
  Content-Type:
32
42
  - application/json; charset=utf-8
33
43
  X-Ratelimit-Limit:
34
- - '500'
44
+ - '1000'
35
45
  X-Ratelimit-Remaining:
36
- - '495'
46
+ - '979'
37
47
  Cache-Control:
38
48
  - no-cache
39
49
  X-Request-Id:
40
- - f05ec95b-ec7e-4f61-9f65-a0c72dd8a5a8
50
+ - bc01842f-c34d-48dd-8d42-59cf87749e43
41
51
  X-Runtime:
42
- - '0.046546'
52
+ - '0.123919'
43
53
  Date:
44
- - Wed, 01 Apr 2015 17:47:56 GMT
54
+ - Tue, 13 Apr 2021 17:18:51 GMT
45
55
  X-Rack-Cache:
46
56
  - invalidate, pass
57
+ Strict-Transport-Security:
58
+ - max-age=2629746
47
59
  Vary:
48
- - Accept-Encoding
60
+ - Origin,Accept-Encoding
49
61
  Transfer-Encoding:
50
62
  - chunked
51
63
  Via:
52
64
  - 1.1 vegur
53
65
  body:
54
66
  encoding: UTF-8
55
- string: '{"errors":{"agency_number":["não pode ficar em branco"],"account_number":["não
56
- pode ficar em branco"],"bank_contract_slug":["não pode ficar em branco"]}}'
57
- http_version:
58
- recorded_at: Wed, 01 Apr 2015 17:47:56 GMT
59
- recorded_with: VCR 2.9.3
67
+ string: '{"errors":{"bank_contract_slug":["não pode ficar em branco"],"beneficiary_name":["não
68
+ pode ficar em branco"],"beneficiary_cnpj_cpf":["não pode ficar em branco"],"beneficiary_address_street":["não
69
+ pode ficar em branco"],"beneficiary_address_city":["não pode ficar em branco"],"beneficiary_address_neighborhood":["não
70
+ pode ficar em branco"],"beneficiary_address_state":["não pode ficar em branco"],"beneficiary_address_zipcode":["não
71
+ pode ficar em branco"]}}'
72
+ recorded_at: Tue, 13 Apr 2021 17:18:51 GMT
73
+ recorded_with: VCR 6.0.0
@@ -2,21 +2,21 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_accounts?access_token=BOLETOSIMPLES_ACCESS_TOKEN
5
+ uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_accounts
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ''
8
+ string: '{"bank_billet_account":{}}'
9
9
  headers:
10
10
  User-Agent:
11
- - BoletoSimples Ruby Client v0.1.0 (contato@boletosimples.com.br)
11
+ - email@minhaempresa.com.br
12
12
  Authorization:
13
- - Token token="BOLETOSIMPLES_ACCESS_TOKEN"
13
+ - Bearer BOLETOSIMPLES_API_TOKEN
14
14
  Content-Type:
15
- - application/x-www-form-urlencoded
15
+ - application/json
16
+ Accept:
17
+ - application/json
16
18
  Accept-Encoding:
17
19
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
- Accept:
19
- - "*/*"
20
20
  response:
21
21
  status:
22
22
  code: 422
@@ -26,33 +26,44 @@ http_interactions:
26
26
  - Cowboy
27
27
  Connection:
28
28
  - keep-alive
29
- Strict-Transport-Security:
30
- - max-age=2592000
29
+ X-Frame-Options:
30
+ - DENY
31
+ X-Xss-Protection:
32
+ - 1; mode=block
33
+ X-Content-Type-Options:
34
+ - nosniff
35
+ X-Download-Options:
36
+ - noopen
37
+ X-Permitted-Cross-Domain-Policies:
38
+ - none
39
+ Referrer-Policy:
40
+ - strict-origin-when-cross-origin
31
41
  Content-Type:
32
42
  - application/json; charset=utf-8
33
43
  X-Ratelimit-Limit:
34
- - '500'
44
+ - '1000'
35
45
  X-Ratelimit-Remaining:
36
- - '494'
46
+ - '978'
37
47
  Cache-Control:
38
48
  - no-cache
39
49
  X-Request-Id:
40
- - fd24cd69-8708-4881-a986-3ac26f089806
50
+ - 510d2174-9d72-462c-b9f5-e542a814a13c
41
51
  X-Runtime:
42
- - '0.025828'
52
+ - '0.150942'
43
53
  Date:
44
- - Wed, 01 Apr 2015 17:47:57 GMT
54
+ - Tue, 13 Apr 2021 17:18:52 GMT
45
55
  X-Rack-Cache:
46
56
  - invalidate, pass
57
+ Strict-Transport-Security:
58
+ - max-age=2629746
47
59
  Vary:
48
- - Accept-Encoding
60
+ - Origin,Accept-Encoding
49
61
  Transfer-Encoding:
50
62
  - chunked
51
63
  Via:
52
64
  - 1.1 vegur
53
65
  body:
54
66
  encoding: UTF-8
55
- string: '{"errors":{"bank_billet_account":["não pode ficar em branco"]}}'
56
- http_version:
57
- recorded_at: Wed, 01 Apr 2015 17:47:57 GMT
58
- recorded_with: VCR 2.9.3
67
+ string: '{"errors":[{"title":"bank_billet_account não pode ficar em branco","status":422,"code":422}]}'
68
+ recorded_at: Tue, 13 Apr 2021 17:18:52 GMT
69
+ recorded_with: VCR 6.0.0