etherscanio 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/.yardopts +1 -0
- data/Rakefile +4 -1
- data/doc/Etherscanio.html +117 -0
- data/doc/Etherscanio/Api.html +687 -0
- data/doc/Etherscanio/Call.html +1267 -0
- data/doc/_index.html +140 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +492 -0
- data/doc/file.README.html +77 -0
- data/doc/file_list.html +61 -0
- data/doc/frames.html +17 -0
- data/doc/index.html +77 -0
- data/doc/js/app.js +243 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +251 -0
- data/doc/top-level-namespace.html +110 -0
- data/etherscanio.gemspec +4 -1
- metadata +47 -1
|
@@ -0,0 +1,1267 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>
|
|
7
|
+
Class: Etherscanio::Call
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.9.8
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
pathId = "Etherscanio::Call";
|
|
19
|
+
relpath = '../';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
|
24
|
+
|
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
<div class="nav_wrap">
|
|
31
|
+
<iframe id="nav" src="../class_list.html?1"></iframe>
|
|
32
|
+
<div id="resizer"></div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="main" tabindex="-1">
|
|
36
|
+
<div id="header">
|
|
37
|
+
<div id="menu">
|
|
38
|
+
|
|
39
|
+
<a href="../_index.html">Index (C)</a> »
|
|
40
|
+
<span class='title'><span class='object_link'><a href="../Etherscanio.html" title="Etherscanio (module)">Etherscanio</a></span></span>
|
|
41
|
+
»
|
|
42
|
+
<span class="title">Call</span>
|
|
43
|
+
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div id="search">
|
|
47
|
+
|
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
|
49
|
+
href="../class_list.html">
|
|
50
|
+
|
|
51
|
+
<svg width="24" height="24">
|
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
</svg>
|
|
56
|
+
</a>
|
|
57
|
+
|
|
58
|
+
</div>
|
|
59
|
+
<div class="clear"></div>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
<div id="content"><h1>Class: Etherscanio::Call
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
</h1>
|
|
67
|
+
<div class="box_info">
|
|
68
|
+
|
|
69
|
+
<dl>
|
|
70
|
+
<dt>Inherits:</dt>
|
|
71
|
+
<dd>
|
|
72
|
+
<span class="inheritName">Object</span>
|
|
73
|
+
|
|
74
|
+
<ul class="fullTree">
|
|
75
|
+
<li>Object</li>
|
|
76
|
+
|
|
77
|
+
<li class="next">Etherscanio::Call</li>
|
|
78
|
+
|
|
79
|
+
</ul>
|
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
81
|
+
|
|
82
|
+
</dd>
|
|
83
|
+
</dl>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<dl>
|
|
96
|
+
<dt>Defined in:</dt>
|
|
97
|
+
<dd>lib/etherscanio/call.rb</dd>
|
|
98
|
+
</dl>
|
|
99
|
+
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
|
107
|
+
<ul class="summary">
|
|
108
|
+
|
|
109
|
+
<li class="public ">
|
|
110
|
+
<span class="summary_signature">
|
|
111
|
+
|
|
112
|
+
<a href="#action-instance_method" title="#action (instance method)">#<strong>action</strong> ⇒ Object </a>
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
</span>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<span class="summary_desc"><div class='inline'>
|
|
130
|
+
<p>Returns the value of attribute action.</p>
|
|
131
|
+
</div></span>
|
|
132
|
+
|
|
133
|
+
</li>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
<li class="public ">
|
|
137
|
+
<span class="summary_signature">
|
|
138
|
+
|
|
139
|
+
<a href="#address-instance_method" title="#address (instance method)">#<strong>address</strong> ⇒ Object </a>
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
</span>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<span class="summary_desc"><div class='inline'>
|
|
157
|
+
<p>Returns the value of attribute address.</p>
|
|
158
|
+
</div></span>
|
|
159
|
+
|
|
160
|
+
</li>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<li class="public ">
|
|
164
|
+
<span class="summary_signature">
|
|
165
|
+
|
|
166
|
+
<a href="#api_key-instance_method" title="#api_key (instance method)">#<strong>api_key</strong> ⇒ Object </a>
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
</span>
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
<span class="summary_desc"><div class='inline'>
|
|
184
|
+
<p>Returns the value of attribute api_key.</p>
|
|
185
|
+
</div></span>
|
|
186
|
+
|
|
187
|
+
</li>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<li class="public ">
|
|
191
|
+
<span class="summary_signature">
|
|
192
|
+
|
|
193
|
+
<a href="#blockno-instance_method" title="#blockno (instance method)">#<strong>blockno</strong> ⇒ Object </a>
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
</span>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
<span class="summary_desc"><div class='inline'>
|
|
211
|
+
<p>Returns the value of attribute blockno.</p>
|
|
212
|
+
</div></span>
|
|
213
|
+
|
|
214
|
+
</li>
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
<li class="public ">
|
|
218
|
+
<span class="summary_signature">
|
|
219
|
+
|
|
220
|
+
<a href="#blocktype-instance_method" title="#blocktype (instance method)">#<strong>blocktype</strong> ⇒ Object </a>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
</span>
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
<span class="summary_desc"><div class='inline'>
|
|
238
|
+
<p>Returns the value of attribute blocktype.</p>
|
|
239
|
+
</div></span>
|
|
240
|
+
|
|
241
|
+
</li>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
<li class="public ">
|
|
245
|
+
<span class="summary_signature">
|
|
246
|
+
|
|
247
|
+
<a href="#endblock-instance_method" title="#endblock (instance method)">#<strong>endblock</strong> ⇒ Object </a>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
</span>
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
<span class="summary_desc"><div class='inline'>
|
|
265
|
+
<p>Returns the value of attribute endblock.</p>
|
|
266
|
+
</div></span>
|
|
267
|
+
|
|
268
|
+
</li>
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
<li class="public ">
|
|
272
|
+
<span class="summary_signature">
|
|
273
|
+
|
|
274
|
+
<a href="#mod-instance_method" title="#mod (instance method)">#<strong>mod</strong> ⇒ Object </a>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
</span>
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
<span class="summary_desc"><div class='inline'>
|
|
292
|
+
<p>Returns the value of attribute mod.</p>
|
|
293
|
+
</div></span>
|
|
294
|
+
|
|
295
|
+
</li>
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
<li class="public ">
|
|
299
|
+
<span class="summary_signature">
|
|
300
|
+
|
|
301
|
+
<a href="#offset-instance_method" title="#offset (instance method)">#<strong>offset</strong> ⇒ Object </a>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
</span>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
<span class="summary_desc"><div class='inline'>
|
|
319
|
+
<p>Returns the value of attribute offset.</p>
|
|
320
|
+
</div></span>
|
|
321
|
+
|
|
322
|
+
</li>
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
<li class="public ">
|
|
326
|
+
<span class="summary_signature">
|
|
327
|
+
|
|
328
|
+
<a href="#page-instance_method" title="#page (instance method)">#<strong>page</strong> ⇒ Object </a>
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
</span>
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
<span class="summary_desc"><div class='inline'>
|
|
346
|
+
<p>Returns the value of attribute page.</p>
|
|
347
|
+
</div></span>
|
|
348
|
+
|
|
349
|
+
</li>
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
<li class="public ">
|
|
353
|
+
<span class="summary_signature">
|
|
354
|
+
|
|
355
|
+
<a href="#sort-instance_method" title="#sort (instance method)">#<strong>sort</strong> ⇒ Object </a>
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
</span>
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
<span class="summary_desc"><div class='inline'>
|
|
373
|
+
<p>Returns the value of attribute sort.</p>
|
|
374
|
+
</div></span>
|
|
375
|
+
|
|
376
|
+
</li>
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
<li class="public ">
|
|
380
|
+
<span class="summary_signature">
|
|
381
|
+
|
|
382
|
+
<a href="#startblock-instance_method" title="#startblock (instance method)">#<strong>startblock</strong> ⇒ Object </a>
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
</span>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
<span class="summary_desc"><div class='inline'>
|
|
400
|
+
<p>Returns the value of attribute startblock.</p>
|
|
401
|
+
</div></span>
|
|
402
|
+
|
|
403
|
+
</li>
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
<li class="public ">
|
|
407
|
+
<span class="summary_signature">
|
|
408
|
+
|
|
409
|
+
<a href="#tag-instance_method" title="#tag (instance method)">#<strong>tag</strong> ⇒ Object </a>
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
</span>
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
<span class="summary_desc"><div class='inline'>
|
|
427
|
+
<p>Returns the value of attribute tag.</p>
|
|
428
|
+
</div></span>
|
|
429
|
+
|
|
430
|
+
</li>
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
<li class="public ">
|
|
434
|
+
<span class="summary_signature">
|
|
435
|
+
|
|
436
|
+
<a href="#txhash-instance_method" title="#txhash (instance method)">#<strong>txhash</strong> ⇒ Object </a>
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
</span>
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
<span class="summary_desc"><div class='inline'>
|
|
454
|
+
<p>Returns the value of attribute txhash.</p>
|
|
455
|
+
</div></span>
|
|
456
|
+
|
|
457
|
+
</li>
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
</ul>
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
<h2>
|
|
467
|
+
Instance Method Summary
|
|
468
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
|
469
|
+
</h2>
|
|
470
|
+
|
|
471
|
+
<ul class="summary">
|
|
472
|
+
|
|
473
|
+
<li class="public ">
|
|
474
|
+
<span class="summary_signature">
|
|
475
|
+
|
|
476
|
+
<a href="#fetch-instance_method" title="#fetch (instance method)">#<strong>fetch</strong> ⇒ Object </a>
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
</span>
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
491
|
+
|
|
492
|
+
</li>
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
<li class="public ">
|
|
496
|
+
<span class="summary_signature">
|
|
497
|
+
|
|
498
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(mod, action) ⇒ Call </a>
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
</span>
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
<span class="note title constructor">constructor</span>
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
<span class="summary_desc"><div class='inline'>
|
|
515
|
+
<p>A new instance of Call.</p>
|
|
516
|
+
</div></span>
|
|
517
|
+
|
|
518
|
+
</li>
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
<li class="public ">
|
|
522
|
+
<span class="summary_signature">
|
|
523
|
+
|
|
524
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> ⇒ Object </a>
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
</span>
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
|
539
|
+
|
|
540
|
+
</li>
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
</ul>
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
<div id="constructor_details" class="method_details_list">
|
|
547
|
+
<h2>Constructor Details</h2>
|
|
548
|
+
|
|
549
|
+
<div class="method_details first">
|
|
550
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
551
|
+
|
|
552
|
+
#<strong>initialize</strong>(mod, action) ⇒ <tt><span class='object_link'><a href="" title="Etherscanio::Call (class)">Call</a></span></tt>
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
</h3><div class="docstring">
|
|
559
|
+
<div class="discussion">
|
|
560
|
+
|
|
561
|
+
<p>Returns a new instance of Call</p>
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
</div>
|
|
565
|
+
</div>
|
|
566
|
+
<div class="tags">
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
</div><table class="source_code">
|
|
570
|
+
<tr>
|
|
571
|
+
<td>
|
|
572
|
+
<pre class="lines">
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
18
|
|
576
|
+
19
|
|
577
|
+
20
|
|
578
|
+
21
|
|
579
|
+
22
|
|
580
|
+
23</pre>
|
|
581
|
+
</td>
|
|
582
|
+
<td>
|
|
583
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 18</span>
|
|
584
|
+
|
|
585
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_mod'>mod</span><span class='comma'>,</span> <span class='id identifier rubyid_action'>action</span><span class='rparen'>)</span>
|
|
586
|
+
<span class='ivar'>@base</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http://api.etherscan.io/api?</span><span class='tstring_end'>'</span></span>
|
|
587
|
+
<span class='ivar'>@mod</span> <span class='op'>=</span> <span class='id identifier rubyid_mod'>mod</span>
|
|
588
|
+
<span class='ivar'>@action</span> <span class='op'>=</span> <span class='id identifier rubyid_action'>action</span>
|
|
589
|
+
<span class='ivar'>@api_key</span> <span class='op'>=</span> <span class='kw'>false</span>
|
|
590
|
+
<span class='kw'>end</span></pre>
|
|
591
|
+
</td>
|
|
592
|
+
</tr>
|
|
593
|
+
</table>
|
|
594
|
+
</div>
|
|
595
|
+
|
|
596
|
+
</div>
|
|
597
|
+
|
|
598
|
+
<div id="instance_attr_details" class="attr_details">
|
|
599
|
+
<h2>Instance Attribute Details</h2>
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
<span id="action=-instance_method"></span>
|
|
603
|
+
<div class="method_details first">
|
|
604
|
+
<h3 class="signature first" id="action-instance_method">
|
|
605
|
+
|
|
606
|
+
#<strong>action</strong> ⇒ <tt>Object</tt>
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
</h3><div class="docstring">
|
|
613
|
+
<div class="discussion">
|
|
614
|
+
|
|
615
|
+
<p>Returns the value of attribute action</p>
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
</div>
|
|
619
|
+
</div>
|
|
620
|
+
<div class="tags">
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
</div><table class="source_code">
|
|
624
|
+
<tr>
|
|
625
|
+
<td>
|
|
626
|
+
<pre class="lines">
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
4
|
|
630
|
+
5
|
|
631
|
+
6</pre>
|
|
632
|
+
</td>
|
|
633
|
+
<td>
|
|
634
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
635
|
+
|
|
636
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_action'>action</span>
|
|
637
|
+
<span class='ivar'>@action</span>
|
|
638
|
+
<span class='kw'>end</span></pre>
|
|
639
|
+
</td>
|
|
640
|
+
</tr>
|
|
641
|
+
</table>
|
|
642
|
+
</div>
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
<span id="address=-instance_method"></span>
|
|
646
|
+
<div class="method_details ">
|
|
647
|
+
<h3 class="signature " id="address-instance_method">
|
|
648
|
+
|
|
649
|
+
#<strong>address</strong> ⇒ <tt>Object</tt>
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
</h3><div class="docstring">
|
|
656
|
+
<div class="discussion">
|
|
657
|
+
|
|
658
|
+
<p>Returns the value of attribute address</p>
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
</div>
|
|
662
|
+
</div>
|
|
663
|
+
<div class="tags">
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
</div><table class="source_code">
|
|
667
|
+
<tr>
|
|
668
|
+
<td>
|
|
669
|
+
<pre class="lines">
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
4
|
|
673
|
+
5
|
|
674
|
+
6</pre>
|
|
675
|
+
</td>
|
|
676
|
+
<td>
|
|
677
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
678
|
+
|
|
679
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_address'>address</span>
|
|
680
|
+
<span class='ivar'>@address</span>
|
|
681
|
+
<span class='kw'>end</span></pre>
|
|
682
|
+
</td>
|
|
683
|
+
</tr>
|
|
684
|
+
</table>
|
|
685
|
+
</div>
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
<span id="api_key=-instance_method"></span>
|
|
689
|
+
<div class="method_details ">
|
|
690
|
+
<h3 class="signature " id="api_key-instance_method">
|
|
691
|
+
|
|
692
|
+
#<strong>api_key</strong> ⇒ <tt>Object</tt>
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
</h3><div class="docstring">
|
|
699
|
+
<div class="discussion">
|
|
700
|
+
|
|
701
|
+
<p>Returns the value of attribute api_key</p>
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
</div>
|
|
705
|
+
</div>
|
|
706
|
+
<div class="tags">
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
</div><table class="source_code">
|
|
710
|
+
<tr>
|
|
711
|
+
<td>
|
|
712
|
+
<pre class="lines">
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
4
|
|
716
|
+
5
|
|
717
|
+
6</pre>
|
|
718
|
+
</td>
|
|
719
|
+
<td>
|
|
720
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
721
|
+
|
|
722
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_api_key'>api_key</span>
|
|
723
|
+
<span class='ivar'>@api_key</span>
|
|
724
|
+
<span class='kw'>end</span></pre>
|
|
725
|
+
</td>
|
|
726
|
+
</tr>
|
|
727
|
+
</table>
|
|
728
|
+
</div>
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
<span id="blockno=-instance_method"></span>
|
|
732
|
+
<div class="method_details ">
|
|
733
|
+
<h3 class="signature " id="blockno-instance_method">
|
|
734
|
+
|
|
735
|
+
#<strong>blockno</strong> ⇒ <tt>Object</tt>
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
</h3><div class="docstring">
|
|
742
|
+
<div class="discussion">
|
|
743
|
+
|
|
744
|
+
<p>Returns the value of attribute blockno</p>
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
</div>
|
|
748
|
+
</div>
|
|
749
|
+
<div class="tags">
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
</div><table class="source_code">
|
|
753
|
+
<tr>
|
|
754
|
+
<td>
|
|
755
|
+
<pre class="lines">
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
4
|
|
759
|
+
5
|
|
760
|
+
6</pre>
|
|
761
|
+
</td>
|
|
762
|
+
<td>
|
|
763
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
764
|
+
|
|
765
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_blockno'>blockno</span>
|
|
766
|
+
<span class='ivar'>@blockno</span>
|
|
767
|
+
<span class='kw'>end</span></pre>
|
|
768
|
+
</td>
|
|
769
|
+
</tr>
|
|
770
|
+
</table>
|
|
771
|
+
</div>
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
<span id="blocktype=-instance_method"></span>
|
|
775
|
+
<div class="method_details ">
|
|
776
|
+
<h3 class="signature " id="blocktype-instance_method">
|
|
777
|
+
|
|
778
|
+
#<strong>blocktype</strong> ⇒ <tt>Object</tt>
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
</h3><div class="docstring">
|
|
785
|
+
<div class="discussion">
|
|
786
|
+
|
|
787
|
+
<p>Returns the value of attribute blocktype</p>
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
</div>
|
|
791
|
+
</div>
|
|
792
|
+
<div class="tags">
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
</div><table class="source_code">
|
|
796
|
+
<tr>
|
|
797
|
+
<td>
|
|
798
|
+
<pre class="lines">
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
4
|
|
802
|
+
5
|
|
803
|
+
6</pre>
|
|
804
|
+
</td>
|
|
805
|
+
<td>
|
|
806
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
807
|
+
|
|
808
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_blocktype'>blocktype</span>
|
|
809
|
+
<span class='ivar'>@blocktype</span>
|
|
810
|
+
<span class='kw'>end</span></pre>
|
|
811
|
+
</td>
|
|
812
|
+
</tr>
|
|
813
|
+
</table>
|
|
814
|
+
</div>
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
<span id="endblock=-instance_method"></span>
|
|
818
|
+
<div class="method_details ">
|
|
819
|
+
<h3 class="signature " id="endblock-instance_method">
|
|
820
|
+
|
|
821
|
+
#<strong>endblock</strong> ⇒ <tt>Object</tt>
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
</h3><div class="docstring">
|
|
828
|
+
<div class="discussion">
|
|
829
|
+
|
|
830
|
+
<p>Returns the value of attribute endblock</p>
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
</div>
|
|
834
|
+
</div>
|
|
835
|
+
<div class="tags">
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
</div><table class="source_code">
|
|
839
|
+
<tr>
|
|
840
|
+
<td>
|
|
841
|
+
<pre class="lines">
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
4
|
|
845
|
+
5
|
|
846
|
+
6</pre>
|
|
847
|
+
</td>
|
|
848
|
+
<td>
|
|
849
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
850
|
+
|
|
851
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_endblock'>endblock</span>
|
|
852
|
+
<span class='ivar'>@endblock</span>
|
|
853
|
+
<span class='kw'>end</span></pre>
|
|
854
|
+
</td>
|
|
855
|
+
</tr>
|
|
856
|
+
</table>
|
|
857
|
+
</div>
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
<span id="mod=-instance_method"></span>
|
|
861
|
+
<div class="method_details ">
|
|
862
|
+
<h3 class="signature " id="mod-instance_method">
|
|
863
|
+
|
|
864
|
+
#<strong>mod</strong> ⇒ <tt>Object</tt>
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
</h3><div class="docstring">
|
|
871
|
+
<div class="discussion">
|
|
872
|
+
|
|
873
|
+
<p>Returns the value of attribute mod</p>
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
</div>
|
|
877
|
+
</div>
|
|
878
|
+
<div class="tags">
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
</div><table class="source_code">
|
|
882
|
+
<tr>
|
|
883
|
+
<td>
|
|
884
|
+
<pre class="lines">
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
4
|
|
888
|
+
5
|
|
889
|
+
6</pre>
|
|
890
|
+
</td>
|
|
891
|
+
<td>
|
|
892
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
893
|
+
|
|
894
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_mod'>mod</span>
|
|
895
|
+
<span class='ivar'>@mod</span>
|
|
896
|
+
<span class='kw'>end</span></pre>
|
|
897
|
+
</td>
|
|
898
|
+
</tr>
|
|
899
|
+
</table>
|
|
900
|
+
</div>
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
<span id="offset=-instance_method"></span>
|
|
904
|
+
<div class="method_details ">
|
|
905
|
+
<h3 class="signature " id="offset-instance_method">
|
|
906
|
+
|
|
907
|
+
#<strong>offset</strong> ⇒ <tt>Object</tt>
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
</h3><div class="docstring">
|
|
914
|
+
<div class="discussion">
|
|
915
|
+
|
|
916
|
+
<p>Returns the value of attribute offset</p>
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
</div>
|
|
920
|
+
</div>
|
|
921
|
+
<div class="tags">
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
</div><table class="source_code">
|
|
925
|
+
<tr>
|
|
926
|
+
<td>
|
|
927
|
+
<pre class="lines">
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
4
|
|
931
|
+
5
|
|
932
|
+
6</pre>
|
|
933
|
+
</td>
|
|
934
|
+
<td>
|
|
935
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
936
|
+
|
|
937
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_offset'>offset</span>
|
|
938
|
+
<span class='ivar'>@offset</span>
|
|
939
|
+
<span class='kw'>end</span></pre>
|
|
940
|
+
</td>
|
|
941
|
+
</tr>
|
|
942
|
+
</table>
|
|
943
|
+
</div>
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
<span id="page=-instance_method"></span>
|
|
947
|
+
<div class="method_details ">
|
|
948
|
+
<h3 class="signature " id="page-instance_method">
|
|
949
|
+
|
|
950
|
+
#<strong>page</strong> ⇒ <tt>Object</tt>
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
</h3><div class="docstring">
|
|
957
|
+
<div class="discussion">
|
|
958
|
+
|
|
959
|
+
<p>Returns the value of attribute page</p>
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
</div>
|
|
963
|
+
</div>
|
|
964
|
+
<div class="tags">
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
</div><table class="source_code">
|
|
968
|
+
<tr>
|
|
969
|
+
<td>
|
|
970
|
+
<pre class="lines">
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
4
|
|
974
|
+
5
|
|
975
|
+
6</pre>
|
|
976
|
+
</td>
|
|
977
|
+
<td>
|
|
978
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
979
|
+
|
|
980
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_page'>page</span>
|
|
981
|
+
<span class='ivar'>@page</span>
|
|
982
|
+
<span class='kw'>end</span></pre>
|
|
983
|
+
</td>
|
|
984
|
+
</tr>
|
|
985
|
+
</table>
|
|
986
|
+
</div>
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
<span id="sort=-instance_method"></span>
|
|
990
|
+
<div class="method_details ">
|
|
991
|
+
<h3 class="signature " id="sort-instance_method">
|
|
992
|
+
|
|
993
|
+
#<strong>sort</strong> ⇒ <tt>Object</tt>
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
</h3><div class="docstring">
|
|
1000
|
+
<div class="discussion">
|
|
1001
|
+
|
|
1002
|
+
<p>Returns the value of attribute sort</p>
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
</div>
|
|
1006
|
+
</div>
|
|
1007
|
+
<div class="tags">
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
</div><table class="source_code">
|
|
1011
|
+
<tr>
|
|
1012
|
+
<td>
|
|
1013
|
+
<pre class="lines">
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
4
|
|
1017
|
+
5
|
|
1018
|
+
6</pre>
|
|
1019
|
+
</td>
|
|
1020
|
+
<td>
|
|
1021
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
1022
|
+
|
|
1023
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_sort'>sort</span>
|
|
1024
|
+
<span class='ivar'>@sort</span>
|
|
1025
|
+
<span class='kw'>end</span></pre>
|
|
1026
|
+
</td>
|
|
1027
|
+
</tr>
|
|
1028
|
+
</table>
|
|
1029
|
+
</div>
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
<span id="startblock=-instance_method"></span>
|
|
1033
|
+
<div class="method_details ">
|
|
1034
|
+
<h3 class="signature " id="startblock-instance_method">
|
|
1035
|
+
|
|
1036
|
+
#<strong>startblock</strong> ⇒ <tt>Object</tt>
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
</h3><div class="docstring">
|
|
1043
|
+
<div class="discussion">
|
|
1044
|
+
|
|
1045
|
+
<p>Returns the value of attribute startblock</p>
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
</div>
|
|
1049
|
+
</div>
|
|
1050
|
+
<div class="tags">
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
</div><table class="source_code">
|
|
1054
|
+
<tr>
|
|
1055
|
+
<td>
|
|
1056
|
+
<pre class="lines">
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
4
|
|
1060
|
+
5
|
|
1061
|
+
6</pre>
|
|
1062
|
+
</td>
|
|
1063
|
+
<td>
|
|
1064
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
1065
|
+
|
|
1066
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_startblock'>startblock</span>
|
|
1067
|
+
<span class='ivar'>@startblock</span>
|
|
1068
|
+
<span class='kw'>end</span></pre>
|
|
1069
|
+
</td>
|
|
1070
|
+
</tr>
|
|
1071
|
+
</table>
|
|
1072
|
+
</div>
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
<span id="tag=-instance_method"></span>
|
|
1076
|
+
<div class="method_details ">
|
|
1077
|
+
<h3 class="signature " id="tag-instance_method">
|
|
1078
|
+
|
|
1079
|
+
#<strong>tag</strong> ⇒ <tt>Object</tt>
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
</h3><div class="docstring">
|
|
1086
|
+
<div class="discussion">
|
|
1087
|
+
|
|
1088
|
+
<p>Returns the value of attribute tag</p>
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
</div>
|
|
1092
|
+
</div>
|
|
1093
|
+
<div class="tags">
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
</div><table class="source_code">
|
|
1097
|
+
<tr>
|
|
1098
|
+
<td>
|
|
1099
|
+
<pre class="lines">
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
4
|
|
1103
|
+
5
|
|
1104
|
+
6</pre>
|
|
1105
|
+
</td>
|
|
1106
|
+
<td>
|
|
1107
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
1108
|
+
|
|
1109
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_tag'>tag</span>
|
|
1110
|
+
<span class='ivar'>@tag</span>
|
|
1111
|
+
<span class='kw'>end</span></pre>
|
|
1112
|
+
</td>
|
|
1113
|
+
</tr>
|
|
1114
|
+
</table>
|
|
1115
|
+
</div>
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
<span id="txhash=-instance_method"></span>
|
|
1119
|
+
<div class="method_details ">
|
|
1120
|
+
<h3 class="signature " id="txhash-instance_method">
|
|
1121
|
+
|
|
1122
|
+
#<strong>txhash</strong> ⇒ <tt>Object</tt>
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
</h3><div class="docstring">
|
|
1129
|
+
<div class="discussion">
|
|
1130
|
+
|
|
1131
|
+
<p>Returns the value of attribute txhash</p>
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
</div>
|
|
1135
|
+
</div>
|
|
1136
|
+
<div class="tags">
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
</div><table class="source_code">
|
|
1140
|
+
<tr>
|
|
1141
|
+
<td>
|
|
1142
|
+
<pre class="lines">
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
4
|
|
1146
|
+
5
|
|
1147
|
+
6</pre>
|
|
1148
|
+
</td>
|
|
1149
|
+
<td>
|
|
1150
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 4</span>
|
|
1151
|
+
|
|
1152
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_txhash'>txhash</span>
|
|
1153
|
+
<span class='ivar'>@txhash</span>
|
|
1154
|
+
<span class='kw'>end</span></pre>
|
|
1155
|
+
</td>
|
|
1156
|
+
</tr>
|
|
1157
|
+
</table>
|
|
1158
|
+
</div>
|
|
1159
|
+
|
|
1160
|
+
</div>
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
<div id="instance_method_details" class="method_details_list">
|
|
1164
|
+
<h2>Instance Method Details</h2>
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
<div class="method_details first">
|
|
1168
|
+
<h3 class="signature first" id="fetch-instance_method">
|
|
1169
|
+
|
|
1170
|
+
#<strong>fetch</strong> ⇒ <tt>Object</tt>
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
</h3><table class="source_code">
|
|
1177
|
+
<tr>
|
|
1178
|
+
<td>
|
|
1179
|
+
<pre class="lines">
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
25
|
|
1183
|
+
26
|
|
1184
|
+
27
|
|
1185
|
+
28
|
|
1186
|
+
29</pre>
|
|
1187
|
+
</td>
|
|
1188
|
+
<td>
|
|
1189
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 25</span>
|
|
1190
|
+
|
|
1191
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_fetch'>fetch</span>
|
|
1192
|
+
<span class='id identifier rubyid_res'>res</span> <span class='op'>=</span> <span class='const'>RestClient</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_to_s'>to_s</span><span class='comma'>,</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span>
|
|
1193
|
+
<span class='id identifier rubyid_parsed'>parsed</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_res'>res</span><span class='rparen'>)</span>
|
|
1194
|
+
<span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_generate'>generate</span><span class='lparen'>(</span><span class='id identifier rubyid_parsed'>parsed</span><span class='rparen'>)</span>
|
|
1195
|
+
<span class='kw'>end</span></pre>
|
|
1196
|
+
</td>
|
|
1197
|
+
</tr>
|
|
1198
|
+
</table>
|
|
1199
|
+
</div>
|
|
1200
|
+
|
|
1201
|
+
<div class="method_details ">
|
|
1202
|
+
<h3 class="signature " id="to_s-instance_method">
|
|
1203
|
+
|
|
1204
|
+
#<strong>to_s</strong> ⇒ <tt>Object</tt>
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
</h3><table class="source_code">
|
|
1211
|
+
<tr>
|
|
1212
|
+
<td>
|
|
1213
|
+
<pre class="lines">
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
31
|
|
1217
|
+
32
|
|
1218
|
+
33
|
|
1219
|
+
34
|
|
1220
|
+
35
|
|
1221
|
+
36
|
|
1222
|
+
37
|
|
1223
|
+
38
|
|
1224
|
+
39
|
|
1225
|
+
40
|
|
1226
|
+
41
|
|
1227
|
+
42
|
|
1228
|
+
43
|
|
1229
|
+
44
|
|
1230
|
+
45</pre>
|
|
1231
|
+
</td>
|
|
1232
|
+
<td>
|
|
1233
|
+
<pre class="code"><span class="info file"># File 'lib/etherscanio/call.rb', line 31</span>
|
|
1234
|
+
|
|
1235
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
|
1236
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>module=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_mod'>mod</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&action=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_action'>action</span>
|
|
1237
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&apikey=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_api_key'>api_key</span> <span class='kw'>if</span> <span class='id identifier rubyid_api_key'>api_key</span>
|
|
1238
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='id identifier rubyid_address_fragment'>address_fragment</span>
|
|
1239
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&startblock=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_startblock'>startblock</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>if</span> <span class='id identifier rubyid_startblock'>startblock</span>
|
|
1240
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&endblock=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_endblock'>endblock</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>if</span> <span class='id identifier rubyid_endblock'>endblock</span>
|
|
1241
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&blocktype=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_blocktype'>blocktype</span> <span class='kw'>if</span> <span class='id identifier rubyid_blocktype'>blocktype</span>
|
|
1242
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&txhash=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_txhash'>txhash</span> <span class='kw'>if</span> <span class='id identifier rubyid_txhash'>txhash</span>
|
|
1243
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&blockno=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_blockno'>blockno</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>if</span> <span class='id identifier rubyid_blockno'>blockno</span>
|
|
1244
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&offset=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_offset'>offset</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>if</span> <span class='id identifier rubyid_offset'>offset</span>
|
|
1245
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&sort=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_sort'>sort</span> <span class='kw'>if</span> <span class='id identifier rubyid_sort'>sort</span>
|
|
1246
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&page=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_page'>page</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>if</span> <span class='id identifier rubyid_page'>page</span>
|
|
1247
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>+=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>&tag=</span><span class='tstring_end'>'</span></span> <span class='op'>+</span> <span class='id identifier rubyid_tag'>tag</span> <span class='kw'>if</span> <span class='id identifier rubyid_tag'>tag</span>
|
|
1248
|
+
<span class='ivar'>@base</span> <span class='op'>+</span> <span class='id identifier rubyid_uri'>uri</span>
|
|
1249
|
+
<span class='kw'>end</span></pre>
|
|
1250
|
+
</td>
|
|
1251
|
+
</tr>
|
|
1252
|
+
</table>
|
|
1253
|
+
</div>
|
|
1254
|
+
|
|
1255
|
+
</div>
|
|
1256
|
+
|
|
1257
|
+
</div>
|
|
1258
|
+
|
|
1259
|
+
<div id="footer">
|
|
1260
|
+
Generated on Fri Mar 31 16:36:23 2017 by
|
|
1261
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1262
|
+
0.9.8 (ruby-2.3.1).
|
|
1263
|
+
</div>
|
|
1264
|
+
|
|
1265
|
+
</div>
|
|
1266
|
+
</body>
|
|
1267
|
+
</html>
|