my_john_deere_api 2.3.4 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +111 -1
  3. data/lib/my_john_deere_api.rb +1 -0
  4. data/lib/my_john_deere_api/client.rb +13 -3
  5. data/lib/my_john_deere_api/net_http_retry.rb +4 -0
  6. data/lib/my_john_deere_api/net_http_retry/decorator.rb +62 -0
  7. data/lib/my_john_deere_api/net_http_retry/invalid_response_error.rb +23 -0
  8. data/lib/my_john_deere_api/net_http_retry/max_retries_exceeded_error.rb +20 -0
  9. data/lib/my_john_deere_api/version.rb +1 -1
  10. data/test/lib/my_john_deere_api/client_test.rb +20 -3
  11. data/test/lib/my_john_deere_api/net_http_retry/decorator_test.rb +208 -0
  12. data/test/lib/my_john_deere_api/net_http_retry/invalid_response_error_test.rb +19 -0
  13. data/test/lib/my_john_deere_api/net_http_retry/max_retries_exceeded_error_test.rb +13 -0
  14. data/test/support/helper.rb +1 -0
  15. data/test/support/vcr/accessor/delete_failed.yml +327 -0
  16. data/test/support/vcr/accessor/delete_invalid.yml +39 -0
  17. data/test/support/vcr/accessor/delete_max_failed.yml +615 -0
  18. data/test/support/vcr/accessor/delete_retry.yml +191 -0
  19. data/test/support/vcr/accessor/delete_retry_too_soon.yml +191 -0
  20. data/test/support/vcr/accessor/get_failed.yml +390 -0
  21. data/test/support/vcr/accessor/get_invalid.yml +46 -0
  22. data/test/support/vcr/accessor/get_max_failed.yml +734 -0
  23. data/test/support/vcr/accessor/get_retry.yml +226 -0
  24. data/test/support/vcr/accessor/get_retry_too_soon.yml +226 -0
  25. data/test/support/vcr/accessor/post_failed.yml +417 -0
  26. data/test/support/vcr/accessor/post_invalid.yml +49 -0
  27. data/test/support/vcr/accessor/post_max_failed.yml +785 -0
  28. data/test/support/vcr/accessor/post_retry.yml +241 -0
  29. data/test/support/vcr/accessor/post_retry_too_soon.yml +241 -0
  30. data/test/support/vcr/accessor/put_failed.yml +372 -0
  31. data/test/support/vcr/accessor/put_invalid.yml +44 -0
  32. data/test/support/vcr/accessor/put_max_failed.yml +700 -0
  33. data/test/support/vcr/accessor/put_retry.yml +216 -0
  34. data/test/support/vcr/accessor/put_retry_too_soon.yml +216 -0
  35. metadata +30 -3
