helium-ruby 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/README.md +3 -3
- data/docs/Helium.html +4 -4
- data/docs/Helium/Client.html +9 -9
- data/docs/Helium/Client/Elements.html +8 -110
- data/docs/Helium/Client/Http.html +31 -33
- data/docs/Helium/Client/Labels.html +38 -218
- data/docs/Helium/Client/Organizations.html +1 -1
- data/docs/Helium/Client/Sensors.html +30 -214
- data/docs/Helium/Client/Users.html +1 -1
- data/docs/Helium/ClientError.html +153 -0
- data/docs/Helium/Cursor.html +8 -8
- data/docs/Helium/DataPoint.html +9 -9
- data/docs/Helium/Element.html +16 -79
- data/docs/Helium/Error.html +267 -0
- data/docs/Helium/InvalidApiKey.html +157 -0
- data/docs/Helium/Label.html +29 -133
- data/docs/Helium/Organization.html +8 -8
- data/docs/Helium/Resource.html +717 -43
- data/docs/Helium/Sensor.html +31 -132
- data/docs/Helium/User.html +8 -8
- data/docs/Helium/Utils.html +1 -1
- data/docs/_index.html +33 -4
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +4 -4
- data/docs/index.html +4 -4
- data/docs/method_list.html +112 -144
- data/docs/top-level-namespace.html +1 -1
- data/lib/helium.rb +1 -0
- data/lib/helium/client.rb +3 -3
- data/lib/helium/client/elements.rb +10 -27
- data/lib/helium/client/http.rb +38 -19
- data/lib/helium/client/labels.rb +7 -53
- data/lib/helium/client/sensors.rb +5 -54
- data/lib/helium/cursor.rb +6 -6
- data/lib/helium/data_point.rb +5 -5
- data/lib/helium/element.rb +7 -8
- data/lib/helium/error.rb +28 -0
- data/lib/helium/label.rb +3 -11
- data/lib/helium/organization.rb +4 -4
- data/lib/helium/resource.rb +103 -5
- data/lib/helium/sensor.rb +13 -15
- data/lib/helium/user.rb +4 -4
- data/lib/helium/version.rb +1 -1
- metadata +6 -2
@@ -0,0 +1,157 @@
|
|
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
|
+
Exception: Helium::InvalidApiKey
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.3
|
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 = "Helium::InvalidApiKey";
|
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"></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 (I)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../Helium.html" title="Helium (module)">Helium</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">InvalidApiKey</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
|
+
<iframe id="search_frame" src="../class_list.html"></iframe>
|
63
|
+
|
64
|
+
<div id="content"><h1>Exception: Helium::InvalidApiKey
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
74
|
+
<span class="inheritName"><span class='object_link'><a href="ClientError.html" title="Helium::ClientError (class)">ClientError</a></span></span>
|
75
|
+
|
76
|
+
<ul class="fullTree">
|
77
|
+
<li>Object</li>
|
78
|
+
|
79
|
+
<li class="next">StandardError</li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="Error.html" title="Helium::Error (class)">Error</a></span></li>
|
82
|
+
|
83
|
+
<li class="next"><span class='object_link'><a href="ClientError.html" title="Helium::ClientError (class)">ClientError</a></span></li>
|
84
|
+
|
85
|
+
<li class="next">Helium::InvalidApiKey</li>
|
86
|
+
|
87
|
+
</ul>
|
88
|
+
<a href="#" class="inheritanceTree">show all</a>
|
89
|
+
|
90
|
+
</dd>
|
91
|
+
</dl>
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
<dl>
|
104
|
+
<dt>Defined in:</dt>
|
105
|
+
<dd>lib/helium/error.rb</dd>
|
106
|
+
</dl>
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
<h2>Overview</h2><div class="docstring">
|
111
|
+
<div class="discussion">
|
112
|
+
<p>Raised when Helium returns a 401 error</p>
|
113
|
+
|
114
|
+
|
115
|
+
</div>
|
116
|
+
</div>
|
117
|
+
<div class="tags">
|
118
|
+
|
119
|
+
|
120
|
+
</div>
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
<h2>Method Summary</h2>
|
141
|
+
|
142
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Error.html" title="Helium::Error (class)">Error</a></span></h3>
|
143
|
+
<p class="inherited"><span class='object_link'><a href="Error.html#from_response-class_method" title="Helium::Error.from_response (method)">from_response</a></span></p>
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
</div>
|
148
|
+
|
149
|
+
<div id="footer">
|
150
|
+
Generated on Wed Aug 24 13:22:51 2016 by
|
151
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
152
|
+
0.9.3 (ruby-2.3.1).
|
153
|
+
</div>
|
154
|
+
|
155
|
+
</div>
|
156
|
+
</body>
|
157
|
+
</html>
|
data/docs/Helium/Label.html
CHANGED
@@ -204,29 +204,7 @@
|
|
204
204
|
<li class="public ">
|
205
205
|
<span class="summary_signature">
|
206
206
|
|
207
|
-
<a href="#
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
</span>
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
222
|
-
|
223
|
-
</li>
|
224
|
-
|
225
|
-
|
226
|
-
<li class="public ">
|
227
|
-
<span class="summary_signature">
|
228
|
-
|
229
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:, params:) ⇒ Label </a>
|
207
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(opts = {}) ⇒ Label </a>
|
230
208
|
|
231
209
|
|
232
210
|
|
@@ -290,28 +268,6 @@
|
|
290
268
|
<span class="summary_desc"><div class='inline'><p>TODO: would be nice to wrap this in a proxy collection, that way we could do something like label.sensors << new_sensor.</p>
|
291
269
|
</div></span>
|
292
270
|
|
293
|
-
</li>
|
294
|
-
|
295
|
-
|
296
|
-
<li class="public ">
|
297
|
-
<span class="summary_signature">
|
298
|
-
|
299
|
-
<a href="#update-instance_method" title="#update (instance method)">#<strong>update</strong>(name:) ⇒ Object </a>
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
</span>
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
314
|
-
|
315
271
|
</li>
|
316
272
|
|
317
273
|
|
@@ -328,14 +284,14 @@
|
|
328
284
|
|
329
285
|
|
330
286
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Resource.html" title="Helium::Resource (class)">Resource</a></span></h3>
|
331
|
-
<p class="inherited"><span class='object_link'><a href="Resource.html#%3D%3D-instance_method" title="Helium::Resource#== (method)">#==</a></span>, <span class='object_link'><a href="Resource.html#created_at-instance_method" title="Helium::Resource#created_at (method)">#created_at</a></span>, <span class='object_link'><a href="Resource.html#eql%3F-instance_method" title="Helium::Resource#eql? (method)">#eql?</a></span>, <span class='object_link'><a href="Resource.html#hash-instance_method" title="Helium::Resource#hash (method)">#hash</a></span>, <span class='object_link'><a href="Resource.html#to_json-instance_method" title="Helium::Resource#to_json (method)">#to_json</a></span>, <span class='object_link'><a href="Resource.html#updated_at-instance_method" title="Helium::Resource#updated_at (method)">#updated_at</a></span></p>
|
287
|
+
<p class="inherited"><span class='object_link'><a href="Resource.html#%3D%3D-instance_method" title="Helium::Resource#== (method)">#==</a></span>, <span class='object_link'><a href="Resource.html#all-class_method" title="Helium::Resource.all (method)">all</a></span>, <span class='object_link'><a href="Resource.html#create-class_method" title="Helium::Resource.create (method)">create</a></span>, <span class='object_link'><a href="Resource.html#created_at-instance_method" title="Helium::Resource#created_at (method)">#created_at</a></span>, <span class='object_link'><a href="Resource.html#destroy-instance_method" title="Helium::Resource#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="Resource.html#eql%3F-instance_method" title="Helium::Resource#eql? (method)">#eql?</a></span>, <span class='object_link'><a href="Resource.html#find-class_method" title="Helium::Resource.find (method)">find</a></span>, <span class='object_link'><a href="Resource.html#hash-instance_method" title="Helium::Resource#hash (method)">#hash</a></span>, <span class='object_link'><a href="Resource.html#to_json-instance_method" title="Helium::Resource#to_json (method)">#to_json</a></span>, <span class='object_link'><a href="Resource.html#update-instance_method" title="Helium::Resource#update (method)">#update</a></span>, <span class='object_link'><a href="Resource.html#updated_at-instance_method" title="Helium::Resource#updated_at (method)">#updated_at</a></span></p>
|
332
288
|
<div id="constructor_details" class="method_details_list">
|
333
289
|
<h2>Constructor Details</h2>
|
334
290
|
|
335
291
|
<div class="method_details first">
|
336
292
|
<h3 class="signature first" id="initialize-instance_method">
|
337
293
|
|
338
|
-
#<strong>initialize</strong>(
|
294
|
+
#<strong>initialize</strong>(opts = {}) ⇒ <tt><span class='object_link'><a href="" title="Helium::Label (class)">Label</a></span></tt>
|
339
295
|
|
340
296
|
|
341
297
|
|
@@ -366,10 +322,10 @@
|
|
366
322
|
<td>
|
367
323
|
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line 5</span>
|
368
324
|
|
369
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='
|
370
|
-
<span class='kw'>super</span><span class='lparen'>(</span><span class='
|
325
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
326
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
|
371
327
|
|
372
|
-
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='
|
328
|
+
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='ivar'>@params</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>attributes</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>name</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
373
329
|
<span class='kw'>end</span></pre>
|
374
330
|
</td>
|
375
331
|
</tr>
|
@@ -445,14 +401,14 @@
|
|
445
401
|
<pre class="lines">
|
446
402
|
|
447
403
|
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
404
|
+
17
|
405
|
+
18
|
406
|
+
19
|
407
|
+
20
|
408
|
+
21</pre>
|
453
409
|
</td>
|
454
410
|
<td>
|
455
|
-
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line
|
411
|
+
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line 17</span>
|
456
412
|
|
457
413
|
<span class='kw'>def</span> <span class='id identifier rubyid_add_sensors'>add_sensors</span><span class='lparen'>(</span><span class='id identifier rubyid_sensors_to_add'>sensors_to_add</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
458
414
|
<span class='id identifier rubyid_sensors_to_add'>sensors_to_add</span> <span class='op'>=</span> <span class='const'>Array</span><span class='lparen'>(</span><span class='id identifier rubyid_sensors_to_add'>sensors_to_add</span><span class='rparen'>)</span>
|
@@ -489,14 +445,14 @@
|
|
489
445
|
<pre class="lines">
|
490
446
|
|
491
447
|
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
448
|
+
30
|
449
|
+
31
|
450
|
+
32
|
451
|
+
33
|
452
|
+
34</pre>
|
497
453
|
</td>
|
498
454
|
<td>
|
499
|
-
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line
|
455
|
+
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line 30</span>
|
500
456
|
|
501
457
|
<span class='kw'>def</span> <span class='id identifier rubyid_as_json'>as_json</span>
|
502
458
|
<span class='kw'>super</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span>
|
@@ -506,36 +462,6 @@
|
|
506
462
|
</td>
|
507
463
|
</tr>
|
508
464
|
</table>
|
509
|
-
</div>
|
510
|
-
|
511
|
-
<div class="method_details ">
|
512
|
-
<h3 class="signature " id="destroy-instance_method">
|
513
|
-
|
514
|
-
#<strong>destroy</strong> ⇒ <tt>Object</tt>
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
</h3><table class="source_code">
|
521
|
-
<tr>
|
522
|
-
<td>
|
523
|
-
<pre class="lines">
|
524
|
-
|
525
|
-
|
526
|
-
15
|
527
|
-
16
|
528
|
-
17</pre>
|
529
|
-
</td>
|
530
|
-
<td>
|
531
|
-
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line 15</span>
|
532
|
-
|
533
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_destroy'>destroy</span>
|
534
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete_label'>delete_label</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
|
535
|
-
<span class='kw'>end</span></pre>
|
536
|
-
</td>
|
537
|
-
</tr>
|
538
|
-
</table>
|
539
465
|
</div>
|
540
466
|
|
541
467
|
<div class="method_details ">
|
@@ -553,14 +479,14 @@
|
|
553
479
|
<pre class="lines">
|
554
480
|
|
555
481
|
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
482
|
+
23
|
483
|
+
24
|
484
|
+
25
|
485
|
+
26
|
486
|
+
27</pre>
|
561
487
|
</td>
|
562
488
|
<td>
|
563
|
-
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line
|
489
|
+
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line 23</span>
|
564
490
|
|
565
491
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove_sensors'>remove_sensors</span><span class='lparen'>(</span><span class='id identifier rubyid_sensors_to_remove'>sensors_to_remove</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
566
492
|
<span class='id identifier rubyid_sensors_to_remove'>sensors_to_remove</span> <span class='op'>=</span> <span class='const'>Array</span><span class='lparen'>(</span><span class='id identifier rubyid_sensors_to_remove'>sensors_to_remove</span><span class='rparen'>)</span>
|
@@ -598,12 +524,12 @@ we could do something like label.sensors << new_sensor</p>
|
|
598
524
|
<pre class="lines">
|
599
525
|
|
600
526
|
|
601
|
-
|
602
|
-
|
603
|
-
|
527
|
+
13
|
528
|
+
14
|
529
|
+
15</pre>
|
604
530
|
</td>
|
605
531
|
<td>
|
606
|
-
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line
|
532
|
+
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line 13</span>
|
607
533
|
|
608
534
|
<span class='kw'>def</span> <span class='id identifier rubyid_sensors'>sensors</span>
|
609
535
|
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_label_sensors'>label_sensors</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
|
@@ -611,36 +537,6 @@ we could do something like label.sensors << new_sensor</p>
|
|
611
537
|
</td>
|
612
538
|
</tr>
|
613
539
|
</table>
|
614
|
-
</div>
|
615
|
-
|
616
|
-
<div class="method_details ">
|
617
|
-
<h3 class="signature " id="update-instance_method">
|
618
|
-
|
619
|
-
#<strong>update</strong>(name:) ⇒ <tt>Object</tt>
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
</h3><table class="source_code">
|
626
|
-
<tr>
|
627
|
-
<td>
|
628
|
-
<pre class="lines">
|
629
|
-
|
630
|
-
|
631
|
-
11
|
632
|
-
12
|
633
|
-
13</pre>
|
634
|
-
</td>
|
635
|
-
<td>
|
636
|
-
<pre class="code"><span class="info file"># File 'lib/helium/label.rb', line 11</span>
|
637
|
-
|
638
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='label'>name:</span><span class='rparen'>)</span>
|
639
|
-
<span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_update_label'>update_label</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='label'>name:</span> <span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
|
640
|
-
<span class='kw'>end</span></pre>
|
641
|
-
</td>
|
642
|
-
</tr>
|
643
|
-
</table>
|
644
540
|
</div>
|
645
541
|
|
646
542
|
</div>
|
@@ -648,7 +544,7 @@ we could do something like label.sensors << new_sensor</p>
|
|
648
544
|
</div>
|
649
545
|
|
650
546
|
<div id="footer">
|
651
|
-
Generated on
|
547
|
+
Generated on Wed Aug 24 13:22:51 2016 by
|
652
548
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
653
549
|
0.9.3 (ruby-2.3.1).
|
654
550
|
</div>
|
@@ -209,7 +209,7 @@
|
|
209
209
|
<li class="public ">
|
210
210
|
<span class="summary_signature">
|
211
211
|
|
212
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(
|
212
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(opts = {}) ⇒ Organization </a>
|
213
213
|
|
214
214
|
|
215
215
|
|
@@ -267,14 +267,14 @@
|
|
267
267
|
|
268
268
|
|
269
269
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Resource.html" title="Helium::Resource (class)">Resource</a></span></h3>
|
270
|
-
<p class="inherited"><span class='object_link'><a href="Resource.html#%3D%3D-instance_method" title="Helium::Resource#== (method)">#==</a></span>, <span class='object_link'><a href="Resource.html#created_at-instance_method" title="Helium::Resource#created_at (method)">#created_at</a></span>, <span class='object_link'><a href="Resource.html#eql%3F-instance_method" title="Helium::Resource#eql? (method)">#eql?</a></span>, <span class='object_link'><a href="Resource.html#hash-instance_method" title="Helium::Resource#hash (method)">#hash</a></span>, <span class='object_link'><a href="Resource.html#to_json-instance_method" title="Helium::Resource#to_json (method)">#to_json</a></span>, <span class='object_link'><a href="Resource.html#updated_at-instance_method" title="Helium::Resource#updated_at (method)">#updated_at</a></span></p>
|
270
|
+
<p class="inherited"><span class='object_link'><a href="Resource.html#%3D%3D-instance_method" title="Helium::Resource#== (method)">#==</a></span>, <span class='object_link'><a href="Resource.html#all-class_method" title="Helium::Resource.all (method)">all</a></span>, <span class='object_link'><a href="Resource.html#create-class_method" title="Helium::Resource.create (method)">create</a></span>, <span class='object_link'><a href="Resource.html#created_at-instance_method" title="Helium::Resource#created_at (method)">#created_at</a></span>, <span class='object_link'><a href="Resource.html#destroy-instance_method" title="Helium::Resource#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="Resource.html#eql%3F-instance_method" title="Helium::Resource#eql? (method)">#eql?</a></span>, <span class='object_link'><a href="Resource.html#find-class_method" title="Helium::Resource.find (method)">find</a></span>, <span class='object_link'><a href="Resource.html#hash-instance_method" title="Helium::Resource#hash (method)">#hash</a></span>, <span class='object_link'><a href="Resource.html#to_json-instance_method" title="Helium::Resource#to_json (method)">#to_json</a></span>, <span class='object_link'><a href="Resource.html#update-instance_method" title="Helium::Resource#update (method)">#update</a></span>, <span class='object_link'><a href="Resource.html#updated_at-instance_method" title="Helium::Resource#updated_at (method)">#updated_at</a></span></p>
|
271
271
|
<div id="constructor_details" class="method_details_list">
|
272
272
|
<h2>Constructor Details</h2>
|
273
273
|
|
274
274
|
<div class="method_details first">
|
275
275
|
<h3 class="signature first" id="initialize-instance_method">
|
276
276
|
|
277
|
-
#<strong>initialize</strong>(
|
277
|
+
#<strong>initialize</strong>(opts = {}) ⇒ <tt><span class='object_link'><a href="" title="Helium::Organization (class)">Organization</a></span></tt>
|
278
278
|
|
279
279
|
|
280
280
|
|
@@ -306,11 +306,11 @@
|
|
306
306
|
<td>
|
307
307
|
<pre class="code"><span class="info file"># File 'lib/helium/organization.rb', line 5</span>
|
308
308
|
|
309
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='
|
310
|
-
<span class='kw'>super</span><span class='lparen'>(</span><span class='
|
309
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
310
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
|
311
311
|
|
312
|
-
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='
|
313
|
-
<span class='ivar'>@timezone</span> <span class='op'>=</span> <span class='
|
312
|
+
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='ivar'>@params</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>attributes</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>name</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
313
|
+
<span class='ivar'>@timezone</span> <span class='op'>=</span> <span class='ivar'>@params</span><span class='period'>.</span><span class='id identifier rubyid_dig'>dig</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>attributes</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>timezone</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
314
314
|
<span class='kw'>end</span></pre>
|
315
315
|
</td>
|
316
316
|
</tr>
|
@@ -494,7 +494,7 @@
|
|
494
494
|
</div>
|
495
495
|
|
496
496
|
<div id="footer">
|
497
|
-
Generated on
|
497
|
+
Generated on Wed Aug 24 13:22:51 2016 by
|
498
498
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
499
499
|
0.9.3 (ruby-2.3.1).
|
500
500
|
</div>
|