radiator 0.4.6pre1 → 0.4.8.pre.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -12
  3. data/Rakefile +53 -23
  4. data/lib/radiator.rb +3 -1
  5. data/lib/radiator/api.rb +111 -16
  6. data/lib/radiator/bridge.rb +34 -0
  7. data/lib/radiator/broadcast_operations.json +7 -7
  8. data/lib/radiator/chain.rb +1 -1
  9. data/lib/radiator/chain_config.rb +9 -2
  10. data/lib/radiator/database_api.rb +1 -1
  11. data/lib/radiator/error_parser.rb +1 -1
  12. data/lib/radiator/follow_api.rb +1 -1
  13. data/lib/radiator/market_history_api.rb +1 -1
  14. data/lib/radiator/mixins/acts_as_poster.rb +4 -4
  15. data/lib/radiator/operation.rb +3 -2
  16. data/lib/radiator/operation_types.rb +43 -27
  17. data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +1 -1
  18. data/lib/radiator/stream.rb +21 -8
  19. data/lib/radiator/transaction.rb +43 -3
  20. data/lib/radiator/type/amount.rb +8 -50
  21. data/lib/radiator/type/beneficiaries.rb +8 -1
  22. data/lib/radiator/type/price.rb +2 -2
  23. data/lib/radiator/version.rb +1 -1
  24. data/radiator.gemspec +17 -13
  25. data/test/fixtures/empty.json +1 -0
  26. data/test/fixtures/error.json +29 -0
  27. data/test/fixtures/follow_api_get_followers.json +1 -0
  28. data/test/fixtures/get_account.json +165 -0
  29. data/test/fixtures/get_account_count.json +1 -0
  30. data/test/fixtures/get_account_references.json +1 -0
  31. data/test/fixtures/get_block.json +193 -0
  32. data/test/fixtures/get_dynamic_global_properties.json +32 -0
  33. data/test/fixtures/get_feed_history.json +684 -0
  34. data/test/fixtures/get_hardfork_version.json +1 -0
  35. data/test/fixtures/get_key_references.json +14 -0
  36. data/test/fixtures/get_stats_for_time.json +57 -0
  37. data/test/fixtures/get_vesting_delegation.json +936 -0
  38. data/test/fixtures/golos_get_dynamic_global_properties.json +32 -0
  39. data/test/fixtures/market_history_api_get_market_history_buckets.json +1 -0
  40. data/test/fixtures/market_history_api_get_order_book.json +109 -0
  41. data/test/fixtures/market_history_api_get_recent_trades.json +55 -0
  42. data/test/fixtures/market_history_api_get_ticker.json +11 -0
  43. data/test/fixtures/market_history_api_get_volume.json +1 -0
  44. data/test/fixtures/null.json +1 -0
  45. data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +1465 -0
  46. data/test/fixtures/vcr_cassettes/account_by_key_api_jsonrpc.yml +199 -0
  47. data/test/fixtures/vcr_cassettes/api_all_methods.yml +13802 -0
  48. data/test/fixtures/vcr_cassettes/api_jsonrpc.yml +53 -0
  49. data/test/fixtures/vcr_cassettes/base_per_debt.yml +11068 -0
  50. data/test/fixtures/vcr_cassettes/base_per_mvest.yml +6024 -0
  51. data/test/fixtures/vcr_cassettes/block_time.yml +5368 -0
  52. data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +1723 -0
  53. data/test/fixtures/vcr_cassettes/chain_stats_api_jsonrpc.yml +51 -0
  54. data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +13770 -0
  55. data/test/fixtures/vcr_cassettes/condenser_api_jsonrpc.yml +103 -0
  56. data/test/fixtures/vcr_cassettes/expiration_initialize.yml +16108 -0
  57. data/test/fixtures/vcr_cassettes/find_account.yml +5732 -0
  58. data/test/fixtures/vcr_cassettes/find_block.yml +5322 -0
  59. data/test/fixtures/vcr_cassettes/find_comment.yml +16386 -0
  60. data/test/fixtures/vcr_cassettes/follow_api_jsonrpc.yml +99 -0
  61. data/test/fixtures/vcr_cassettes/get_account_count.yml +783 -0
  62. data/test/fixtures/vcr_cassettes/get_account_references.yml +773 -0
  63. data/test/fixtures/vcr_cassettes/get_accounts.yml +918 -0
  64. data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +773 -0
  65. data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +893 -0
  66. data/test/fixtures/vcr_cassettes/get_feed_history.yml +1432 -0
  67. data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +835 -0
  68. data/test/fixtures/vcr_cassettes/get_key_references.yml +1571 -0
  69. data/test/fixtures/vcr_cassettes/get_market_history.yml +1563 -0
  70. data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +1665 -0
  71. data/test/fixtures/vcr_cassettes/get_order_book.yml +1459 -0
  72. data/test/fixtures/vcr_cassettes/get_recent_trades.yml +1459 -0
  73. data/test/fixtures/vcr_cassettes/get_ticker.yml +1563 -0
  74. data/test/fixtures/vcr_cassettes/get_trade_history.yml +1459 -0
  75. data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +731 -0
  76. data/test/fixtures/vcr_cassettes/get_volume.yml +1561 -0
  77. data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +835 -0
  78. data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +831 -0
  79. data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +10191 -0
  80. data/test/fixtures/vcr_cassettes/market_history_api_jsonrpc.yml +51 -0
  81. data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +2455 -0
  82. data/test/fixtures/vcr_cassettes/network_broadcast_api_jsonrpc.yml +51 -0
  83. data/test/fixtures/vcr_cassettes/properties.yml +5551 -0
  84. data/test/fixtures/vcr_cassettes/recover_transaction.yml +1815 -0
  85. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +90 -0
  86. data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +88 -0
  87. data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +90 -0
  88. data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +90 -0
  89. data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +364 -0
  90. data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +89 -0
  91. data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +87 -0
  92. data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +27502 -0
  93. data/test/fixtures/vcr_cassettes/tag_api_jsonrpc.yml +155 -0
  94. data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +17597 -0
  95. data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +61 -0
  96. data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +13038 -0
  97. data/test/fixtures/vcr_cassettes/valid_chains.yml +11450 -0
  98. data/test/radiator/account_by_key_api_test.rb +46 -0
  99. data/test/radiator/api_test.rb +135 -0
  100. data/test/radiator/chain_stats_api_test.rb +49 -0
  101. data/test/radiator/chain_test.rb +153 -0
  102. data/test/radiator/condenser_api_test.rb +48 -0
  103. data/test/radiator/follow_api_test.rb +48 -0
  104. data/test/radiator/market_history_api_test.rb +100 -0
  105. data/test/radiator/network_broadcast_api_test.rb +48 -0
  106. data/test/radiator/operation_test.rb +116 -0
  107. data/test/radiator/ssc/blockchain_test.rb +58 -0
  108. data/test/radiator/ssc/contracts_test.rb +65 -0
  109. data/test/radiator/stream_test.rb +48 -0
  110. data/test/radiator/tag_api_test.rb +40 -0
  111. data/test/radiator/transaction_test.rb +755 -0
  112. data/test/test_helper.rb +66 -0
  113. metadata +187 -79
  114. data/.codeclimate.yml +0 -19
  115. data/.gitignore +0 -52
  116. data/.travis.yml +0 -23
  117. data/gource.sh +0 -8
  118. data/images/Anthony Martin.png +0 -0
  119. data/images/Marvin Hofmann.jpg +0 -0
  120. data/images/Marvin Hofmann.png +0 -0
  121. data/lib/steem.rb +0 -17
