boletosimples 0.6.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +34 -0
- data/.rspec +3 -0
- data/.rubocop.yml +9 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +6 -20
- data/Gemfile +2 -0
- data/README.md +12 -54
- data/Rakefile +3 -1
- data/boletosimples.gemspec +14 -11
- data/lib/boletosimples.rb +4 -6
- data/lib/boletosimples/configuration.rb +14 -25
- data/lib/boletosimples/last_request.rb +12 -9
- data/lib/boletosimples/middlewares/bearer.rb +12 -0
- data/lib/boletosimples/middlewares/last_request.rb +3 -1
- data/lib/boletosimples/middlewares/raise_error.rb +9 -2
- data/lib/boletosimples/middlewares/user_agent.rb +3 -1
- data/lib/boletosimples/resources/bank_billet.rb +5 -11
- data/lib/boletosimples/resources/bank_billet_account.rb +3 -1
- data/lib/boletosimples/resources/bank_billet_discharge.rb +3 -1
- data/lib/boletosimples/resources/bank_billet_payment.rb +3 -1
- data/lib/boletosimples/resources/bank_billet_remittance.rb +3 -1
- data/lib/boletosimples/resources/base_model.rb +3 -1
- data/lib/boletosimples/resources/customer.rb +3 -1
- data/lib/boletosimples/resources/customer_import.rb +5 -3
- data/lib/boletosimples/resources/customer_subscription.rb +3 -10
- data/lib/boletosimples/resources/customer_subscription_import.rb +5 -3
- data/lib/boletosimples/resources/discharge.rb +4 -11
- data/lib/boletosimples/resources/email_delivery.rb +3 -1
- data/lib/boletosimples/resources/event.rb +3 -1
- data/lib/boletosimples/resources/installment.rb +3 -1
- data/lib/boletosimples/resources/remittance.rb +3 -1
- data/lib/boletosimples/resources/sms_delivery.rb +6 -0
- data/lib/boletosimples/resources/transaction.rb +3 -1
- data/lib/boletosimples/resources/webhook.rb +3 -1
- data/lib/boletosimples/resources/webhook_delivery.rb +3 -1
- data/lib/boletosimples/response_error.rb +8 -3
- data/lib/boletosimples/version.rb +3 -1
- data/spec/boletosimples/configuration_spec.rb +71 -101
- data/spec/boletosimples/last_request_spec.rb +16 -28
- data/spec/boletosimples/resources/bank_billet_account_spec.rb +57 -33
- data/spec/boletosimples/resources/bank_billet_discharge_spec.rb +7 -12
- data/spec/boletosimples/resources/bank_billet_payment_spec.rb +7 -12
- data/spec/boletosimples/resources/bank_billet_remittance_spec.rb +7 -12
- data/spec/boletosimples/resources/bank_billet_spec.rb +56 -42
- data/spec/boletosimples/resources/customer_import_spec.rb +41 -30
- data/spec/boletosimples/resources/customer_spec.rb +52 -39
- data/spec/boletosimples/resources/customer_subscription_import_spec.rb +41 -30
- data/spec/boletosimples/resources/customer_subscription_spec.rb +61 -33
- data/spec/boletosimples/resources/discharge_spec.rb +64 -11
- data/spec/boletosimples/resources/email_delivery_spec.rb +6 -11
- data/spec/boletosimples/resources/event_spec.rb +7 -12
- data/spec/boletosimples/resources/installment_spec.rb +61 -32
- data/spec/boletosimples/resources/remittance_spec.rb +7 -12
- data/spec/boletosimples/resources/sms_delivery_spec.rb +12 -0
- data/spec/boletosimples/resources/transactions_spec.rb +7 -12
- data/spec/boletosimples/resources/webhook_delivery_spec.rb +7 -12
- data/spec/boletosimples/resources/webhook_spec.rb +7 -12
- data/spec/fixtures/discharge.RET +3 -0
- data/spec/fixtures/vcr_cassettes/last_request/bank_billets.yml +536 -88
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/all.yml +537 -91
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/success.yml +34 -92
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_params.yml +32 -20
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/invalid_root.yml +28 -17
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/create/valid.yml +43 -27
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/duplicate/success.yml +83 -0
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/find.yml +51 -27
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/all.yml +131 -20
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_params.yml +34 -20
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/invalid_root.yml +30 -19
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/create/valid.yml +41 -21
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_account/find.yml +38 -18
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_discharge/all.yml +66 -47
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_payment/all.yml +44 -42
- data/spec/fixtures/vcr_cassettes/resources/bank_billet_remittance/all.yml +95 -48
- data/spec/fixtures/vcr_cassettes/resources/customer/all.yml +79 -32
- data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_params.yml +30 -17
- data/spec/fixtures/vcr_cassettes/resources/customer/create/invalid_root.yml +28 -17
- data/spec/fixtures/vcr_cassettes/resources/customer/create/valid.yml +33 -21
- data/spec/fixtures/vcr_cassettes/resources/customer/find.yml +33 -19
- data/spec/fixtures/vcr_cassettes/resources/customer_import/all.yml +43 -60
- data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_params.yml +37 -51
- data/spec/fixtures/vcr_cassettes/resources/customer_import/create/invalid_root.yml +38 -52
- data/spec/fixtures/vcr_cassettes/resources/customer_import/create/valid.yml +43 -68
- data/spec/fixtures/vcr_cassettes/resources/customer_import/find.yml +40 -54
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/all.yml +102 -52
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_params.yml +40 -50
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/invalid_root.yml +36 -48
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/create/valid.yml +48 -53
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/find.yml +44 -50
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription/next_charge.yml +45 -133
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/all.yml +44 -55
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_params.yml +37 -52
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/invalid_root.yml +39 -53
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/create/valid.yml +43 -70
- data/spec/fixtures/vcr_cassettes/resources/customer_subscription_import/find.yml +40 -55
- data/spec/fixtures/vcr_cassettes/resources/discharge/all.yml +64 -33
- data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_params.yml +70 -0
- data/spec/fixtures/vcr_cassettes/resources/discharge/create/invalid_root.yml +69 -0
- data/spec/fixtures/vcr_cassettes/resources/discharge/create/valid.yml +84 -0
- data/spec/fixtures/vcr_cassettes/resources/discharge/find.yml +71 -0
- data/spec/fixtures/vcr_cassettes/resources/email_delivery/all.yml +40 -43
- data/spec/fixtures/vcr_cassettes/resources/event/all.yml +490 -166
- data/spec/fixtures/vcr_cassettes/resources/installment/all.yml +418 -52
- data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_params.yml +41 -52
- data/spec/fixtures/vcr_cassettes/resources/installment/create/invalid_root.yml +36 -48
- data/spec/fixtures/vcr_cassettes/resources/installment/create/valid.yml +48 -53
- data/spec/fixtures/vcr_cassettes/resources/installment/find.yml +44 -52
- data/spec/fixtures/vcr_cassettes/resources/remittance/all.yml +53 -33
- data/spec/fixtures/vcr_cassettes/resources/sns_delivery/all.yml +73 -0
- data/spec/fixtures/vcr_cassettes/resources/transaction/all.yml +34 -22
- data/spec/fixtures/vcr_cassettes/resources/web_hook/all.yml +42 -33
- data/spec/fixtures/vcr_cassettes/resources/webhook_delivery/all.yml +1232 -54
- data/spec/spec_helper.rb +3 -20
- data/spec/support/stub_env.rb +7 -0
- data/spec/support/vcr.rb +3 -4
- metadata +87 -52
- data/.coveralls.yml +0 -2
- data/.travis.yml +0 -46
- data/gemfiles/rails_42.gemfile +0 -8
- data/gemfiles/rails_50.gemfile +0 -8
- data/gemfiles/rails_51.gemfile +0 -8
- data/gemfiles/rails_52.gemfile +0 -9
- data/lib/boletosimples/extra.rb +0 -8
- data/lib/boletosimples/resources/partner/user.rb +0 -7
- data/lib/oauth2_patch.rb +0 -24
- data/spec/boletosimples/extra_spec.rb +0 -31
- data/spec/boletosimples/resources/partner/user_spec.rb +0 -19
- data/spec/fixtures/vcr_cassettes/configuration/client_credentials/invalid.yml +0 -64
- data/spec/fixtures/vcr_cassettes/configuration/client_credentials/valid.yml +0 -56
- data/spec/fixtures/vcr_cassettes/extra/userinfo/authenticated.yml +0 -58
- data/spec/fixtures/vcr_cassettes/extra/userinfo/not_authenticated.yml +0 -54
- data/spec/fixtures/vcr_cassettes/last_request/userinfo.yml +0 -58
- data/spec/fixtures/vcr_cassettes/resources/bank_billet/cancel/failure.yml +0 -118
- data/spec/fixtures/vcr_cassettes/resources/partner/user/create.yml +0 -60
- data/spec/spec.opts +0 -8
@@ -2,78 +2,125 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_remittances
|
5
|
+
uri: https://sandbox.boletosimples.com.br/api/v1/bank_billet_remittances
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- email@minhaempresa.com.br
|
12
12
|
Authorization:
|
13
|
-
-
|
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
|
21
21
|
message: OK
|
22
22
|
headers:
|
23
|
+
Server:
|
24
|
+
- Cowboy
|
23
25
|
Connection:
|
24
26
|
- keep-alive
|
25
|
-
|
26
|
-
-
|
27
|
-
Transfer-Encoding:
|
28
|
-
- chunked
|
29
|
-
Status:
|
30
|
-
- 200 OK
|
31
|
-
Cache-Control:
|
32
|
-
- must-revalidate, private, max-age=0
|
33
|
-
Date:
|
34
|
-
- Fri, 14 Dec 2018 19:23:00 GMT
|
35
|
-
Vary:
|
36
|
-
- Origin,Accept-Encoding
|
37
|
-
Strict-Transport-Security:
|
38
|
-
- max-age=2629746
|
39
|
-
Referrer-Policy:
|
40
|
-
- strict-origin-when-cross-origin
|
41
|
-
X-Permitted-Cross-Domain-Policies:
|
42
|
-
- none
|
27
|
+
X-Frame-Options:
|
28
|
+
- DENY
|
43
29
|
X-Xss-Protection:
|
44
30
|
- 1; mode=block
|
45
|
-
X-
|
46
|
-
-
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
47
33
|
X-Download-Options:
|
48
34
|
- noopen
|
49
|
-
|
50
|
-
-
|
35
|
+
X-Permitted-Cross-Domain-Policies:
|
36
|
+
- none
|
37
|
+
Referrer-Policy:
|
38
|
+
- strict-origin-when-cross-origin
|
39
|
+
Link:
|
40
|
+
- <https://sandbox.boletosimples.com.br/api/v1/bank_billet_remittances?page=2>;
|
41
|
+
rel="next"
|
42
|
+
Per-Page:
|
43
|
+
- '50'
|
44
|
+
Page:
|
45
|
+
- ''
|
46
|
+
Content-Type:
|
47
|
+
- application/json; charset=utf-8
|
48
|
+
X-Ratelimit-Limit:
|
49
|
+
- '60'
|
50
|
+
X-Ratelimit-Remaining:
|
51
|
+
- '36'
|
51
52
|
Etag:
|
52
|
-
- W/"
|
53
|
-
|
54
|
-
-
|
53
|
+
- W/"61a58e3e0b8ce637f9a1a286ee2a6a70"
|
54
|
+
Cache-Control:
|
55
|
+
- must-revalidate, private, max-age=0
|
56
|
+
X-Request-Id:
|
57
|
+
- b7de9a4e-83ad-4a54-9995-3c52c34c2e4b
|
55
58
|
X-Runtime:
|
56
|
-
- '0.
|
57
|
-
|
58
|
-
-
|
59
|
+
- '0.071825'
|
60
|
+
Date:
|
61
|
+
- Tue, 13 Apr 2021 17:19:01 GMT
|
59
62
|
X-Rack-Cache:
|
60
63
|
- miss
|
61
|
-
|
62
|
-
-
|
63
|
-
|
64
|
-
-
|
64
|
+
Strict-Transport-Security:
|
65
|
+
- max-age=2629746
|
66
|
+
Vary:
|
67
|
+
- Origin,Accept-Encoding
|
68
|
+
Transfer-Encoding:
|
69
|
+
- chunked
|
65
70
|
Via:
|
66
71
|
- 1.1 vegur
|
67
72
|
body:
|
68
73
|
encoding: UTF-8
|
69
|
-
string: '[{"id":
|
70
|
-
de Título","created_at":"
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
74
|
+
string: '[{"id":348220,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382372,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
75
|
+
de Título","created_at":"2021-04-13T14:18:55-03:00"},{"id":348219,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382371,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
76
|
+
de Título","created_at":"2021-04-13T14:18:48-03:00"},{"id":348218,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382370,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
77
|
+
de Título","created_at":"2021-04-13T14:18:47-03:00"},{"id":348198,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382350,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
78
|
+
de Título","created_at":"2021-04-13T11:44:34-03:00"},{"id":348196,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382348,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
79
|
+
de Título","created_at":"2021-04-13T11:43:57-03:00"},{"id":348195,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382347,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
80
|
+
de Título","created_at":"2021-04-13T11:43:55-03:00"},{"id":348194,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382346,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
81
|
+
de Título","created_at":"2021-04-13T11:43:53-03:00"},{"id":348193,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382345,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
82
|
+
de Título","created_at":"2021-04-13T11:40:22-03:00"},{"id":348192,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382344,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
83
|
+
de Título","created_at":"2021-04-13T11:40:16-03:00"},{"id":348191,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382343,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
84
|
+
de Título","created_at":"2021-04-13T11:40:13-03:00"},{"id":348190,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382342,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
85
|
+
de Título","created_at":"2021-04-13T11:40:13-03:00"},{"id":348187,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382338,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
86
|
+
de Título","created_at":"2021-04-13T11:38:13-03:00"},{"id":348185,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382336,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
87
|
+
de Título","created_at":"2021-04-13T11:38:07-03:00"},{"id":348184,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382335,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
88
|
+
de Título","created_at":"2021-04-13T11:38:05-03:00"},{"id":348182,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382333,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
89
|
+
de Título","created_at":"2021-04-13T11:35:50-03:00"},{"id":348180,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382331,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
90
|
+
de Título","created_at":"2021-04-13T11:35:35-03:00"},{"id":348179,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382330,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
91
|
+
de Título","created_at":"2021-04-13T11:35:33-03:00"},{"id":348178,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382329,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
92
|
+
de Título","created_at":"2021-04-13T11:35:30-03:00"},{"id":348177,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382328,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
93
|
+
de Título","created_at":"2021-04-13T11:26:44-03:00"},{"id":348176,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382327,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
94
|
+
de Título","created_at":"2021-04-13T11:26:42-03:00"},{"id":348175,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382326,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
95
|
+
de Título","created_at":"2021-04-13T11:26:40-03:00"},{"id":348173,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382324,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
96
|
+
de Título","created_at":"2021-04-13T11:26:26-03:00"},{"id":348171,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382322,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
97
|
+
de Título","created_at":"2021-04-13T11:22:33-03:00"},{"id":348170,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382321,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
98
|
+
de Título","created_at":"2021-04-13T11:21:49-03:00"},{"id":348169,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382320,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
99
|
+
de Título","created_at":"2021-04-13T11:21:47-03:00"},{"id":348168,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382319,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
100
|
+
de Título","created_at":"2021-04-13T11:21:45-03:00"},{"id":348167,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382318,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
101
|
+
de Título","created_at":"2021-04-13T11:11:00-03:00"},{"id":348166,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382317,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
102
|
+
de Título","created_at":"2021-04-13T11:11:00-03:00"},{"id":348165,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382316,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
103
|
+
de Título","created_at":"2021-04-13T11:10:58-03:00"},{"id":348163,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382314,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
104
|
+
de Título","created_at":"2021-04-13T11:10:25-03:00"},{"id":348159,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382309,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
105
|
+
de Título","created_at":"2021-04-13T11:03:04-03:00"},{"id":348157,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382307,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
106
|
+
de Título","created_at":"2021-04-13T10:57:52-03:00"},{"id":348156,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382306,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
107
|
+
de Título","created_at":"2021-04-13T10:57:46-03:00"},{"id":348155,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382305,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
108
|
+
de Título","created_at":"2021-04-13T10:57:43-03:00"},{"id":348154,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382304,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
109
|
+
de Título","created_at":"2021-04-13T10:57:35-03:00"},{"id":348153,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382303,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
110
|
+
de Título","created_at":"2021-04-13T10:55:34-03:00"},{"id":348152,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382302,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
111
|
+
de Título","created_at":"2021-04-13T10:55:28-03:00"},{"id":348151,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382301,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
112
|
+
de Título","created_at":"2021-04-13T10:55:27-03:00"},{"id":348150,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382300,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
113
|
+
de Título","created_at":"2021-04-13T10:55:10-03:00"},{"id":348137,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382282,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
114
|
+
de Título","created_at":"2021-04-13T10:00:42-03:00"},{"id":348136,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382281,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
115
|
+
de Título","created_at":"2021-04-13T10:00:35-03:00"},{"id":348135,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382280,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
116
|
+
de Título","created_at":"2021-04-13T10:00:33-03:00"},{"id":348134,"our_code":"1001","occurrence":"01","remittance_id":null,"bank_billet_id":382279,"bank_billet_account_id":3547,"processed_at":null,"occurrence_detail":"Entrada
|
117
|
+
de Título","created_at":"2021-04-13T10:00:30-03:00"},{"id":348119,"our_code":"1034","occurrence":"34","remittance_id":2350,"bank_billet_id":382264,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Pago
|
118
|
+
diretamente ao beneficiário","created_at":"2021-04-13T09:30:20-03:00"},{"id":348118,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382264,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
|
119
|
+
de Título","created_at":"2021-04-13T09:27:31-03:00"},{"id":348117,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382263,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
|
120
|
+
de Título","created_at":"2021-04-13T09:27:25-03:00"},{"id":348116,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382262,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
|
121
|
+
de Título","created_at":"2021-04-13T09:27:23-03:00"},{"id":348115,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382261,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
|
122
|
+
de Título","created_at":"2021-04-13T09:27:23-03:00"},{"id":347983,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382122,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
|
123
|
+
de Título","created_at":"2021-04-12T11:55:20-03:00"},{"id":347982,"our_code":"1001","occurrence":"01","remittance_id":2350,"bank_billet_id":382121,"bank_billet_account_id":3547,"processed_at":"2021-04-13T09:30:40-03:00","occurrence_detail":"Entrada
|
124
|
+
de Título","created_at":"2021-04-12T11:55:18-03:00"}]'
|
125
|
+
recorded_at: Tue, 13 Apr 2021 17:19:01 GMT
|
126
|
+
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/customers
|
5
|
+
uri: https://sandbox.boletosimples.com.br/api/v1/customers
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- email@minhaempresa.com.br
|
12
12
|
Authorization:
|
13
|
-
-
|
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,49 +24,96 @@ http_interactions:
|
|
24
24
|
- Cowboy
|
25
25
|
Connection:
|
26
26
|
- keep-alive
|
27
|
-
|
28
|
-
-
|
29
|
-
|
30
|
-
-
|
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
|
-
- '
|
46
|
+
- '60'
|
35
47
|
X-Ratelimit-Remaining:
|
36
|
-
- '
|
48
|
+
- '32'
|
37
49
|
Etag:
|
38
|
-
- W/"
|
50
|
+
- W/"667a693af60595f15bccf9f8562b85cd"
|
39
51
|
Cache-Control:
|
40
52
|
- must-revalidate, private, max-age=0
|
41
53
|
X-Request-Id:
|
42
|
-
-
|
54
|
+
- 45f986c4-9cd6-4a4c-a891-89f48e51565f
|
43
55
|
X-Runtime:
|
44
|
-
- '0.
|
56
|
+
- '0.033612'
|
45
57
|
Date:
|
46
|
-
-
|
58
|
+
- Tue, 13 Apr 2021 17:19:10 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":
|
58
|
-
quinhentos","address_complement":"Sala 4","address_number":"111","mobile_number":null,"cnpj_cpf":"
|
59
|
-
|
60
|
-
de Janeiro","person_name":"Joao da Silva","address":"Rua quinhentos","address_complement":"Sala
|
61
|
-
4","address_number":"111","mobile_number":null,"cnpj_cpf":"
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
de Janeiro","person_name":"
|
68
|
-
4","address_number":"111","mobile_number":null,"cnpj_cpf":"
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
71
|
+
string: '[{"id":80702,"city_name":"Rio de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua
|
72
|
+
quinhentos","address_complement":"Sala 4","address_number":"111","mobile_number":null,"cnpj_cpf":"811.536.151-85","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
73
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80703,"city_name":"Rio
|
74
|
+
de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
75
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"18.033.842/0001-05","email":"cliente@example.com","neighborhood":"Sao
|
76
|
+
Francisco","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
77
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80706,"city_name":"Rio
|
78
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
79
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"02.854.339/0001-80","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
80
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80707,"city_name":"Rio
|
81
|
+
de Janeiro","person_name":"Joao da Silva","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
82
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"34.565.715/0001-03","email":"cliente@example.com","neighborhood":"Sao
|
83
|
+
Francisco","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
84
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80767,"city_name":"Rio
|
85
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
86
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"48.350.663/0001-62","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
87
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80809,"city_name":"Rio
|
88
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
89
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"75.587.633/0001-47","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
90
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80810,"city_name":"Rio
|
91
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
92
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"61.711.627/0001-45","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
93
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80811,"city_name":"Rio
|
94
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
95
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"12.120.044/0001-34","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
96
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80812,"city_name":"Rio
|
97
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
98
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"79.270.635/0001-69","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
99
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80816,"city_name":"Rio
|
100
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
101
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"73.197.200/0001-50","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
102
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80818,"city_name":"Rio
|
103
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
104
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"64.186.371/0001-92","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
105
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80820,"city_name":"Rio
|
106
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
107
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"20.341.932/0001-05","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
108
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80821,"city_name":"Rio
|
109
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
110
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"74.286.849/0001-00","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
111
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80822,"city_name":"Rio
|
112
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
113
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"01.588.073/0001-09","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
114
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null},{"id":80825,"city_name":"Rio
|
115
|
+
de Janeiro","person_name":"Maria José","nickname":null,"address":"Rua quinhentos","address_complement":"Sala
|
116
|
+
4","address_number":"111","mobile_number":null,"cnpj_cpf":"54.872.822/0001-91","email":"cliente@example.com","neighborhood":"bairro","phone_number":"2112123434","zipcode":"12312123","mobile_local_code":null,"notes":null,"state":"RJ","created_via_api":true,"email_cc":null,"contact_person":null,"truncated_address":"Rua
|
117
|
+
quinhentos, 111","external_code":null,"tags":[],"tag_list":"","custom_data":null}]'
|
118
|
+
recorded_at: Tue, 13 Apr 2021 17:19:10 GMT
|
119
|
+
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/customers
|
5
|
+
uri: https://sandbox.boletosimples.com.br/api/v1/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"customer":{"person_name":""}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- email@minhaempresa.com.br
|
12
12
|
Authorization:
|
13
|
-
-
|
13
|
+
- Bearer BOLETOSIMPLES_API_TOKEN
|
14
14
|
Content-Type:
|
15
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,26 +26,38 @@ http_interactions:
|
|
26
26
|
- Cowboy
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
|
-
|
30
|
-
-
|
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
|
-
- '
|
44
|
+
- '1000'
|
35
45
|
X-Ratelimit-Remaining:
|
36
|
-
- '
|
46
|
+
- '972'
|
37
47
|
Cache-Control:
|
38
48
|
- no-cache
|
39
49
|
X-Request-Id:
|
40
|
-
-
|
50
|
+
- b9e6e5c7-8f5b-41ee-94fa-6ec5bc1c15e5
|
41
51
|
X-Runtime:
|
42
|
-
- '0.
|
52
|
+
- '0.026849'
|
43
53
|
Date:
|
44
|
-
-
|
54
|
+
- Tue, 13 Apr 2021 17:19:11 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:
|
@@ -53,7 +65,8 @@ http_interactions:
|
|
53
65
|
body:
|
54
66
|
encoding: UTF-8
|
55
67
|
string: '{"errors":{"person_name":["não pode ficar em branco"],"cnpj_cpf":["não
|
56
|
-
pode ficar em branco"],"zipcode":["não pode ficar em branco"]
|
57
|
-
|
58
|
-
|
59
|
-
|
68
|
+
pode ficar em branco"],"zipcode":["não pode ficar em branco"],"address":["não
|
69
|
+
pode ficar em branco"],"neighborhood":["não pode ficar em branco"],"city_name":["não
|
70
|
+
pode ficar em branco"],"state":["não está incluído na lista"]}}'
|
71
|
+
recorded_at: Tue, 13 Apr 2021 17:19:11 GMT
|
72
|
+
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/customers
|
5
|
+
uri: https://sandbox.boletosimples.com.br/api/v1/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"customer":{}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
-
|
11
|
+
- email@minhaempresa.com.br
|
12
12
|
Authorization:
|
13
|
-
-
|
13
|
+
- Bearer BOLETOSIMPLES_API_TOKEN
|
14
14
|
Content-Type:
|
15
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
|
-
|
30
|
-
-
|
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
|
-
- '
|
44
|
+
- '1000'
|
35
45
|
X-Ratelimit-Remaining:
|
36
|
-
- '
|
46
|
+
- '971'
|
37
47
|
Cache-Control:
|
38
48
|
- no-cache
|
39
49
|
X-Request-Id:
|
40
|
-
-
|
50
|
+
- 11cbaf30-2b23-4517-a48e-f38050c17f17
|
41
51
|
X-Runtime:
|
42
|
-
- '0.
|
52
|
+
- '0.017993'
|
43
53
|
Date:
|
44
|
-
-
|
54
|
+
- Tue, 13 Apr 2021 17:19:12 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":{"
|
56
|
-
|
57
|
-
|
58
|
-
recorded_with: VCR 2.9.3
|
67
|
+
string: '{"errors":[{"title":"customer não pode ficar em branco","status":422,"code":422}]}'
|
68
|
+
recorded_at: Tue, 13 Apr 2021 17:19:12 GMT
|
69
|
+
recorded_with: VCR 6.0.0
|