my_john_deere_api 2.3.7 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/my_john_deere_api.rb +1 -0
  3. data/lib/my_john_deere_api/client.rb +13 -3
  4. data/lib/my_john_deere_api/net_http_retry.rb +2 -0
  5. data/lib/my_john_deere_api/net_http_retry/decorator.rb +53 -0
  6. data/lib/my_john_deere_api/net_http_retry/max_retries_exceeded_error.rb +20 -0
  7. data/lib/my_john_deere_api/version.rb +1 -1
  8. data/test/lib/my_john_deere_api/client_test.rb +20 -3
  9. data/test/lib/my_john_deere_api/errors/max_retries_exceeded_error_test.rb +13 -0
  10. data/test/lib/my_john_deere_api/net_http_retry/decorator_test.rb +163 -0
  11. data/test/support/helper.rb +1 -0
  12. data/test/support/vcr/accessor/delete_failed.yml +327 -0
  13. data/test/support/vcr/accessor/delete_max_failed.yml +615 -0
  14. data/test/support/vcr/accessor/delete_retry.yml +191 -0
  15. data/test/support/vcr/accessor/delete_retry_too_soon.yml +191 -0
  16. data/test/support/vcr/accessor/get_failed.yml +390 -0
  17. data/test/support/vcr/accessor/get_max_failed.yml +734 -0
  18. data/test/support/vcr/accessor/get_retry.yml +226 -0
  19. data/test/support/vcr/accessor/get_retry_too_soon.yml +226 -0
  20. data/test/support/vcr/accessor/post_failed.yml +417 -0
  21. data/test/support/vcr/accessor/post_max_failed.yml +785 -0
  22. data/test/support/vcr/accessor/post_retry.yml +241 -0
  23. data/test/support/vcr/accessor/post_retry_too_soon.yml +241 -0
  24. data/test/support/vcr/accessor/put_failed.yml +372 -0
  25. data/test/support/vcr/accessor/put_max_failed.yml +700 -0
  26. data/test/support/vcr/accessor/put_retry.yml +216 -0
  27. data/test/support/vcr/accessor/put_retry_too_soon.yml +216 -0
  28. metadata +23 -2