@@ -0,0 +1,417 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
9
+ headers:
10
+ Accept:
11
+ - application/vnd.deere.axiom.v3+json
12
+ Content-Type:
13
+ - application/vnd.deere.axiom.v3+json
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ User-Agent:
17
+ - OAuth gem v0.5.4
18
+ Content-Length:
19
+ - '265'
20
+ Authorization:
21
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
22
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
23
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
24
+ oauth_version="1.0"
25
+ response:
26
+ status:
27
+ code: 429
28
+ message: Too Many Requests
29
+ headers:
30
+ Date:
31
+ - Mon, 10 Feb 2020 17:29:25 GMT
32
+ Content-Type:
33
+ - application/vnd.deere.axiom.v3+json
34
+ X-Deere-Handling-Server:
35
+ - ip-10-214-45-213
36
+ X-Frame-Options:
37
+ - SAMEORIGIN
38
+ Location:
39
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
40
+ X-Deere-Elapsed-Ms:
41
+ - '121'
42
+ Transfer-Encoding:
43
+ - chunked
44
+ body:
45
+ encoding: ASCII-8BIT
46
+ string: ''
47
+ http_version:
48
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
49
+ - request:
50
+ method: post
51
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
52
+ body:
53
+ encoding: UTF-8
54
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
55
+ headers:
56
+ Accept:
57
+ - application/vnd.deere.axiom.v3+json
58
+ Content-Type:
59
+ - application/vnd.deere.axiom.v3+json
60
+ Accept-Encoding:
61
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
62
+ User-Agent:
63
+ - OAuth gem v0.5.4
64
+ Content-Length:
65
+ - '265'
66
+ Authorization:
67
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
68
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
69
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
70
+ oauth_version="1.0"
71
+ response:
72
+ status:
73
+ code: 429
74
+ message: Too Many Requests
75
+ headers:
76
+ Date:
77
+ - Mon, 10 Feb 2020 17:29:25 GMT
78
+ Content-Type:
79
+ - application/vnd.deere.axiom.v3+json
80
+ X-Deere-Handling-Server:
81
+ - ip-10-214-45-213
82
+ X-Frame-Options:
83
+ - SAMEORIGIN
84
+ Location:
85
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
86
+ X-Deere-Elapsed-Ms:
87
+ - '121'
88
+ Transfer-Encoding:
89
+ - chunked
90
+ body:
91
+ encoding: ASCII-8BIT
92
+ string: ''
93
+ http_version:
94
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
95
+ - request:
96
+ method: post
97
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
98
+ body:
99
+ encoding: UTF-8
100
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
101
+ headers:
102
+ Accept:
103
+ - application/vnd.deere.axiom.v3+json
104
+ Content-Type:
105
+ - application/vnd.deere.axiom.v3+json
106
+ Accept-Encoding:
107
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
108
+ User-Agent:
109
+ - OAuth gem v0.5.4
110
+ Content-Length:
111
+ - '265'
112
+ Authorization:
113
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
114
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
115
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
116
+ oauth_version="1.0"
117
+ response:
118
+ status:
119
+ code: 503
120
+ message: Service Unavailable
121
+ headers:
122
+ Date:
123
+ - Mon, 10 Feb 2020 17:29:25 GMT
124
+ Content-Type:
125
+ - application/vnd.deere.axiom.v3+json
126
+ X-Deere-Handling-Server:
127
+ - ip-10-214-45-213
128
+ X-Frame-Options:
129
+ - SAMEORIGIN
130
+ Location:
131
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
132
+ X-Deere-Elapsed-Ms:
133
+ - '121'
134
+ Transfer-Encoding:
135
+ - chunked
136
+ body:
137
+ encoding: ASCII-8BIT
138
+ string: ''
139
+ http_version:
140
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
141
+ - request:
142
+ method: post
143
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
144
+ body:
145
+ encoding: UTF-8
146
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
147
+ headers:
148
+ Accept:
149
+ - application/vnd.deere.axiom.v3+json
150
+ Content-Type:
151
+ - application/vnd.deere.axiom.v3+json
152
+ Accept-Encoding:
153
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
154
+ User-Agent:
155
+ - OAuth gem v0.5.4
156
+ Content-Length:
157
+ - '265'
158
+ Authorization:
159
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
160
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
161
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
162
+ oauth_version="1.0"
163
+ response:
164
+ status:
165
+ code: 503
166
+ message: Service Unavailable
167
+ headers:
168
+ Date:
169
+ - Mon, 10 Feb 2020 17:29:25 GMT
170
+ Content-Type:
171
+ - application/vnd.deere.axiom.v3+json
172
+ X-Deere-Handling-Server:
173
+ - ip-10-214-45-213
174
+ X-Frame-Options:
175
+ - SAMEORIGIN
176
+ Location:
177
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
178
+ X-Deere-Elapsed-Ms:
179
+ - '121'
180
+ Transfer-Encoding:
181
+ - chunked
182
+ body:
183
+ encoding: ASCII-8BIT
184
+ string: ''
185
+ http_version:
186
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
187
+ - request:
188
+ method: post
189
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
190
+ body:
191
+ encoding: UTF-8
192
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
193
+ headers:
194
+ Accept:
195
+ - application/vnd.deere.axiom.v3+json
196
+ Content-Type:
197
+ - application/vnd.deere.axiom.v3+json
198
+ Accept-Encoding:
199
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
200
+ User-Agent:
201
+ - OAuth gem v0.5.4
202
+ Content-Length:
203
+ - '265'
204
+ Authorization:
205
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
206
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
207
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
208
+ oauth_version="1.0"
209
+ response:
210
+ status:
211
+ code: 429
212
+ message: Too Many Requests
213
+ headers:
214
+ Date:
215
+ - Mon, 10 Feb 2020 17:29:25 GMT
216
+ Content-Type:
217
+ - application/vnd.deere.axiom.v3+json
218
+ X-Deere-Handling-Server:
219
+ - ip-10-214-45-213
220
+ X-Frame-Options:
221
+ - SAMEORIGIN
222
+ Location:
223
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
224
+ X-Deere-Elapsed-Ms:
225
+ - '121'
226
+ Transfer-Encoding:
227
+ - chunked
228
+ body:
229
+ encoding: ASCII-8BIT
230
+ string: ''
231
+ http_version:
232
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
233
+ - request:
234
+ method: post
235
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
236
+ body:
237
+ encoding: UTF-8
238
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
239
+ headers:
240
+ Accept:
241
+ - application/vnd.deere.axiom.v3+json
242
+ Content-Type:
243
+ - application/vnd.deere.axiom.v3+json
244
+ Accept-Encoding:
245
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
246
+ User-Agent:
247
+ - OAuth gem v0.5.4
248
+ Content-Length:
249
+ - '265'
250
+ Authorization:
251
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
252
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
253
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
254
+ oauth_version="1.0"
255
+ response:
256
+ status:
257
+ code: 429
258
+ message: Too Many Requests
259
+ headers:
260
+ Date:
261
+ - Mon, 10 Feb 2020 17:29:25 GMT
262
+ Content-Type:
263
+ - application/vnd.deere.axiom.v3+json
264
+ X-Deere-Handling-Server:
265
+ - ip-10-214-45-213
266
+ X-Frame-Options:
267
+ - SAMEORIGIN
268
+ Location:
269
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
270
+ X-Deere-Elapsed-Ms:
271
+ - '121'
272
+ Transfer-Encoding:
273
+ - chunked
274
+ body:
275
+ encoding: ASCII-8BIT
276
+ string: ''
277
+ http_version:
278
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
279
+ - request:
280
+ method: post
281
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
282
+ body:
283
+ encoding: UTF-8
284
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
285
+ headers:
286
+ Accept:
287
+ - application/vnd.deere.axiom.v3+json
288
+ Content-Type:
289
+ - application/vnd.deere.axiom.v3+json
290
+ Accept-Encoding:
291
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
292
+ User-Agent:
293
+ - OAuth gem v0.5.4
294
+ Content-Length:
295
+ - '265'
296
+ Authorization:
297
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
298
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
299
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
300
+ oauth_version="1.0"
301
+ response:
302
+ status:
303
+ code: 503
304
+ message: Service Unavailable
305
+ headers:
306
+ Date:
307
+ - Mon, 10 Feb 2020 17:29:25 GMT
308
+ Content-Type:
309
+ - application/vnd.deere.axiom.v3+json
310
+ X-Deere-Handling-Server:
311
+ - ip-10-214-45-213
312
+ X-Frame-Options:
313
+ - SAMEORIGIN
314
+ Location:
315
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
316
+ X-Deere-Elapsed-Ms:
317
+ - '121'
318
+ Transfer-Encoding:
319
+ - chunked
320
+ body:
321
+ encoding: ASCII-8BIT
322
+ string: ''
323
+ http_version:
324
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
325
+ - request:
326
+ method: post
327
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
328
+ body:
329
+ encoding: UTF-8
330
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
331
+ headers:
332
+ Accept:
333
+ - application/vnd.deere.axiom.v3+json
334
+ Content-Type:
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
+ Content-Length:
341
+ - '265'
342
+ Authorization:
343
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
344
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
345
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
346
+ oauth_version="1.0"
347
+ response:
348
+ status:
349
+ code: 503
350
+ message: Service Unavailable
351
+ headers:
352
+ Date:
353
+ - Mon, 10 Feb 2020 17:29:25 GMT
354
+ Content-Type:
355
+ - application/vnd.deere.axiom.v3+json
356
+ X-Deere-Handling-Server:
357
+ - ip-10-214-45-213
358
+ X-Frame-Options:
359
+ - SAMEORIGIN
360
+ Location:
361
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
362
+ X-Deere-Elapsed-Ms:
363
+ - '121'
364
+ Transfer-Encoding:
365
+ - chunked
366
+ body:
367
+ encoding: ASCII-8BIT
368
+ string: ''
369
+ http_version:
370
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
371
+ - request:
372
+ method: post
373
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
374
+ body:
375
+ encoding: UTF-8
376
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
377
+ headers:
378
+ Accept:
379
+ - application/vnd.deere.axiom.v3+json
380
+ Content-Type:
381
+ - application/vnd.deere.axiom.v3+json
382
+ Accept-Encoding:
383
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
384
+ User-Agent:
385
+ - OAuth gem v0.5.4
386
+ Content-Length:
387
+ - '265'
388
+ Authorization:
389
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
390
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
391
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
392
+ oauth_version="1.0"
393
+ response:
394
+ status:
395
+ code: 201
396
+ message: Created
397
+ headers:
398
+ Date:
399
+ - Mon, 10 Feb 2020 17:29:25 GMT
400
+ Content-Type:
401
+ - application/vnd.deere.axiom.v3+json
402
+ X-Deere-Handling-Server:
403
+ - ip-10-214-45-213
404
+ X-Frame-Options:
405
+ - SAMEORIGIN
406
+ Location:
407
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
408
+ X-Deere-Elapsed-Ms:
409
+ - '121'
410
+ Transfer-Encoding:
411
+ - chunked
412
+ body:
413
+ encoding: ASCII-8BIT
414
+ string: ''
415
+ http_version:
416
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
417
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://sandboxapi.deere.com/platform/organizations/000000/assets
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"title":"Asset Title","assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/platform/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
9
+ headers:
10
+ Accept:
11
+ - application/vnd.deere.axiom.v3+json
12
+ Content-Type:
13
+ - application/vnd.deere.axiom.v3+json
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ User-Agent:
17
+ - OAuth gem v0.5.4
18
+ Content-Length:
19
+ - '265'
20
+ Authorization:
21
+ - OAuth oauth_body_hash="hObY6LROUn9S1WS8S28eTTfqmWk%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
22
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
23
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
24
+ oauth_version="1.0"
25
+ response:
26
+ status:
27
+ code: 500
28
+ message: Internal Error
29
+ headers:
30
+ Date:
31
+ - Mon, 10 Feb 2020 17:29:25 GMT
32
+ Content-Type:
33
+ - application/vnd.deere.axiom.v3+json
34
+ X-Deere-Handling-Server:
35
+ - ip-10-214-45-213
36
+ X-Frame-Options:
37
+ - SAMEORIGIN
38
+ Location:
39
+ - https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
40
+ X-Deere-Elapsed-Ms:
41
+ - '121'
42
+ Transfer-Encoding:
43
+ - chunked
44
+ body:
45
+ encoding: ASCII-8BIT
46
+ string: You Have Died of Dysentery
47
+ http_version:
48
+ recorded_at: Mon, 10 Feb 2020 17:29:26 GMT
49
+ recorded_with: VCR 5.0.0