@@ -0,0 +1,835 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.steemitdev.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"jsonrpc":"2.0","id":49,"method":"condenser_api.get_hardfork_version","params":[]}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json; charset=utf-8
12
+ User-Agent:
13
+ - steem-ruby/0.9.5
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
+ - '79'
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Sat, 07 Nov 2020 19:33:21 GMT
29
+ Content-Type:
30
+ - application/json
31
+ Content-Length:
32
+ - '43'
33
+ Connection:
34
+ - keep-alive
35
+ Server:
36
+ - nginx
37
+ X-Jussi-Request-Id:
38
+ - '000146549684348324'
39
+ X-Amzn-Trace-Id:
40
+ - Root=1-5fa6f67f-7500b5a674b799e337080e17
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":"0.23.0","id":49}'
54
+ recorded_at: Sat, 07 Nov 2020 19:33:21 GMT
55
+ - request:
56
+ method: post
57
+ uri: https://api.steemitdev.com/
58
+ body:
59
+ encoding: UTF-8
60
+ string: '{"jsonrpc":"2.0","id":52,"method":"condenser_api.get_hardfork_version","params":[]}'
61
+ headers:
62
+ Content-Type:
63
+ - application/json; charset=utf-8
64
+ User-Agent:
65
+ - steem-ruby/0.9.5
66
+ Accept-Encoding:
67
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
68
+ Accept:
69
+ - "*/*"
70
+ Host:
71
+ - api.steemitdev.com
72
+ Content-Length:
73
+ - '79'
74
+ response:
75
+ status:
76
+ code: 200
77
+ message: OK
78
+ headers:
79
+ Date:
80
+ - Sat, 07 Nov 2020 20:13:42 GMT
81
+ Content-Type:
82
+ - application/json
83
+ Content-Length:
84
+ - '43'
85
+ Connection:
86
+ - keep-alive
87
+ Server:
88
+ - nginx
89
+ X-Jussi-Request-Id:
90
+ - '000243897471600661'
91
+ X-Amzn-Trace-Id:
92
+ - Root=1-5fa6fff6-4d92d26730d5af2d3700d454
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":"0.23.0","id":52}'
106
+ recorded_at: Sat, 07 Nov 2020 20:13:42 GMT
107
+ - request:
108
+ method: post
109
+ uri: https://api.steemitdev.com/
110
+ body:
111
+ encoding: UTF-8
112
+ string: '{"jsonrpc":"2.0","id":109,"method":"condenser_api.get_hardfork_version","params":[]}'
113
+ headers:
114
+ Content-Type:
115
+ - application/json; charset=utf-8
116
+ User-Agent:
117
+ - steem-ruby/0.9.5
118
+ Accept-Encoding:
119
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
120
+ Accept:
121
+ - "*/*"
122
+ Host:
123
+ - api.steemitdev.com
124
+ Content-Length:
125
+ - '99'
126
+ response:
127
+ status:
128
+ code: 200
129
+ message: OK
130
+ headers:
131
+ Date:
132
+ - Sat, 07 Nov 2020 20:22:26 GMT
133
+ Content-Type:
134
+ - application/json
135
+ Content-Length:
136
+ - '44'
137
+ Connection:
138
+ - keep-alive
139
+ Server:
140
+ - nginx
141
+ X-Jussi-Request-Id:
142
+ - '000744007738301310'
143
+ X-Amzn-Trace-Id:
144
+ - Root=1-5fa70201-333b61920399096d58ce98a4
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":"0.23.0","id":109}'
158
+ recorded_at: Sat, 07 Nov 2020 20:22:26 GMT
159
+ - request:
160
+ method: post
161
+ uri: https://api.steemitdev.com/
162
+ body:
163
+ encoding: UTF-8
164
+ string: '{"jsonrpc":"2.0","id":60,"method":"condenser_api.get_hardfork_version","params":[]}'
165
+ headers:
166
+ Content-Type:
167
+ - application/json; charset=utf-8
168
+ User-Agent:
169
+ - steem-ruby/0.9.5
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
+ - '96'
178
+ response:
179
+ status:
180
+ code: 200
181
+ message: OK
182
+ headers:
183
+ Date:
184
+ - Sat, 07 Nov 2020 20:27:15 GMT
185
+ Content-Type:
186
+ - application/json
187
+ Content-Length:
188
+ - '43'
189
+ Connection:
190
+ - keep-alive
191
+ Server:
192
+ - nginx
193
+ X-Jussi-Request-Id:
194
+ - '000711567079829010'
195
+ X-Amzn-Trace-Id:
196
+ - Root=1-5fa70322-4ec85afa44f4a9cf6b4bda7b
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":"0.23.0","id":60}'
210
+ recorded_at: Sat, 07 Nov 2020 20:27:15 GMT
211
+ - request:
212
+ method: post
213
+ uri: https://api.steemitdev.com/
214
+ body:
215
+ encoding: UTF-8
216
+ string: '{"jsonrpc":"2.0","id":100,"method":"condenser_api.get_hardfork_version","params":[]}'
217
+ headers:
218
+ Content-Type:
219
+ - application/json; charset=utf-8
220
+ User-Agent:
221
+ - steem-ruby/0.9.5
222
+ Accept-Encoding:
223
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
224
+ Accept:
225
+ - "*/*"
226
+ Host:
227
+ - api.steemitdev.com
228
+ Content-Length:
229
+ - '79'
230
+ response:
231
+ status:
232
+ code: 200
233
+ message: OK
234
+ headers:
235
+ Date:
236
+ - Sat, 07 Nov 2020 20:31:50 GMT
237
+ Content-Type:
238
+ - application/json
239
+ Content-Length:
240
+ - '44'
241
+ Connection:
242
+ - keep-alive
243
+ Server:
244
+ - nginx
245
+ X-Jussi-Request-Id:
246
+ - '000830897820526774'
247
+ X-Amzn-Trace-Id:
248
+ - Root=1-5fa70435-109be22f27c9bef43b1e7639
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":"0.23.0","id":100}'
262
+ recorded_at: Sat, 07 Nov 2020 20:31:50 GMT
263
+ - request:
264
+ method: post
265
+ uri: https://api.steemitdev.com/
266
+ body:
267
+ encoding: UTF-8
268
+ string: '{"jsonrpc":"2.0","id":125,"method":"condenser_api.get_hardfork_version","params":[]}'
269
+ headers:
270
+ Content-Type:
271
+ - application/json; charset=utf-8
272
+ User-Agent:
273
+ - steem-ruby/0.9.5
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
+ - '88'
282
+ response:
283
+ status:
284
+ code: 200
285
+ message: OK
286
+ headers:
287
+ Date:
288
+ - Sat, 07 Nov 2020 20:36:01 GMT
289
+ Content-Type:
290
+ - application/json
291
+ Content-Length:
292
+ - '44'
293
+ Connection:
294
+ - keep-alive
295
+ Server:
296
+ - nginx
297
+ X-Jussi-Request-Id:
298
+ - '000646958591969119'
299
+ X-Amzn-Trace-Id:
300
+ - Root=1-5fa7052f-041b482a690b7bdd2e9a5374
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":"0.23.0","id":125}'
314
+ recorded_at: Sat, 07 Nov 2020 20:36:01 GMT
315
+ - request:
316
+ method: post
317
+ uri: https://api.steemitdev.com/
318
+ body:
319
+ encoding: UTF-8
320
+ string: '{"jsonrpc":"2.0","id":114,"method":"condenser_api.get_hardfork_version","params":[]}'
321
+ headers:
322
+ Content-Type:
323
+ - application/json; charset=utf-8
324
+ User-Agent:
325
+ - steem-ruby/0.9.5
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
+ - '87'
334
+ response:
335
+ status:
336
+ code: 200
337
+ message: OK
338
+ headers:
339
+ Date:
340
+ - Sat, 07 Nov 2020 20:42:55 GMT
341
+ Content-Type:
342
+ - application/json
343
+ Content-Length:
344
+ - '44'
345
+ Connection:
346
+ - keep-alive
347
+ Server:
348
+ - nginx
349
+ X-Jussi-Request-Id:
350
+ - '000781293618846146'
351
+ X-Amzn-Trace-Id:
352
+ - Root=1-5fa706ce-46df705947fa8740660c5879
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":"0.23.0","id":114}'
366
+ recorded_at: Sat, 07 Nov 2020 20:42:55 GMT
367
+ - request:
368
+ method: post
369
+ uri: https://api.steemitdev.com/
370
+ body:
371
+ encoding: UTF-8
372
+ string: '{"jsonrpc":"2.0","id":14,"method":"condenser_api.get_hardfork_version","params":[]}'
373
+ headers:
374
+ Content-Type:
375
+ - application/json; charset=utf-8
376
+ User-Agent:
377
+ - steem-ruby/0.9.5
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, 07 Nov 2020 20:46:13 GMT
393
+ Content-Type:
394
+ - application/json
395
+ Content-Length:
396
+ - '43'
397
+ Connection:
398
+ - keep-alive
399
+ Server:
400
+ - nginx
401
+ X-Jussi-Request-Id:
402
+ - '000211463917721368'
403
+ X-Amzn-Trace-Id:
404
+ - Root=1-5fa70794-01c15b337d16df1a7581e4e4
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":"0.23.0","id":14}'
418
+ recorded_at: Sat, 07 Nov 2020 20:46:13 GMT
419
+ - request:
420
+ method: post
421
+ uri: https://api.steemitdev.com/
422
+ body:
423
+ encoding: UTF-8
424
+ string: '{"jsonrpc":"2.0","id":83,"method":"condenser_api.get_hardfork_version","params":[]}'
425
+ headers:
426
+ Content-Type:
427
+ - application/json; charset=utf-8
428
+ User-Agent:
429
+ - steem-ruby/0.9.5
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
+ - '87'
438
+ response:
439
+ status:
440
+ code: 200
441
+ message: OK
442
+ headers:
443
+ Date:
444
+ - Sat, 07 Nov 2020 20:54:10 GMT
445
+ Content-Type:
446
+ - application/json
447
+ Content-Length:
448
+ - '43'
449
+ Connection:
450
+ - keep-alive
451
+ Server:
452
+ - nginx
453
+ X-Jussi-Request-Id:
454
+ - '000656883227082292'
455
+ X-Amzn-Trace-Id:
456
+ - Root=1-5fa70972-4c80bd4e4fda23ed6ed91a81
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":"0.23.0","id":83}'
470
+ recorded_at: Sat, 07 Nov 2020 20:54:11 GMT
471
+ - request:
472
+ method: post
473
+ uri: https://api.steemitdev.com/
474
+ body:
475
+ encoding: UTF-8
476
+ string: '{"jsonrpc":"2.0","id":17,"method":"condenser_api.get_hardfork_version","params":[]}'
477
+ headers:
478
+ Content-Type:
479
+ - application/json; charset=utf-8
480
+ User-Agent:
481
+ - steem-ruby/0.9.5
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
+ - '96'
490
+ response:
491
+ status:
492
+ code: 200
493
+ message: OK
494
+ headers:
495
+ Date:
496
+ - Sat, 07 Nov 2020 21:00:55 GMT
497
+ Content-Type:
498
+ - application/json
499
+ Content-Length:
500
+ - '43'
501
+ Connection:
502
+ - keep-alive
503
+ Server:
504
+ - nginx
505
+ X-Jussi-Request-Id:
506
+ - '000897956371045533'
507
+ X-Amzn-Trace-Id:
508
+ - Root=1-5fa70b05-6ec1ebd51c92957263919f6e
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":"0.23.0","id":17}'
522
+ recorded_at: Sat, 07 Nov 2020 21:00:55 GMT
523
+ - request:
524
+ method: post
525
+ uri: https://api.steemitdev.com/
526
+ body:
527
+ encoding: UTF-8
528
+ string: '{"jsonrpc":"2.0","id":112,"method":"condenser_api.get_hardfork_version","params":[]}'
529
+ headers:
530
+ Content-Type:
531
+ - application/json; charset=utf-8
532
+ User-Agent:
533
+ - steem-ruby/0.9.5
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
+ - '97'
542
+ response:
543
+ status:
544
+ code: 200
545
+ message: OK
546
+ headers:
547
+ Date:
548
+ - Sat, 07 Nov 2020 21:08:53 GMT
549
+ Content-Type:
550
+ - application/json
551
+ Content-Length:
552
+ - '44'
553
+ Connection:
554
+ - keep-alive
555
+ Server:
556
+ - nginx
557
+ X-Jussi-Request-Id:
558
+ - '000536050309405942'
559
+ X-Amzn-Trace-Id:
560
+ - Root=1-5fa70ce4-0aeb6b336f573d23425fc978
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":"0.23.0","id":112}'
574
+ recorded_at: Sat, 07 Nov 2020 21:08:53 GMT
575
+ - request:
576
+ method: post
577
+ uri: https://api.steemitdev.com/
578
+ body:
579
+ encoding: UTF-8
580
+ string: '{"jsonrpc":"2.0","id":120,"method":"condenser_api.get_hardfork_version","params":[]}'
581
+ headers:
582
+ Content-Type:
583
+ - application/json; charset=utf-8
584
+ User-Agent:
585
+ - steem-ruby/0.9.5
586
+ Accept-Encoding:
587
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
588
+ Accept:
589
+ - "*/*"
590
+ Host:
591
+ - api.steemitdev.com
592
+ Content-Length:
593
+ - '80'
594
+ response:
595
+ status:
596
+ code: 200
597
+ message: OK
598
+ headers:
599
+ Date:
600
+ - Sat, 07 Nov 2020 21:11:43 GMT
601
+ Content-Type:
602
+ - application/json
603
+ Content-Length:
604
+ - '44'
605
+ Connection:
606
+ - keep-alive
607
+ Server:
608
+ - nginx
609
+ X-Jussi-Request-Id:
610
+ - '000126971250584314'
611
+ X-Amzn-Trace-Id:
612
+ - Root=1-5fa70d8d-5bce864f3f59010440bda00f
613
+ Access-Control-Allow-Origin:
614
+ - "*"
615
+ Access-Control-Allow-Methods:
616
+ - GET, POST, OPTIONS
617
+ Access-Control-Allow-Headers:
618
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
619
+ Strict-Transport-Security:
620
+ - max-age=31557600; includeSubDomains; preload
621
+ Content-Security-Policy:
622
+ - upgrade-insecure-requests
623
+ body:
624
+ encoding: UTF-8
625
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":120}'
626
+ recorded_at: Sat, 07 Nov 2020 21:11:43 GMT
627
+ - request:
628
+ method: post
629
+ uri: https://api.steemitdev.com/
630
+ body:
631
+ encoding: UTF-8
632
+ string: '{"jsonrpc":"2.0","id":6,"method":"condenser_api.get_hardfork_version","params":[]}'
633
+ headers:
634
+ Content-Type:
635
+ - application/json; charset=utf-8
636
+ User-Agent:
637
+ - steem-ruby/0.9.5
638
+ Accept-Encoding:
639
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
640
+ Accept:
641
+ - "*/*"
642
+ Host:
643
+ - api.steemitdev.com
644
+ Content-Length:
645
+ - '85'
646
+ response:
647
+ status:
648
+ code: 200
649
+ message: OK
650
+ headers:
651
+ Date:
652
+ - Sun, 08 Nov 2020 05:35:13 GMT
653
+ Content-Type:
654
+ - application/json
655
+ Content-Length:
656
+ - '42'
657
+ Connection:
658
+ - keep-alive
659
+ Server:
660
+ - nginx
661
+ X-Jussi-Request-Id:
662
+ - '000334886417318797'
663
+ X-Amzn-Trace-Id:
664
+ - Root=1-5fa7838f-3e9d856d41b1b54f3fff55b8
665
+ Access-Control-Allow-Origin:
666
+ - "*"
667
+ Access-Control-Allow-Methods:
668
+ - GET, POST, OPTIONS
669
+ Access-Control-Allow-Headers:
670
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
671
+ Strict-Transport-Security:
672
+ - max-age=31557600; includeSubDomains; preload
673
+ Content-Security-Policy:
674
+ - upgrade-insecure-requests
675
+ body:
676
+ encoding: UTF-8
677
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":6}'
678
+ recorded_at: Sun, 08 Nov 2020 05:35:13 GMT
679
+ - request:
680
+ method: post
681
+ uri: https://api.steemitdev.com/
682
+ body:
683
+ encoding: UTF-8
684
+ string: '{"jsonrpc":"2.0","id":40,"method":"condenser_api.get_hardfork_version","params":[]}'
685
+ headers:
686
+ Content-Type:
687
+ - application/json; charset=utf-8
688
+ User-Agent:
689
+ - steem-ruby/0.9.5
690
+ Accept-Encoding:
691
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
692
+ Accept:
693
+ - "*/*"
694
+ Host:
695
+ - api.steemit.com
696
+ Content-Length:
697
+ - '112'
698
+ response:
699
+ status:
700
+ code: 200
701
+ message: OK
702
+ headers:
703
+ Date:
704
+ - Sun, 08 Nov 2020 05:39:35 GMT
705
+ Content-Type:
706
+ - application/json
707
+ Content-Length:
708
+ - '43'
709
+ Connection:
710
+ - keep-alive
711
+ Server:
712
+ - nginx
713
+ X-Jussi-Request-Id:
714
+ - '001052459670283151'
715
+ X-Amzn-Trace-Id:
716
+ - Root=1-5fa78495-429159231da0850073aee767
717
+ Access-Control-Allow-Origin:
718
+ - "*"
719
+ Access-Control-Allow-Methods:
720
+ - GET, POST, OPTIONS
721
+ Access-Control-Allow-Headers:
722
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
723
+ Strict-Transport-Security:
724
+ - max-age=31557600; includeSubDomains; preload
725
+ Content-Security-Policy:
726
+ - upgrade-insecure-requests
727
+ body:
728
+ encoding: UTF-8
729
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":40}'
730
+ recorded_at: Sun, 08 Nov 2020 05:39:35 GMT
731
+ - request:
732
+ method: post
733
+ uri: https://api.steemitdev.com/
734
+ body:
735
+ encoding: UTF-8
736
+ string: '{"jsonrpc":"2.0","id":42,"method":"condenser_api.get_hardfork_version","params":[]}'
737
+ headers:
738
+ Content-Type:
739
+ - application/json; charset=utf-8
740
+ User-Agent:
741
+ - steem-ruby/0.9.5
742
+ Accept-Encoding:
743
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
744
+ Accept:
745
+ - "*/*"
746
+ Host:
747
+ - api.steemit.com
748
+ Content-Length:
749
+ - '92'
750
+ response:
751
+ status:
752
+ code: 200
753
+ message: OK
754
+ headers:
755
+ Date:
756
+ - Sun, 08 Nov 2020 05:48:01 GMT
757
+ Content-Type:
758
+ - application/json
759
+ Content-Length:
760
+ - '43'
761
+ Connection:
762
+ - keep-alive
763
+ Server:
764
+ - nginx
765
+ X-Jussi-Request-Id:
766
+ - '000038504759216127'
767
+ X-Amzn-Trace-Id:
768
+ - Root=1-5fa78690-4381d5257137242c38b6b918
769
+ Access-Control-Allow-Origin:
770
+ - "*"
771
+ Access-Control-Allow-Methods:
772
+ - GET, POST, OPTIONS
773
+ Access-Control-Allow-Headers:
774
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
775
+ Strict-Transport-Security:
776
+ - max-age=31557600; includeSubDomains; preload
777
+ Content-Security-Policy:
778
+ - upgrade-insecure-requests
779
+ body:
780
+ encoding: UTF-8
781
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":42}'
782
+ recorded_at: Sun, 08 Nov 2020 05:48:01 GMT
783
+ - request:
784
+ method: post
785
+ uri: https://api.steemitdev.com/
786
+ body:
787
+ encoding: UTF-8
788
+ string: '{"jsonrpc":"2.0","id":18,"method":"condenser_api.get_hardfork_version","params":[]}'
789
+ headers:
790
+ Content-Type:
791
+ - application/json; charset=utf-8
792
+ User-Agent:
793
+ - steem-ruby/0.9.5
794
+ Accept-Encoding:
795
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
796
+ Accept:
797
+ - "*/*"
798
+ Host:
799
+ - api.steemitdev.com
800
+ Content-Length:
801
+ - '80'
802
+ response:
803
+ status:
804
+ code: 200
805
+ message: OK
806
+ headers:
807
+ Date:
808
+ - Sun, 08 Nov 2020 06:00:47 GMT
809
+ Content-Type:
810
+ - application/json
811
+ Content-Length:
812
+ - '43'
813
+ Connection:
814
+ - keep-alive
815
+ Server:
816
+ - nginx
817
+ X-Jussi-Request-Id:
818
+ - '000994131738148118'
819
+ X-Amzn-Trace-Id:
820
+ - Root=1-5fa7898f-6514d6351540dfc43cb594d3
821
+ Access-Control-Allow-Origin:
822
+ - "*"
823
+ Access-Control-Allow-Methods:
824
+ - GET, POST, OPTIONS
825
+ Access-Control-Allow-Headers:
826
+ - DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
827
+ Strict-Transport-Security:
828
+ - max-age=31557600; includeSubDomains; preload
829
+ Content-Security-Policy:
830
+ - upgrade-insecure-requests
831
+ body:
832
+ encoding: UTF-8
833
+ string: '{"jsonrpc":"2.0","result":"0.23.0","id":18}'
834
+ recorded_at: Sun, 08 Nov 2020 06:00:47 GMT
835
+ recorded_with: VCR 6.0.0