radiator 0.4.7 → 0.4.8.pre.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/Rakefile +50 -20
  4. data/lib/radiator.rb +3 -1
  5. data/lib/radiator/api.rb +83 -10
  6. data/lib/radiator/bridge.rb +34 -0
  7. data/lib/radiator/chain_config.rb +9 -2
  8. data/lib/radiator/database_api.rb +1 -1
  9. data/lib/radiator/follow_api.rb +1 -1
  10. data/lib/radiator/market_history_api.rb +1 -1
  11. data/lib/radiator/operation.rb +3 -2
  12. data/lib/radiator/operation_types.rb +43 -27
  13. data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +1 -1
  14. data/lib/radiator/stream.rb +15 -6
  15. data/lib/radiator/transaction.rb +28 -1
  16. data/lib/radiator/type/amount.rb +26 -51
  17. data/lib/radiator/type/price.rb +2 -2
  18. data/lib/radiator/version.rb +1 -1
  19. data/radiator.gemspec +13 -11
  20. data/test/fixtures/empty.json +1 -0
  21. data/test/fixtures/error.json +29 -0
  22. data/test/fixtures/follow_api_get_followers.json +1 -0
  23. data/test/fixtures/get_account.json +165 -0
  24. data/test/fixtures/get_account_count.json +1 -0
  25. data/test/fixtures/get_account_references.json +1 -0
  26. data/test/fixtures/get_block.json +193 -0
  27. data/test/fixtures/get_dynamic_global_properties.json +32 -0
  28. data/test/fixtures/get_feed_history.json +684 -0
  29. data/test/fixtures/get_hardfork_version.json +1 -0
  30. data/test/fixtures/get_key_references.json +14 -0
  31. data/test/fixtures/get_stats_for_time.json +57 -0
  32. data/test/fixtures/get_vesting_delegation.json +936 -0
  33. data/test/fixtures/golos_get_dynamic_global_properties.json +32 -0
  34. data/test/fixtures/market_history_api_get_market_history_buckets.json +1 -0
  35. data/test/fixtures/market_history_api_get_order_book.json +109 -0
  36. data/test/fixtures/market_history_api_get_recent_trades.json +55 -0
  37. data/test/fixtures/market_history_api_get_ticker.json +11 -0
  38. data/test/fixtures/market_history_api_get_volume.json +1 -0
  39. data/test/fixtures/null.json +1 -0
  40. data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +525 -0
  41. data/test/fixtures/vcr_cassettes/account_by_key_api_jsonrpc.yml +52 -0
  42. data/test/fixtures/vcr_cassettes/all_methods.yml +18155 -0
  43. data/test/fixtures/vcr_cassettes/api_all_methods.yml +13254 -0
  44. data/test/fixtures/vcr_cassettes/base_per_debt.yml +4946 -0
  45. data/test/fixtures/vcr_cassettes/base_per_mvest.yml +3969 -0
  46. data/test/fixtures/vcr_cassettes/block_time.yml +3322 -0
  47. data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +1186 -0
  48. data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +13297 -0
  49. data/test/fixtures/vcr_cassettes/expiration_initialize.yml +3428 -0
  50. data/test/fixtures/vcr_cassettes/find_account.yml +3681 -0
  51. data/test/fixtures/vcr_cassettes/find_block.yml +3589 -0
  52. data/test/fixtures/vcr_cassettes/find_comment.yml +11464 -0
  53. data/test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml +52 -0
  54. data/test/fixtures/vcr_cassettes/get_account_count.yml +575 -0
  55. data/test/fixtures/vcr_cassettes/get_account_references.yml +608 -0
  56. data/test/fixtures/vcr_cassettes/get_accounts.yml +674 -0
  57. data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +608 -0
  58. data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +661 -0
  59. data/test/fixtures/vcr_cassettes/get_feed_history.yml +1106 -0
  60. data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +577 -0
  61. data/test/fixtures/vcr_cassettes/get_key_references.yml +987 -0
  62. data/test/fixtures/vcr_cassettes/get_market_history.yml +1043 -0
  63. data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +1043 -0
  64. data/test/fixtures/vcr_cassettes/get_order_book.yml +1091 -0
  65. data/test/fixtures/vcr_cassettes/get_recent_trades.yml +1043 -0
  66. data/test/fixtures/vcr_cassettes/get_ticker.yml +1047 -0
  67. data/test/fixtures/vcr_cassettes/get_trade_history.yml +1049 -0
  68. data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +523 -0
  69. data/test/fixtures/vcr_cassettes/get_volume.yml +1051 -0
  70. data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +575 -0
  71. data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +523 -0
  72. data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +4373 -0
  73. data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +1288 -0
  74. data/test/fixtures/vcr_cassettes/properties.yml +3627 -0
  75. data/test/fixtures/vcr_cassettes/recover_transaction.yml +1099 -0
  76. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +92 -0
  77. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +90 -0
  78. data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +91 -0
  79. data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +92 -0
  80. data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +366 -0
  81. data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +91 -0
  82. data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +89 -0
  83. data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +8253 -0
  84. data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +3176 -0
  85. data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +151 -0
  86. data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +3343 -0
  87. data/test/fixtures/vcr_cassettes/valid_chains.yml +3124 -0
  88. data/test/radiator/account_by_key_api_test.rb +46 -0
  89. data/test/radiator/api_test.rb +135 -0
  90. data/test/radiator/chain_stats_api_test.rb +49 -0
  91. data/test/radiator/chain_test.rb +153 -0
  92. data/test/radiator/condenser_api_test.rb +48 -0
  93. data/test/radiator/follow_api_test.rb +48 -0
  94. data/test/radiator/market_history_api_test.rb +100 -0
  95. data/test/radiator/network_broadcast_api_test.rb +48 -0
  96. data/test/radiator/operation_test.rb +117 -0
  97. data/test/radiator/ssc/blockchain_test.rb +58 -0
  98. data/test/radiator/ssc/contracts_test.rb +65 -0
  99. data/test/radiator/stream_test.rb +48 -0
  100. data/test/radiator/tag_api_test.rb +40 -0
  101. data/test/radiator/transaction_test.rb +755 -0
  102. data/test/test_helper.rb +66 -0
  103. metadata +182 -73
  104. data/.codeclimate.yml +0 -19
  105. data/.gitignore +0 -52
  106. data/.travis.yml +0 -23
  107. data/gource.sh +0 -8
  108. data/images/Anthony Martin.png +0 -0
  109. data/images/Marvin Hofmann.jpg +0 -0
  110. data/images/Marvin Hofmann.png +0 -0
  111. data/lib/steem.rb +0 -17
