jortt 4.2.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +1 -3
- data/README.md +45 -151
- data/Rakefile +0 -1
- data/jortt.gemspec +6 -6
- data/lib/jortt.rb +0 -1
- data/lib/jortt/client.rb +65 -16
- data/lib/jortt/client/customers.rb +56 -49
- data/lib/jortt/client/error.rb +33 -0
- data/lib/jortt/client/invoices.rb +41 -38
- data/lib/jortt/client/ledger_accounts.rb +27 -0
- data/lib/jortt/client/version.rb +1 -2
- data/spec/fixtures/vcr_cassettes/Jortt/_client/1_1_1.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client/configured/_customers/1_1_1_1.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client/configured/_invoices/1_1_2_1.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client/configured/_ledger_accounts/1_1_3_1.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_create/faulty_payload/shows_a_nice_error.yml +413 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_create/valid_payload/creates_the_customer.yml +505 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_delete/deletes_the_customer.yml +505 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_direct_debit_mandate/sends_direct_debit_mandate_to_the_customer_or_responds_with_an_error_when_not_possible.yml +470 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_index/query/returns_the_queried_customers.yml +464 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_index/without_params/returns_customers.yml +415 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_show/returns_the_customer.yml +464 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_update/updates_the_customer.yml +603 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_create/creates_the_invoice.yml +170 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_download/returns_the_invoice_download_link.yml +168 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_index/invoice_status/returns_those_invoices.yml +776 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_index/query/returns_the_queried_invoices.yml +315 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_show/returns_the_invoice.yml +421 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_LedgerAccounts/_index/returns_invoices.yml +118 -0
- data/spec/jortt/client/customers_spec.rb +82 -37
- data/spec/jortt/client/invoices_spec.rb +105 -26
- data/spec/jortt/client/ledger_accounts_spec.rb +19 -0
- data/spec/jortt/client_spec.rb +5 -27
- data/spec/jortt_spec.rb +2 -3
- data/spec/spec_helper.rb +18 -4
- metadata +72 -37
- data/.rubocop.yml +0 -26
- data/lib/jortt/client/invoice.rb +0 -50
- data/spec/jortt/client/invoice_spec.rb +0 -23
@@ -0,0 +1,470 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.jortt.nl/customers/a5c1259e-b49f-429d-aa41-b14275dc7454/direct_debit_mandate
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v1.0.1
|
12
|
+
Content-Length:
|
13
|
+
- '0'
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 422
|
21
|
+
message: Unprocessable Entity
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Thu, 24 Sep 2020 15:02:55 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Content-Length:
|
28
|
+
- '297'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Server:
|
32
|
+
- Apache
|
33
|
+
Status:
|
34
|
+
- 422 Unprocessable Entity
|
35
|
+
Content-Security-Policy:
|
36
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
37
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
38
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
39
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
40
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
41
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
42
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
43
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
44
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
45
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
46
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
47
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
48
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
49
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
50
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
51
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
52
|
+
body:
|
53
|
+
encoding: UTF-8
|
54
|
+
string: '{"error":{"code":422,"key":"operation.invalid","message":"The operation
|
55
|
+
could not be executed on the resource.","details":[{"key":"DirectDebit::NotEnabled","message":"To
|
56
|
+
use direct debit as a payment method in an invoice, you need the payment method
|
57
|
+
SEPA Direct Debit to be enabled at Mollie."}]}}'
|
58
|
+
recorded_at: Thu, 24 Sep 2020 15:02:55 GMT
|
59
|
+
- request:
|
60
|
+
method: delete
|
61
|
+
uri: https://api.jortt.nl/customers/a5c1259e-b49f-429d-aa41-b14275dc7454
|
62
|
+
body:
|
63
|
+
encoding: US-ASCII
|
64
|
+
string: ''
|
65
|
+
headers:
|
66
|
+
User-Agent:
|
67
|
+
- Faraday v1.0.1
|
68
|
+
Accept-Encoding:
|
69
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
70
|
+
Accept:
|
71
|
+
- "*/*"
|
72
|
+
response:
|
73
|
+
status:
|
74
|
+
code: 204
|
75
|
+
message: No Content
|
76
|
+
headers:
|
77
|
+
Date:
|
78
|
+
- Thu, 24 Sep 2020 15:02:55 GMT
|
79
|
+
Connection:
|
80
|
+
- keep-alive
|
81
|
+
Server:
|
82
|
+
- Apache
|
83
|
+
Status:
|
84
|
+
- 204 No Content
|
85
|
+
Content-Security-Policy:
|
86
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
87
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
88
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
89
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
90
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
91
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
92
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
93
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
94
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
95
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
96
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
97
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
98
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
99
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
100
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
101
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
102
|
+
body:
|
103
|
+
encoding: UTF-8
|
104
|
+
string: ''
|
105
|
+
recorded_at: Thu, 24 Sep 2020 15:02:55 GMT
|
106
|
+
- request:
|
107
|
+
method: delete
|
108
|
+
uri: https://api.jortt.nl/customers/55914cf0-81c2-4a0c-a3bb-b3bbeca26a91
|
109
|
+
body:
|
110
|
+
encoding: US-ASCII
|
111
|
+
string: ''
|
112
|
+
headers:
|
113
|
+
User-Agent:
|
114
|
+
- Faraday v1.0.1
|
115
|
+
Accept-Encoding:
|
116
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
117
|
+
Accept:
|
118
|
+
- "*/*"
|
119
|
+
response:
|
120
|
+
status:
|
121
|
+
code: 204
|
122
|
+
message: No Content
|
123
|
+
headers:
|
124
|
+
Date:
|
125
|
+
- Thu, 24 Sep 2020 15:02:55 GMT
|
126
|
+
Connection:
|
127
|
+
- keep-alive
|
128
|
+
Server:
|
129
|
+
- Apache
|
130
|
+
Status:
|
131
|
+
- 204 No Content
|
132
|
+
Content-Security-Policy:
|
133
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
134
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
135
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
136
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
137
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
138
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
139
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
140
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
141
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
142
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
143
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
144
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
145
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
146
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
147
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
148
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
149
|
+
body:
|
150
|
+
encoding: UTF-8
|
151
|
+
string: ''
|
152
|
+
recorded_at: Thu, 24 Sep 2020 15:02:55 GMT
|
153
|
+
- request:
|
154
|
+
method: post
|
155
|
+
uri: https://app.jortt.nl/oauth-provider/oauth/token
|
156
|
+
body:
|
157
|
+
encoding: UTF-8
|
158
|
+
string: grant_type=client_credentials&scope=invoices%3Aread+invoices%3Awrite+customers%3Aread+customers%3Awrite
|
159
|
+
headers:
|
160
|
+
User-Agent:
|
161
|
+
- Faraday v1.0.1
|
162
|
+
Content-Type:
|
163
|
+
- application/x-www-form-urlencoded
|
164
|
+
Accept-Encoding:
|
165
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
166
|
+
Accept:
|
167
|
+
- "*/*"
|
168
|
+
response:
|
169
|
+
status:
|
170
|
+
code: 200
|
171
|
+
message: OK
|
172
|
+
headers:
|
173
|
+
Date:
|
174
|
+
- Thu, 24 Sep 2020 15:03:29 GMT
|
175
|
+
Content-Type:
|
176
|
+
- application/json; charset=utf-8
|
177
|
+
Transfer-Encoding:
|
178
|
+
- chunked
|
179
|
+
Connection:
|
180
|
+
- keep-alive
|
181
|
+
Status:
|
182
|
+
- 200 OK
|
183
|
+
Cache-Control:
|
184
|
+
- private, no-store
|
185
|
+
Referrer-Policy:
|
186
|
+
- strict-origin-when-cross-origin
|
187
|
+
X-Permitted-Cross-Domain-Policies:
|
188
|
+
- none
|
189
|
+
Pragma:
|
190
|
+
- no-cache
|
191
|
+
X-Xss-Protection:
|
192
|
+
- 1; mode=block
|
193
|
+
X-Request-Id:
|
194
|
+
- 4da7f50b-6682-4b7f-b7e1-b29b4e6deef2
|
195
|
+
X-Download-Options:
|
196
|
+
- noopen
|
197
|
+
Etag:
|
198
|
+
- W/"986b4c7db5b99df1ed3155183b9ee35d"
|
199
|
+
X-Frame-Options:
|
200
|
+
- SAMEORIGIN
|
201
|
+
X-Runtime:
|
202
|
+
- '0.320614'
|
203
|
+
X-Content-Type-Options:
|
204
|
+
- nosniff
|
205
|
+
X-Powered-By:
|
206
|
+
- Phusion Passenger
|
207
|
+
Server:
|
208
|
+
- nginx + Phusion Passenger
|
209
|
+
body:
|
210
|
+
encoding: UTF-8
|
211
|
+
string: '{"access_token":"Q2LQ7FeK_dDo_uPozu1R23i0RShMY69X4J5aronY5-Q","token_type":"Bearer","expires_in":7200,"scope":"invoices:read
|
212
|
+
invoices:write customers:read customers:write","created_at":1600959809}'
|
213
|
+
recorded_at: Thu, 24 Sep 2020 15:03:29 GMT
|
214
|
+
- request:
|
215
|
+
method: post
|
216
|
+
uri: https://api.jortt.nl/customers?customer_name=Jane%20Doe&is_private=true
|
217
|
+
body:
|
218
|
+
encoding: UTF-8
|
219
|
+
string: ''
|
220
|
+
headers:
|
221
|
+
User-Agent:
|
222
|
+
- Faraday v1.0.1
|
223
|
+
Content-Length:
|
224
|
+
- '0'
|
225
|
+
Accept-Encoding:
|
226
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
227
|
+
Accept:
|
228
|
+
- "*/*"
|
229
|
+
response:
|
230
|
+
status:
|
231
|
+
code: 201
|
232
|
+
message: Created
|
233
|
+
headers:
|
234
|
+
Date:
|
235
|
+
- Thu, 24 Sep 2020 15:03:29 GMT
|
236
|
+
Content-Type:
|
237
|
+
- application/json
|
238
|
+
Content-Length:
|
239
|
+
- '54'
|
240
|
+
Connection:
|
241
|
+
- keep-alive
|
242
|
+
Server:
|
243
|
+
- Apache
|
244
|
+
Status:
|
245
|
+
- 201 Created
|
246
|
+
Content-Security-Policy:
|
247
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
248
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
249
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
250
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
251
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
252
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
253
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
254
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
255
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
256
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
257
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
258
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
259
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
260
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
261
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
262
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
263
|
+
body:
|
264
|
+
encoding: UTF-8
|
265
|
+
string: '{"data":{"id":"a059cbb2-2ac2-4034-a8ba-5d3470e791bf"}}'
|
266
|
+
recorded_at: Thu, 24 Sep 2020 15:03:29 GMT
|
267
|
+
- request:
|
268
|
+
method: post
|
269
|
+
uri: https://api.jortt.nl/customers?customer_name=John%20Doe&is_private=true
|
270
|
+
body:
|
271
|
+
encoding: UTF-8
|
272
|
+
string: ''
|
273
|
+
headers:
|
274
|
+
User-Agent:
|
275
|
+
- Faraday v1.0.1
|
276
|
+
Content-Length:
|
277
|
+
- '0'
|
278
|
+
Accept-Encoding:
|
279
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
280
|
+
Accept:
|
281
|
+
- "*/*"
|
282
|
+
response:
|
283
|
+
status:
|
284
|
+
code: 201
|
285
|
+
message: Created
|
286
|
+
headers:
|
287
|
+
Date:
|
288
|
+
- Thu, 24 Sep 2020 15:03:29 GMT
|
289
|
+
Content-Type:
|
290
|
+
- application/json
|
291
|
+
Content-Length:
|
292
|
+
- '54'
|
293
|
+
Connection:
|
294
|
+
- keep-alive
|
295
|
+
Server:
|
296
|
+
- Apache
|
297
|
+
Status:
|
298
|
+
- 201 Created
|
299
|
+
Content-Security-Policy:
|
300
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
301
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
302
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
303
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
304
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
305
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
306
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
307
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
308
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
309
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
310
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
311
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
312
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
313
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
314
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
315
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
316
|
+
body:
|
317
|
+
encoding: UTF-8
|
318
|
+
string: '{"data":{"id":"1071f202-c5a9-4e35-b0ca-77772c0599dc"}}'
|
319
|
+
recorded_at: Thu, 24 Sep 2020 15:03:29 GMT
|
320
|
+
- request:
|
321
|
+
method: post
|
322
|
+
uri: https://api.jortt.nl/customers/a059cbb2-2ac2-4034-a8ba-5d3470e791bf/direct_debit_mandate
|
323
|
+
body:
|
324
|
+
encoding: UTF-8
|
325
|
+
string: ''
|
326
|
+
headers:
|
327
|
+
User-Agent:
|
328
|
+
- Faraday v1.0.1
|
329
|
+
Content-Length:
|
330
|
+
- '0'
|
331
|
+
Accept-Encoding:
|
332
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
333
|
+
Accept:
|
334
|
+
- "*/*"
|
335
|
+
response:
|
336
|
+
status:
|
337
|
+
code: 422
|
338
|
+
message: Unprocessable Entity
|
339
|
+
headers:
|
340
|
+
Date:
|
341
|
+
- Thu, 24 Sep 2020 15:03:30 GMT
|
342
|
+
Content-Type:
|
343
|
+
- application/json
|
344
|
+
Content-Length:
|
345
|
+
- '297'
|
346
|
+
Connection:
|
347
|
+
- keep-alive
|
348
|
+
Server:
|
349
|
+
- Apache
|
350
|
+
Status:
|
351
|
+
- 422 Unprocessable Entity
|
352
|
+
Content-Security-Policy:
|
353
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
354
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
355
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
356
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
357
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
358
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
359
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
360
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
361
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
362
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
363
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
364
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
365
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
366
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
367
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
368
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
369
|
+
body:
|
370
|
+
encoding: UTF-8
|
371
|
+
string: '{"error":{"code":422,"key":"operation.invalid","message":"The operation
|
372
|
+
could not be executed on the resource.","details":[{"key":"DirectDebit::NotEnabled","message":"To
|
373
|
+
use direct debit as a payment method in an invoice, you need the payment method
|
374
|
+
SEPA Direct Debit to be enabled at Mollie."}]}}'
|
375
|
+
recorded_at: Thu, 24 Sep 2020 15:03:30 GMT
|
376
|
+
- request:
|
377
|
+
method: delete
|
378
|
+
uri: https://api.jortt.nl/customers/a059cbb2-2ac2-4034-a8ba-5d3470e791bf
|
379
|
+
body:
|
380
|
+
encoding: US-ASCII
|
381
|
+
string: ''
|
382
|
+
headers:
|
383
|
+
User-Agent:
|
384
|
+
- Faraday v1.0.1
|
385
|
+
Accept-Encoding:
|
386
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
387
|
+
Accept:
|
388
|
+
- "*/*"
|
389
|
+
response:
|
390
|
+
status:
|
391
|
+
code: 204
|
392
|
+
message: No Content
|
393
|
+
headers:
|
394
|
+
Date:
|
395
|
+
- Thu, 24 Sep 2020 15:03:30 GMT
|
396
|
+
Connection:
|
397
|
+
- keep-alive
|
398
|
+
Server:
|
399
|
+
- Apache
|
400
|
+
Status:
|
401
|
+
- 204 No Content
|
402
|
+
Content-Security-Policy:
|
403
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
404
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
405
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
406
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
407
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
408
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
409
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
410
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
411
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
412
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
413
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
414
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
415
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
416
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
417
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
418
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
419
|
+
body:
|
420
|
+
encoding: UTF-8
|
421
|
+
string: ''
|
422
|
+
recorded_at: Thu, 24 Sep 2020 15:03:30 GMT
|
423
|
+
- request:
|
424
|
+
method: delete
|
425
|
+
uri: https://api.jortt.nl/customers/1071f202-c5a9-4e35-b0ca-77772c0599dc
|
426
|
+
body:
|
427
|
+
encoding: US-ASCII
|
428
|
+
string: ''
|
429
|
+
headers:
|
430
|
+
User-Agent:
|
431
|
+
- Faraday v1.0.1
|
432
|
+
Accept-Encoding:
|
433
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
434
|
+
Accept:
|
435
|
+
- "*/*"
|
436
|
+
response:
|
437
|
+
status:
|
438
|
+
code: 204
|
439
|
+
message: No Content
|
440
|
+
headers:
|
441
|
+
Date:
|
442
|
+
- Thu, 24 Sep 2020 15:03:30 GMT
|
443
|
+
Connection:
|
444
|
+
- keep-alive
|
445
|
+
Server:
|
446
|
+
- Apache
|
447
|
+
Status:
|
448
|
+
- 204 No Content
|
449
|
+
Content-Security-Policy:
|
450
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
451
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
452
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
453
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
454
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
455
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
456
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
457
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
458
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
459
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
460
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
461
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
462
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
463
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
464
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
465
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
466
|
+
body:
|
467
|
+
encoding: UTF-8
|
468
|
+
string: ''
|
469
|
+
recorded_at: Thu, 24 Sep 2020 15:03:30 GMT
|
470
|
+
recorded_with: VCR 6.0.0
|