@@ -0,0 +1,615 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/vnd.deere.axiom.v3+json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ User-Agent:
15
+ - OAuth gem v0.5.4
16
+ Authorization:
17
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
18
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
19
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
20
+ oauth_version="1.0"
21
+ response:
22
+ status:
23
+ code: 429
24
+ message: Too Many Requests
25
+ headers:
26
+ Date:
27
+ - Mon, 10 Feb 2020 17:29:36 GMT
28
+ X-Deere-Handling-Server:
29
+ - ip-10-214-45-99
30
+ X-Frame-Options:
31
+ - SAMEORIGIN
32
+ X-Deere-Elapsed-Ms:
33
+ - '96'
34
+ body:
35
+ encoding: UTF-8
36
+ string: ''
37
+ http_version:
38
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
39
+ - request:
40
+ method: delete
41
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
42
+ body:
43
+ encoding: US-ASCII
44
+ string: ''
45
+ headers:
46
+ Accept:
47
+ - application/vnd.deere.axiom.v3+json
48
+ Accept-Encoding:
49
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
50
+ User-Agent:
51
+ - OAuth gem v0.5.4
52
+ Authorization:
53
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
54
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
55
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
56
+ oauth_version="1.0"
57
+ response:
58
+ status:
59
+ code: 429
60
+ message: Too Many Requests
61
+ headers:
62
+ Date:
63
+ - Mon, 10 Feb 2020 17:29:36 GMT
64
+ X-Deere-Handling-Server:
65
+ - ip-10-214-45-99
66
+ X-Frame-Options:
67
+ - SAMEORIGIN
68
+ X-Deere-Elapsed-Ms:
69
+ - '96'
70
+ body:
71
+ encoding: UTF-8
72
+ string: ''
73
+ http_version:
74
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
75
+ - request:
76
+ method: delete
77
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
78
+ body:
79
+ encoding: US-ASCII
80
+ string: ''
81
+ headers:
82
+ Accept:
83
+ - application/vnd.deere.axiom.v3+json
84
+ Accept-Encoding:
85
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
86
+ User-Agent:
87
+ - OAuth gem v0.5.4
88
+ Authorization:
89
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
90
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
91
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
92
+ oauth_version="1.0"
93
+ response:
94
+ status:
95
+ code: 503
96
+ message: Service Unavailable
97
+ headers:
98
+ Date:
99
+ - Mon, 10 Feb 2020 17:29:36 GMT
100
+ X-Deere-Handling-Server:
101
+ - ip-10-214-45-99
102
+ X-Frame-Options:
103
+ - SAMEORIGIN
104
+ X-Deere-Elapsed-Ms:
105
+ - '96'
106
+ body:
107
+ encoding: UTF-8
108
+ string: ''
109
+ http_version:
110
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
111
+ - request:
112
+ method: delete
113
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
114
+ body:
115
+ encoding: US-ASCII
116
+ string: ''
117
+ headers:
118
+ Accept:
119
+ - application/vnd.deere.axiom.v3+json
120
+ Accept-Encoding:
121
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
122
+ User-Agent:
123
+ - OAuth gem v0.5.4
124
+ Authorization:
125
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
126
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
127
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
128
+ oauth_version="1.0"
129
+ response:
130
+ status:
131
+ code: 503
132
+ message: Service Unavailable
133
+ headers:
134
+ Date:
135
+ - Mon, 10 Feb 2020 17:29:36 GMT
136
+ X-Deere-Handling-Server:
137
+ - ip-10-214-45-99
138
+ X-Frame-Options:
139
+ - SAMEORIGIN
140
+ X-Deere-Elapsed-Ms:
141
+ - '96'
142
+ body:
143
+ encoding: UTF-8
144
+ string: ''
145
+ http_version:
146
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
147
+ - request:
148
+ method: delete
149
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
150
+ body:
151
+ encoding: US-ASCII
152
+ string: ''
153
+ headers:
154
+ Accept:
155
+ - application/vnd.deere.axiom.v3+json
156
+ Accept-Encoding:
157
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
158
+ User-Agent:
159
+ - OAuth gem v0.5.4
160
+ Authorization:
161
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
162
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
163
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
164
+ oauth_version="1.0"
165
+ response:
166
+ status:
167
+ code: 429
168
+ message: Too Many Requests
169
+ headers:
170
+ Date:
171
+ - Mon, 10 Feb 2020 17:29:36 GMT
172
+ X-Deere-Handling-Server:
173
+ - ip-10-214-45-99
174
+ X-Frame-Options:
175
+ - SAMEORIGIN
176
+ X-Deere-Elapsed-Ms:
177
+ - '96'
178
+ body:
179
+ encoding: UTF-8
180
+ string: ''
181
+ http_version:
182
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
183
+ - request:
184
+ method: delete
185
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
186
+ body:
187
+ encoding: US-ASCII
188
+ string: ''
189
+ headers:
190
+ Accept:
191
+ - application/vnd.deere.axiom.v3+json
192
+ Accept-Encoding:
193
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
194
+ User-Agent:
195
+ - OAuth gem v0.5.4
196
+ Authorization:
197
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
198
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
199
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
200
+ oauth_version="1.0"
201
+ response:
202
+ status:
203
+ code: 429
204
+ message: Too Many Requests
205
+ headers:
206
+ Date:
207
+ - Mon, 10 Feb 2020 17:29:36 GMT
208
+ X-Deere-Handling-Server:
209
+ - ip-10-214-45-99
210
+ X-Frame-Options:
211
+ - SAMEORIGIN
212
+ X-Deere-Elapsed-Ms:
213
+ - '96'
214
+ body:
215
+ encoding: UTF-8
216
+ string: ''
217
+ http_version:
218
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
219
+ - request:
220
+ method: delete
221
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
222
+ body:
223
+ encoding: US-ASCII
224
+ string: ''
225
+ headers:
226
+ Accept:
227
+ - application/vnd.deere.axiom.v3+json
228
+ Accept-Encoding:
229
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
230
+ User-Agent:
231
+ - OAuth gem v0.5.4
232
+ Authorization:
233
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
234
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
235
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
236
+ oauth_version="1.0"
237
+ response:
238
+ status:
239
+ code: 503
240
+ message: Service Unavailable
241
+ headers:
242
+ Date:
243
+ - Mon, 10 Feb 2020 17:29:36 GMT
244
+ X-Deere-Handling-Server:
245
+ - ip-10-214-45-99
246
+ X-Frame-Options:
247
+ - SAMEORIGIN
248
+ X-Deere-Elapsed-Ms:
249
+ - '96'
250
+ body:
251
+ encoding: UTF-8
252
+ string: ''
253
+ http_version:
254
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
255
+ - request:
256
+ method: delete
257
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
258
+ body:
259
+ encoding: US-ASCII
260
+ string: ''
261
+ headers:
262
+ Accept:
263
+ - application/vnd.deere.axiom.v3+json
264
+ Accept-Encoding:
265
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
266
+ User-Agent:
267
+ - OAuth gem v0.5.4
268
+ Authorization:
269
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
270
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
271
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
272
+ oauth_version="1.0"
273
+ response:
274
+ status:
275
+ code: 503
276
+ message: Service Unavailable
277
+ headers:
278
+ Date:
279
+ - Mon, 10 Feb 2020 17:29:36 GMT
280
+ X-Deere-Handling-Server:
281
+ - ip-10-214-45-99
282
+ X-Frame-Options:
283
+ - SAMEORIGIN
284
+ X-Deere-Elapsed-Ms:
285
+ - '96'
286
+ body:
287
+ encoding: UTF-8
288
+ string: ''
289
+ http_version:
290
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
291
+ - request:
292
+ method: delete
293
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
294
+ body:
295
+ encoding: US-ASCII
296
+ string: ''
297
+ headers:
298
+ Accept:
299
+ - application/vnd.deere.axiom.v3+json
300
+ Accept-Encoding:
301
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
302
+ User-Agent:
303
+ - OAuth gem v0.5.4
304
+ Authorization:
305
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
306
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
307
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
308
+ oauth_version="1.0"
309
+ response:
310
+ status:
311
+ code: 429
312
+ message: Too Many Requests
313
+ headers:
314
+ Date:
315
+ - Mon, 10 Feb 2020 17:29:36 GMT
316
+ X-Deere-Handling-Server:
317
+ - ip-10-214-45-99
318
+ X-Frame-Options:
319
+ - SAMEORIGIN
320
+ X-Deere-Elapsed-Ms:
321
+ - '96'
322
+ body:
323
+ encoding: UTF-8
324
+ string: ''
325
+ http_version:
326
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
327
+ - request:
328
+ method: delete
329
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
330
+ body:
331
+ encoding: US-ASCII
332
+ string: ''
333
+ headers:
334
+ Accept:
335
+ - application/vnd.deere.axiom.v3+json
336
+ Accept-Encoding:
337
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
338
+ User-Agent:
339
+ - OAuth gem v0.5.4
340
+ Authorization:
341
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
342
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
343
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
344
+ oauth_version="1.0"
345
+ response:
346
+ status:
347
+ code: 429
348
+ message: Too Many Requests
349
+ headers:
350
+ Date:
351
+ - Mon, 10 Feb 2020 17:29:36 GMT
352
+ X-Deere-Handling-Server:
353
+ - ip-10-214-45-99
354
+ X-Frame-Options:
355
+ - SAMEORIGIN
356
+ X-Deere-Elapsed-Ms:
357
+ - '96'
358
+ body:
359
+ encoding: UTF-8
360
+ string: ''
361
+ http_version:
362
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
363
+ - request:
364
+ method: delete
365
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
366
+ body:
367
+ encoding: US-ASCII
368
+ string: ''
369
+ headers:
370
+ Accept:
371
+ - application/vnd.deere.axiom.v3+json
372
+ Accept-Encoding:
373
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
374
+ User-Agent:
375
+ - OAuth gem v0.5.4
376
+ Authorization:
377
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
378
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
379
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
380
+ oauth_version="1.0"
381
+ response:
382
+ status:
383
+ code: 503
384
+ message: Service Unavailable
385
+ headers:
386
+ Date:
387
+ - Mon, 10 Feb 2020 17:29:36 GMT
388
+ X-Deere-Handling-Server:
389
+ - ip-10-214-45-99
390
+ X-Frame-Options:
391
+ - SAMEORIGIN
392
+ X-Deere-Elapsed-Ms:
393
+ - '96'
394
+ body:
395
+ encoding: UTF-8
396
+ string: ''
397
+ http_version:
398
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
399
+ - request:
400
+ method: delete
401
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
402
+ body:
403
+ encoding: US-ASCII
404
+ string: ''
405
+ headers:
406
+ Accept:
407
+ - application/vnd.deere.axiom.v3+json
408
+ Accept-Encoding:
409
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
410
+ User-Agent:
411
+ - OAuth gem v0.5.4
412
+ Authorization:
413
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
414
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
415
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
416
+ oauth_version="1.0"
417
+ response:
418
+ status:
419
+ code: 503
420
+ message: Service Unavailable
421
+ headers:
422
+ Date:
423
+ - Mon, 10 Feb 2020 17:29:36 GMT
424
+ X-Deere-Handling-Server:
425
+ - ip-10-214-45-99
426
+ X-Frame-Options:
427
+ - SAMEORIGIN
428
+ X-Deere-Elapsed-Ms:
429
+ - '96'
430
+ body:
431
+ encoding: UTF-8
432
+ string: ''
433
+ http_version:
434
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
435
+ - request:
436
+ method: delete
437
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
438
+ body:
439
+ encoding: US-ASCII
440
+ string: ''
441
+ headers:
442
+ Accept:
443
+ - application/vnd.deere.axiom.v3+json
444
+ Accept-Encoding:
445
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
446
+ User-Agent:
447
+ - OAuth gem v0.5.4
448
+ Authorization:
449
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
450
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
451
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
452
+ oauth_version="1.0"
453
+ response:
454
+ status:
455
+ code: 429
456
+ message: Too Many Requests
457
+ headers:
458
+ Date:
459
+ - Mon, 10 Feb 2020 17:29:36 GMT
460
+ X-Deere-Handling-Server:
461
+ - ip-10-214-45-99
462
+ X-Frame-Options:
463
+ - SAMEORIGIN
464
+ X-Deere-Elapsed-Ms:
465
+ - '96'
466
+ body:
467
+ encoding: UTF-8
468
+ string: ''
469
+ http_version:
470
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
471
+ - request:
472
+ method: delete
473
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
474
+ body:
475
+ encoding: US-ASCII
476
+ string: ''
477
+ headers:
478
+ Accept:
479
+ - application/vnd.deere.axiom.v3+json
480
+ Accept-Encoding:
481
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
482
+ User-Agent:
483
+ - OAuth gem v0.5.4
484
+ Authorization:
485
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
486
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
487
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
488
+ oauth_version="1.0"
489
+ response:
490
+ status:
491
+ code: 429
492
+ message: Too Many Requests
493
+ headers:
494
+ Date:
495
+ - Mon, 10 Feb 2020 17:29:36 GMT
496
+ X-Deere-Handling-Server:
497
+ - ip-10-214-45-99
498
+ X-Frame-Options:
499
+ - SAMEORIGIN
500
+ X-Deere-Elapsed-Ms:
501
+ - '96'
502
+ body:
503
+ encoding: UTF-8
504
+ string: ''
505
+ http_version:
506
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
507
+ - request:
508
+ method: delete
509
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
510
+ body:
511
+ encoding: US-ASCII
512
+ string: ''
513
+ headers:
514
+ Accept:
515
+ - application/vnd.deere.axiom.v3+json
516
+ Accept-Encoding:
517
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
518
+ User-Agent:
519
+ - OAuth gem v0.5.4
520
+ Authorization:
521
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
522
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
523
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
524
+ oauth_version="1.0"
525
+ response:
526
+ status:
527
+ code: 503
528
+ message: Service Unavailable
529
+ headers:
530
+ Date:
531
+ - Mon, 10 Feb 2020 17:29:36 GMT
532
+ X-Deere-Handling-Server:
533
+ - ip-10-214-45-99
534
+ X-Frame-Options:
535
+ - SAMEORIGIN
536
+ X-Deere-Elapsed-Ms:
537
+ - '96'
538
+ body:
539
+ encoding: UTF-8
540
+ string: ''
541
+ http_version:
542
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
543
+ - request:
544
+ method: delete
545
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
546
+ body:
547
+ encoding: US-ASCII
548
+ string: ''
549
+ headers:
550
+ Accept:
551
+ - application/vnd.deere.axiom.v3+json
552
+ Accept-Encoding:
553
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
554
+ User-Agent:
555
+ - OAuth gem v0.5.4
556
+ Authorization:
557
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
558
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
559
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
560
+ oauth_version="1.0"
561
+ response:
562
+ status:
563
+ code: 503
564
+ message: Service Unavailable
565
+ headers:
566
+ Date:
567
+ - Mon, 10 Feb 2020 17:29:36 GMT
568
+ X-Deere-Handling-Server:
569
+ - ip-10-214-45-99
570
+ X-Frame-Options:
571
+ - SAMEORIGIN
572
+ X-Deere-Elapsed-Ms:
573
+ - '96'
574
+ body:
575
+ encoding: UTF-8
576
+ string: ''
577
+ http_version:
578
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
579
+ - request:
580
+ method: delete
581
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
582
+ body:
583
+ encoding: US-ASCII
584
+ string: ''
585
+ headers:
586
+ Accept:
587
+ - application/vnd.deere.axiom.v3+json
588
+ Accept-Encoding:
589
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
590
+ User-Agent:
591
+ - OAuth gem v0.5.4
592
+ Authorization:
593
+ - OAuth oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
594
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
595
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
596
+ oauth_version="1.0"
597
+ response:
598
+ status:
599
+ code: 204
600
+ message: No Content
601
+ headers:
602
+ Date:
603
+ - Mon, 10 Feb 2020 17:29:36 GMT
604
+ X-Deere-Handling-Server:
605
+ - ip-10-214-45-99
606
+ X-Frame-Options:
607
+ - SAMEORIGIN
608
+ X-Deere-Elapsed-Ms:
609
+ - '96'
610
+ body:
611
+ encoding: UTF-8
612
+ string: ''
613
+ http_version:
614
+ recorded_at: Mon, 10 Feb 2020 17:29:36 GMT
615
+ recorded_with: VCR 5.0.0