@@ -0,0 +1,575 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.steemit.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"jsonrpc":"2.0","id":69,"method":"condenser_api.get_witness_by_account","params":[""]}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json; charset=utf-8
12
+ User-Agent:
13
+ - steem-ruby/0.9.4
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ Host:
19
+ - api.steemit.com
20
+ Content-Length:
21
+ - '96'
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Sat, 17 Oct 2020 04:07:36 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '39'
33
+ Connection:
34
+ - keep-alive
35
+ Server:
36
+ - nginx
37
+ X-Jussi-Request-Id:
38
+ - '000750434624041794'
39
+ X-Amzn-Trace-Id:
40
+ - Root=1-5f8a6e08-77e367610343b0ac674ea48e
41
+ Access-Control-Allow-Origin:
42
+ - "*"
43
+ Access-Control-Allow-Methods:
44
+ - GET, POST, OPTIONS
45
+ Access-Control-Allow-Headers:
46
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
47
+ Strict-Transport-Security:
48
+ - max-age=31557600; includeSubDomains; preload
49
+ Content-Security-Policy:
50
+ - upgrade-insecure-requests
51
+ body:
52
+ encoding: UTF-8
53
+ string: '{"jsonrpc":"2.0","result":null,"id":69}'
54
+ recorded_at: Sat, 17 Oct 2020 04:07:36 GMT
55
+ - request:
56
+ method: post
57
+ uri: https://api.steemit.com/
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"jsonrpc":"2.0","id":57,"method":"condenser_api.get_witness_by_account","params":[""]}'
61
+ headers:
62
+ Content-Type:
63
+ - application/json; charset=utf-8
64
+ User-Agent:
65
+ - steem-ruby/0.9.4
66
+ Accept-Encoding:
67
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
68
+ Accept:
69
+ - "*/*"
70
+ Host:
71
+ - api.steemit.com
72
+ Content-Length:
73
+ - '86'
74
+ response:
75
+ status:
76
+ code: 200
77
+ message: OK
78
+ headers:
79
+ Date:
80
+ - Sat, 17 Oct 2020 04:09:09 GMT
81
+ Content-Type:
82
+ - application/json
83
+ Content-Length:
84
+ - '39'
85
+ Connection:
86
+ - keep-alive
87
+ Server:
88
+ - nginx
89
+ X-Jussi-Request-Id:
90
+ - '000149907381855730'
91
+ X-Amzn-Trace-Id:
92
+ - Root=1-5f8a6e65-7ca367d83e5b1da759538b94
93
+ Access-Control-Allow-Origin:
94
+ - "*"
95
+ Access-Control-Allow-Methods:
96
+ - GET, POST, OPTIONS
97
+ Access-Control-Allow-Headers:
98
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
99
+ Strict-Transport-Security:
100
+ - max-age=31557600; includeSubDomains; preload
101
+ Content-Security-Policy:
102
+ - upgrade-insecure-requests
103
+ body:
104
+ encoding: UTF-8
105
+ string: '{"jsonrpc":"2.0","result":null,"id":57}'
106
+ recorded_at: Sat, 17 Oct 2020 04:09:09 GMT
107
+ - request:
108
+ method: post
109
+ uri: https://api.steemit.com/
110
+ body:
111
+ encoding: UTF-8
112
+ string: '{"jsonrpc":"2.0","id":125,"method":"condenser_api.get_witness_by_account","params":[""]}'
113
+ headers:
114
+ Content-Type:
115
+ - application/json; charset=utf-8
116
+ User-Agent:
117
+ - steem-ruby/0.9.4
118
+ Accept-Encoding:
119
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
120
+ Accept:
121
+ - "*/*"
122
+ Host:
123
+ - api.steemit.com
124
+ Content-Length:
125
+ - '84'
126
+ response:
127
+ status:
128
+ code: 200
129
+ message: OK
130
+ headers:
131
+ Date:
132
+ - Sat, 17 Oct 2020 04:13:51 GMT
133
+ Content-Type:
134
+ - application/json
135
+ Content-Length:
136
+ - '40'
137
+ Connection:
138
+ - keep-alive
139
+ Server:
140
+ - nginx
141
+ X-Jussi-Request-Id:
142
+ - '000774869645064027'
143
+ X-Amzn-Trace-Id:
144
+ - Root=1-5f8a6f7f-74438c9f324e85283b6c0c3f
145
+ Access-Control-Allow-Origin:
146
+ - "*"
147
+ Access-Control-Allow-Methods:
148
+ - GET, POST, OPTIONS
149
+ Access-Control-Allow-Headers:
150
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
151
+ Strict-Transport-Security:
152
+ - max-age=31557600; includeSubDomains; preload
153
+ Content-Security-Policy:
154
+ - upgrade-insecure-requests
155
+ body:
156
+ encoding: UTF-8
157
+ string: '{"jsonrpc":"2.0","result":null,"id":125}'
158
+ recorded_at: Sat, 17 Oct 2020 04:13:52 GMT
159
+ - request:
160
+ method: post
161
+ uri: https://api.steemit.com/
162
+ body:
163
+ encoding: UTF-8
164
+ string: '{"jsonrpc":"2.0","id":133,"method":"condenser_api.get_witness_by_account","params":[""]}'
165
+ headers:
166
+ Content-Type:
167
+ - application/json; charset=utf-8
168
+ User-Agent:
169
+ - steem-ruby/0.9.4
170
+ Accept-Encoding:
171
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
172
+ Accept:
173
+ - "*/*"
174
+ Host:
175
+ - api.steemit.com
176
+ Content-Length:
177
+ - '97'
178
+ response:
179
+ status:
180
+ code: 200
181
+ message: OK
182
+ headers:
183
+ Date:
184
+ - Sat, 17 Oct 2020 04:14:51 GMT
185
+ Content-Type:
186
+ - application/json
187
+ Content-Length:
188
+ - '40'
189
+ Connection:
190
+ - keep-alive
191
+ Server:
192
+ - nginx
193
+ X-Jussi-Request-Id:
194
+ - '000550388879849028'
195
+ X-Amzn-Trace-Id:
196
+ - Root=1-5f8a6fbb-4becdb440ef7b5c2259c3e11
197
+ Access-Control-Allow-Origin:
198
+ - "*"
199
+ Access-Control-Allow-Methods:
200
+ - GET, POST, OPTIONS
201
+ Access-Control-Allow-Headers:
202
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
203
+ Strict-Transport-Security:
204
+ - max-age=31557600; includeSubDomains; preload
205
+ Content-Security-Policy:
206
+ - upgrade-insecure-requests
207
+ body:
208
+ encoding: UTF-8
209
+ string: '{"jsonrpc":"2.0","result":null,"id":133}'
210
+ recorded_at: Sat, 17 Oct 2020 04:14:51 GMT
211
+ - request:
212
+ method: post
213
+ uri: https://api.steemit.com/
214
+ body:
215
+ encoding: UTF-8
216
+ string: '{"jsonrpc":"2.0","id":34,"method":"condenser_api.get_witness_by_account","params":[""]}'
217
+ headers:
218
+ Content-Type:
219
+ - application/json; charset=utf-8
220
+ User-Agent:
221
+ - steem-ruby/0.9.4
222
+ Accept-Encoding:
223
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
224
+ Accept:
225
+ - "*/*"
226
+ Host:
227
+ - api.steemit.com
228
+ Content-Length:
229
+ - '96'
230
+ response:
231
+ status:
232
+ code: 200
233
+ message: OK
234
+ headers:
235
+ Date:
236
+ - Sat, 17 Oct 2020 04:18:48 GMT
237
+ Content-Type:
238
+ - application/json
239
+ Content-Length:
240
+ - '39'
241
+ Connection:
242
+ - keep-alive
243
+ Server:
244
+ - nginx
245
+ X-Jussi-Request-Id:
246
+ - '000824196904539827'
247
+ X-Amzn-Trace-Id:
248
+ - Root=1-5f8a70a8-0f4068586fb362610dfadd07
249
+ Access-Control-Allow-Origin:
250
+ - "*"
251
+ Access-Control-Allow-Methods:
252
+ - GET, POST, OPTIONS
253
+ Access-Control-Allow-Headers:
254
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
255
+ Strict-Transport-Security:
256
+ - max-age=31557600; includeSubDomains; preload
257
+ Content-Security-Policy:
258
+ - upgrade-insecure-requests
259
+ body:
260
+ encoding: UTF-8
261
+ string: '{"jsonrpc":"2.0","result":null,"id":34}'
262
+ recorded_at: Sat, 17 Oct 2020 04:18:48 GMT
263
+ - request:
264
+ method: post
265
+ uri: https://api.steemitdev.com/
266
+ body:
267
+ encoding: UTF-8
268
+ string: '{"jsonrpc":"2.0","id":96,"method":"condenser_api.get_witness_by_account","params":[""]}'
269
+ headers:
270
+ Content-Type:
271
+ - application/json; charset=utf-8
272
+ User-Agent:
273
+ - steem-ruby/0.9.4
274
+ Accept-Encoding:
275
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
276
+ Accept:
277
+ - "*/*"
278
+ Host:
279
+ - api.steemitdev.com
280
+ Content-Length:
281
+ - '92'
282
+ response:
283
+ status:
284
+ code: 200
285
+ message: OK
286
+ headers:
287
+ Date:
288
+ - Sat, 17 Oct 2020 04:23:12 GMT
289
+ Content-Type:
290
+ - application/json
291
+ Content-Length:
292
+ - '39'
293
+ Connection:
294
+ - keep-alive
295
+ Server:
296
+ - nginx
297
+ X-Jussi-Request-Id:
298
+ - '000652567909346143'
299
+ X-Amzn-Trace-Id:
300
+ - Root=1-5f8a71b0-0aad3eaa4151508a137129d6
301
+ Access-Control-Allow-Origin:
302
+ - "*"
303
+ Access-Control-Allow-Methods:
304
+ - GET, POST, OPTIONS
305
+ Access-Control-Allow-Headers:
306
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
307
+ Strict-Transport-Security:
308
+ - max-age=31557600; includeSubDomains; preload
309
+ Content-Security-Policy:
310
+ - upgrade-insecure-requests
311
+ body:
312
+ encoding: UTF-8
313
+ string: '{"jsonrpc":"2.0","result":null,"id":96}'
314
+ recorded_at: Sat, 17 Oct 2020 04:23:12 GMT
315
+ - request:
316
+ method: post
317
+ uri: https://api.steemitdev.com/
318
+ body:
319
+ encoding: UTF-8
320
+ string: '{"jsonrpc":"2.0","id":70,"method":"condenser_api.get_witness_by_account","params":[""]}'
321
+ headers:
322
+ Content-Type:
323
+ - application/json; charset=utf-8
324
+ User-Agent:
325
+ - steem-ruby/0.9.4
326
+ Accept-Encoding:
327
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
328
+ Accept:
329
+ - "*/*"
330
+ Host:
331
+ - api.steemitdev.com
332
+ Content-Length:
333
+ - '83'
334
+ response:
335
+ status:
336
+ code: 200
337
+ message: OK
338
+ headers:
339
+ Date:
340
+ - Sat, 17 Oct 2020 04:27:19 GMT
341
+ Content-Type:
342
+ - application/json
343
+ Content-Length:
344
+ - '39'
345
+ Connection:
346
+ - keep-alive
347
+ Server:
348
+ - nginx
349
+ X-Jussi-Request-Id:
350
+ - '000141079502186688'
351
+ X-Amzn-Trace-Id:
352
+ - Root=1-5f8a72a7-0ed56bc07c3a26d213093925
353
+ Access-Control-Allow-Origin:
354
+ - "*"
355
+ Access-Control-Allow-Methods:
356
+ - GET, POST, OPTIONS
357
+ Access-Control-Allow-Headers:
358
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
359
+ Strict-Transport-Security:
360
+ - max-age=31557600; includeSubDomains; preload
361
+ Content-Security-Policy:
362
+ - upgrade-insecure-requests
363
+ body:
364
+ encoding: UTF-8
365
+ string: '{"jsonrpc":"2.0","result":null,"id":70}'
366
+ recorded_at: Sat, 17 Oct 2020 04:27:20 GMT
367
+ - request:
368
+ method: post
369
+ uri: https://api.steemitdev.com/
370
+ body:
371
+ encoding: UTF-8
372
+ string: '{"jsonrpc":"2.0","id":41,"method":"condenser_api.get_witness_by_account","params":[""]}'
373
+ headers:
374
+ Content-Type:
375
+ - application/json; charset=utf-8
376
+ User-Agent:
377
+ - steem-ruby/0.9.4
378
+ Accept-Encoding:
379
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
380
+ Accept:
381
+ - "*/*"
382
+ Host:
383
+ - api.steemitdev.com
384
+ Content-Length:
385
+ - '96'
386
+ response:
387
+ status:
388
+ code: 200
389
+ message: OK
390
+ headers:
391
+ Date:
392
+ - Sat, 17 Oct 2020 04:34:15 GMT
393
+ Content-Type:
394
+ - application/json
395
+ Content-Length:
396
+ - '39'
397
+ Connection:
398
+ - keep-alive
399
+ Server:
400
+ - nginx
401
+ X-Jussi-Request-Id:
402
+ - '000518149155007918'
403
+ X-Amzn-Trace-Id:
404
+ - Root=1-5f8a7447-29722ac01219b95e10763efb
405
+ Access-Control-Allow-Origin:
406
+ - "*"
407
+ Access-Control-Allow-Methods:
408
+ - GET, POST, OPTIONS
409
+ Access-Control-Allow-Headers:
410
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
411
+ Strict-Transport-Security:
412
+ - max-age=31557600; includeSubDomains; preload
413
+ Content-Security-Policy:
414
+ - upgrade-insecure-requests
415
+ body:
416
+ encoding: UTF-8
417
+ string: '{"jsonrpc":"2.0","result":null,"id":41}'
418
+ recorded_at: Sat, 17 Oct 2020 04:34:15 GMT
419
+ - request:
420
+ method: post
421
+ uri: https://api.steemitdev.com/
422
+ body:
423
+ encoding: UTF-8
424
+ string: '{"jsonrpc":"2.0","id":59,"method":"condenser_api.get_witness_by_account","params":[""]}'
425
+ headers:
426
+ Content-Type:
427
+ - application/json; charset=utf-8
428
+ User-Agent:
429
+ - steem-ruby/0.9.4
430
+ Accept-Encoding:
431
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
432
+ Accept:
433
+ - "*/*"
434
+ Host:
435
+ - api.steemitdev.com
436
+ Content-Length:
437
+ - '96'
438
+ response:
439
+ status:
440
+ code: 200
441
+ message: OK
442
+ headers:
443
+ Date:
444
+ - Sat, 17 Oct 2020 04:39:53 GMT
445
+ Content-Type:
446
+ - application/json
447
+ Content-Length:
448
+ - '39'
449
+ Connection:
450
+ - keep-alive
451
+ Server:
452
+ - nginx
453
+ X-Jussi-Request-Id:
454
+ - '000722647277659875'
455
+ X-Amzn-Trace-Id:
456
+ - Root=1-5f8a7599-52b8112b08171d2e02e9d256
457
+ Access-Control-Allow-Origin:
458
+ - "*"
459
+ Access-Control-Allow-Methods:
460
+ - GET, POST, OPTIONS
461
+ Access-Control-Allow-Headers:
462
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
463
+ Strict-Transport-Security:
464
+ - max-age=31557600; includeSubDomains; preload
465
+ Content-Security-Policy:
466
+ - upgrade-insecure-requests
467
+ body:
468
+ encoding: UTF-8
469
+ string: '{"jsonrpc":"2.0","result":null,"id":59}'
470
+ recorded_at: Sat, 17 Oct 2020 04:39:53 GMT
471
+ - request:
472
+ method: post
473
+ uri: https://api.steemitdev.com/
474
+ body:
475
+ encoding: UTF-8
476
+ string: '{"jsonrpc":"2.0","id":12,"method":"condenser_api.get_witness_by_account","params":[""]}'
477
+ headers:
478
+ Content-Type:
479
+ - application/json; charset=utf-8
480
+ User-Agent:
481
+ - steem-ruby/0.9.4
482
+ Accept-Encoding:
483
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
484
+ Accept:
485
+ - "*/*"
486
+ Host:
487
+ - api.steemitdev.com
488
+ Content-Length:
489
+ - '98'
490
+ response:
491
+ status:
492
+ code: 200
493
+ message: OK
494
+ headers:
495
+ Date:
496
+ - Sat, 17 Oct 2020 04:55:45 GMT
497
+ Content-Type:
498
+ - application/json
499
+ Content-Length:
500
+ - '39'
501
+ Connection:
502
+ - keep-alive
503
+ Server:
504
+ - nginx
505
+ X-Jussi-Request-Id:
506
+ - '000116683161230485'
507
+ X-Amzn-Trace-Id:
508
+ - Root=1-5f8a794f-4cfd07720ff95bf91584fab4
509
+ Access-Control-Allow-Origin:
510
+ - "*"
511
+ Access-Control-Allow-Methods:
512
+ - GET, POST, OPTIONS
513
+ Access-Control-Allow-Headers:
514
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
515
+ Strict-Transport-Security:
516
+ - max-age=31557600; includeSubDomains; preload
517
+ Content-Security-Policy:
518
+ - upgrade-insecure-requests
519
+ body:
520
+ encoding: UTF-8
521
+ string: '{"jsonrpc":"2.0","result":null,"id":12}'
522
+ recorded_at: Sat, 17 Oct 2020 04:55:45 GMT
523
+ - request:
524
+ method: post
525
+ uri: https://api.steemitdev.com/
526
+ body:
527
+ encoding: UTF-8
528
+ string: '{"jsonrpc":"2.0","id":84,"method":"condenser_api.get_witness_by_account","params":[""]}'
529
+ headers:
530
+ Content-Type:
531
+ - application/json; charset=utf-8
532
+ User-Agent:
533
+ - steem-ruby/0.9.4
534
+ Accept-Encoding:
535
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
536
+ Accept:
537
+ - "*/*"
538
+ Host:
539
+ - api.steemit.com
540
+ Content-Length:
541
+ - '86'
542
+ response:
543
+ status:
544
+ code: 200
545
+ message: OK
546
+ headers:
547
+ Date:
548
+ - Sat, 17 Oct 2020 05:03:36 GMT
549
+ Content-Type:
550
+ - application/json
551
+ Content-Length:
552
+ - '39'
553
+ Connection:
554
+ - keep-alive
555
+ Server:
556
+ - nginx
557
+ X-Jussi-Request-Id:
558
+ - '000280470685268599'
559
+ X-Amzn-Trace-Id:
560
+ - Root=1-5f8a7b28-202ea7100a6ec9d912b8c019
561
+ Access-Control-Allow-Origin:
562
+ - "*"
563
+ Access-Control-Allow-Methods:
564
+ - GET, POST, OPTIONS
565
+ Access-Control-Allow-Headers:
566
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
567
+ Strict-Transport-Security:
568
+ - max-age=31557600; includeSubDomains; preload
569
+ Content-Security-Policy:
570
+ - upgrade-insecure-requests
571
+ body:
572
+ encoding: UTF-8
573
+ string: '{"jsonrpc":"2.0","result":null,"id":84}'
574
+ recorded_at: Sat, 17 Oct 2020 05:03:36 GMT
575
+ recorded_with: VCR 6.0.0