ovto 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63f9b98b1728aaa9840fcf73d07710e1175bb95a682060bced33f57d062f4758
4
- data.tar.gz: ef0de877152bc6c9e53737a7b4c67cc41ef34064343d7e2194c641c7233bd178
3
+ metadata.gz: 8495d6861d7f721711cf47cb99d70f63cfa51d7e2d5efac1cfff3ead83e485e8
4
+ data.tar.gz: 496387176317863cb2b8d2c939ec46df2ef7034a43b9932beb71c5ea2d11592b
5
5
  SHA512:
6
- metadata.gz: b0cf2e7e892dc09d66317c009c909d0fee50e22bcdc24061854b838d98692d10892453221c15c1c4085a92de9a779d51738a5391f7acf17772ecbfce77ee2c7b
7
- data.tar.gz: 2c1191deca5eac083c18bbb32cf31d8b8383c6700acca1c10375276b020cec3695d69a2223db767cc61773342451d346f471d5a04f1a175aa5bebd6bbe315fdc
6
+ metadata.gz: 9bb1681214641982dfba7b461eb522f48e95c2ecda01b60f01c5fdbe6e1523a8d31f630f3d9a2f973355c8608f6c7e9c71d18598cf7ba9530f2d673178234bec
7
+ data.tar.gz: 9966c9cd11e83e972b321512059f5ecaab96102cf5be44c07646d1617a841fb4212bcbed7949de7b3d39effddfbf9b7c7ae3254d33367e081861e25525b04e06
@@ -1,3 +1,7 @@
1
+ ## v0.2.2 2018-11-07
2
+
3
+ - security: Update rack
4
+
1
5
  ## v0.2.1 2018-11-02
2
6
 
3
7
  - fix: gem install error on Windows (due to symlink)
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source "https://rubygems.org"
2
- gem "opal"
3
- gem 'opal-rspec', path: './opal-rspec'
4
- gem 'opal-sprockets', github: 'opal/opal-sprockets'
2
+ gem 'opal'
3
+ gem 'opal-rspec'
4
+ gem 'opal-sprockets'
5
5
  gem 'rake'
6
6
  gem 'ovto', path: '.'
7
7
  gem 'yard'
@@ -1,39 +1,29 @@
1
- GIT
2
- remote: git://github.com/opal/opal-sprockets.git
3
- revision: 8a8faeb1cfbc51cfa2e71ddb6cf219bd4a14f333
4
- specs:
5
- opal-sprockets (0.4.2.0.11.0.3.1)
6
- opal (~> 0.11.0)
7
- sprockets (~> 3.1)
8
- tilt (>= 1.4)
9
-
10
1
  PATH
11
2
  remote: .
12
3
  specs:
13
- ovto (0.2.1)
4
+ ovto (0.2.2)
14
5
  opal (~> 0.11)
15
6
 
16
- PATH
17
- remote: opal-rspec
18
- specs:
19
- opal-rspec (0.7.0.dev)
20
- opal (>= 0.10.0, < 0.12)
21
- opal-sprockets
22
-
23
7
  GEM
24
8
  remote: https://rubygems.org/
25
9
  specs:
26
10
  ast (2.4.0)
27
- concurrent-ruby (1.0.5)
11
+ concurrent-ruby (1.1.3)
28
12
  hike (1.2.3)
29
13
  opal (0.11.3)
30
14
  ast (>= 2.3.0)
31
15
  hike (~> 1.2)
32
16
  parser (= 2.3.3.1)
33
17
  sourcemap (~> 0.1.0)
18
+ opal-rspec (0.6.1)
19
+ opal (>= 0.10.0, < 0.12)
20
+ opal-sprockets (0.4.2.0.11.0.3.1)
21
+ opal (~> 0.11.0)
22
+ sprockets (~> 3.1)
23
+ tilt (>= 1.4)
34
24
  parser (2.3.3.1)
35
25
  ast (~> 2.2)
36
- rack (2.0.5)
26
+ rack (2.0.6)
37
27
  rake (12.3.1)
38
28
  sourcemap (0.1.1)
39
29
  sprockets (3.7.2)
@@ -47,11 +37,11 @@ PLATFORMS
47
37
 
48
38
  DEPENDENCIES
49
39
  opal
50
- opal-rspec!
51
- opal-sprockets!
40
+ opal-rspec
41
+ opal-sprockets
52
42
  ovto!
53
43
  rake
54
44
  yard
55
45
 
56
46
  BUNDLED WITH
57
- 1.16.1
47
+ 1.17.1
data/Rakefile CHANGED
@@ -26,6 +26,7 @@ end
26
26
 
27
27
  namespace :release do
28
28
  task :prepare_commit do
29
+ sh "bundle exec rake docs:build"
29
30
  sh "git ci -am v#{Ovto::VERSION}"
30
31
  sh "git tag v#{Ovto::VERSION}"
31
32
  end
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Ovto
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -79,7 +79,7 @@
79
79
  <dl>
80
80
  <dt>Defined in:</dt>
81
81
  <dd>lib/ovto.rb<span class="defines">,<br />
82
- lib/ovto/app.rb,<br /> lib/ovto/state.rb,<br /> lib/ovto/actions.rb,<br /> lib/ovto/runtime.rb,<br /> lib/ovto/version.rb,<br /> lib/ovto/component.rb,<br /> lib/ovto/wired_actions.rb</span>
82
+ lib/ovto/app.rb,<br /> lib/ovto/fetch.rb,<br /> lib/ovto/state.rb,<br /> lib/ovto/actions.rb,<br /> lib/ovto/runtime.rb,<br /> lib/ovto/version.rb,<br /> lib/ovto/component.rb,<br /> lib/ovto/wired_actions.rb</span>
83
83
  </dd>
84
84
  </dl>
85
85
 
@@ -96,15 +96,21 @@
96
96
 
97
97
  </p>
98
98
 
99
- <h2>Constant Summary</h2>
100
- <dl class="constants">
101
-
102
- <dt id="VERSION-constant" class="">VERSION =
103
-
104
- </dt>
105
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.0.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
106
-
107
- </dl>
99
+
100
+ <h2>
101
+ Constant Summary
102
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
103
+ </h2>
104
+
105
+ <dl class="constants">
106
+
107
+ <dt id="VERSION-constant" class="">VERSION =
108
+
109
+ </dt>
110
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.2.2</span><span class='tstring_end'>&#39;</span></span></pre></dd>
111
+
112
+ </dl>
113
+
108
114
 
109
115
 
110
116
 
@@ -123,6 +129,54 @@
123
129
  <li class="public ">
124
130
  <span class="summary_signature">
125
131
 
132
+ <a href="#_do_fetch-class_method" title="_do_fetch (class method)">.<strong>_do_fetch</strong>(url, init) &#x21d2; Object </a>
133
+
134
+
135
+
136
+ </span>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ <span class="summary_desc"><div class='inline'>
147
+ <p>Create an Opal Promise to call fetch API.</p>
148
+ </div></span>
149
+
150
+ </li>
151
+
152
+
153
+ <li class="public ">
154
+ <span class="summary_signature">
155
+
156
+ <a href="#fetch-class_method" title="fetch (class method)">.<strong>fetch</strong>(url, method = &#39;GET&#39;, data = nil) &#x21d2; Object </a>
157
+
158
+
159
+
160
+ </span>
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+ <span class="summary_desc"><div class='inline'>
171
+ <p>Wrapper for the fetch API The server must respond a json text.</p>
172
+ </div></span>
173
+
174
+ </li>
175
+
176
+
177
+ <li class="public ">
178
+ <span class="summary_signature">
179
+
126
180
  <a href="#inspect-class_method" title="inspect (class method)">.<strong>inspect</strong>(obj) &#x21d2; Object </a>
127
181
 
128
182
 
@@ -178,9 +232,9 @@
178
232
 
179
233
 
180
234
  <div class="method_details first">
181
- <h3 class="signature first" id="inspect-class_method">
235
+ <h3 class="signature first" id="_do_fetch-class_method">
182
236
 
183
- .<strong>inspect</strong>(obj) &#x21d2; <tt>Object</tt>
237
+ .<strong>_do_fetch</strong>(url, init) &#x21d2; <tt>Object</tt>
184
238
 
185
239
 
186
240
 
@@ -189,7 +243,7 @@
189
243
  </h3><div class="docstring">
190
244
  <div class="discussion">
191
245
 
192
- <p>JS-object-safe inspect</p>
246
+ <p>Create an Opal Promise to call fetch API</p>
193
247
 
194
248
 
195
249
  </div>
@@ -203,19 +257,170 @@
203
257
  <pre class="lines">
204
258
 
205
259
 
260
+ 34
261
+ 35
262
+ 36
263
+ 37
264
+ 38
265
+ 39
266
+ 40
267
+ 41
268
+ 42
269
+ 43
270
+ 44
271
+ 45
272
+ 46
273
+ 47
274
+ 48
275
+ 49
276
+ 50
277
+ 51
278
+ 52</pre>
279
+ </td>
280
+ <td>
281
+ <pre class="code"><span class="info file"># File 'lib/ovto/fetch.rb', line 34</span>
282
+
283
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid__do_fetch'>_do_fetch</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_init'>init</span><span class='rparen'>)</span>
284
+ <span class='id identifier rubyid_promise'>promise</span> <span class='op'>=</span> <span class='const'>Promise</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
285
+ <span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='id identifier rubyid_error'>error</span> <span class='op'>=</span> <span class='kw'>nil</span>
286
+ <span class='backtick'>%x{</span><span class='tstring_content'>
287
+ fetch(url, init).then(response =&gt; {
288
+ if (response.ok) {
289
+ return response.text();
290
+ }
291
+ else {
292
+ throw response;
293
+ }
294
+ }).then(text =&gt;
295
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_promise'>promise</span><span class='period'>.</span><span class='id identifier rubyid_resolve'>resolve</span><span class='lparen'>(</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_text'>text</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>
296
+ ).catch(error =&gt;
297
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_promise'>promise</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span><span class='lparen'>(</span><span class='id identifier rubyid_error'>error</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>
298
+ );
299
+ </span><span class='tstring_end'>}</span></span>
300
+ <span class='kw'>return</span> <span class='id identifier rubyid_promise'>promise</span>
301
+ <span class='kw'>end</span></pre>
302
+ </td>
303
+ </tr>
304
+ </table>
305
+ </div>
306
+
307
+ <div class="method_details ">
308
+ <h3 class="signature " id="fetch-class_method">
309
+
310
+ .<strong>fetch</strong>(url, method = &#39;GET&#39;, data = nil) &#x21d2; <tt>Object</tt>
311
+
312
+
313
+
314
+
315
+
316
+ </h3><div class="docstring">
317
+ <div class="discussion">
318
+
319
+ <p>Wrapper for the fetch API The server must respond a json text.</p>
320
+
321
+ <p>Example:</p>
322
+
323
+ <pre class="code ruby"><code class="ruby"><span class='const'><span class='object_link'><a href="" title="Ovto (module)">Ovto</a></span></span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/api/new_task</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>POST</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span><span class='label'>title:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>do something</span><span class='tstring_end'>&quot;</span></span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_json_data'>json_data</span><span class='op'>|</span>
324
+ <span class='id identifier rubyid_p'>p</span> <span class='id identifier rubyid_json_data'>json_data</span>
325
+ <span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_fail'>fail</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='comment'># Network error, 404 Not Found, JSON parse error, etc.
326
+ </span> <span class='id identifier rubyid_p'>p</span> <span class='id identifier rubyid_e'>e</span>
327
+ <span class='rbrace'>}</span>
328
+ </code></pre>
329
+
330
+
331
+ </div>
332
+ </div>
333
+ <div class="tags">
334
+
335
+
336
+ </div><table class="source_code">
337
+ <tr>
338
+ <td>
339
+ <pre class="lines">
340
+
341
+
342
+ 15
206
343
  16
207
344
  17
208
345
  18
209
346
  19
210
347
  20
211
348
  21
212
- 22</pre>
349
+ 22
350
+ 23
351
+ 24
352
+ 25
353
+ 26
354
+ 27
355
+ 28
356
+ 29
357
+ 30
358
+ 31</pre>
359
+ </td>
360
+ <td>
361
+ <pre class="code"><span class="info file"># File 'lib/ovto/fetch.rb', line 15</span>
362
+
363
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_method'>method</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>GET</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
364
+ <span class='id identifier rubyid_init'>init</span> <span class='op'>=</span> <span class='backtick'>`</span><span class='tstring_content'>{
365
+ method: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_method'>method</span><span class='embexpr_end'>}</span><span class='tstring_content'>,
366
+ credentials: &#39;same-origin&#39; // Send cookies to the server (eg. for CookieStore of Rails)
367
+ }</span><span class='tstring_end'>`</span></span>
368
+ <span class='kw'>if</span> <span class='id identifier rubyid_method'>method</span> <span class='op'>!=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>GET</span><span class='tstring_end'>&#39;</span></span>
369
+ <span class='backtick'>%x{</span><span class='tstring_content'>
370
+ var headers = {&#39;Content-Type&#39;: &#39;application/json&#39;};
371
+ var metaTag = document.querySelector(&#39;meta[name=csrf-token]&#39;);
372
+ if (metaTag) headers[&#39;X-CSRF-Token&#39;] = metaTag.content;
373
+
374
+ init[&#39;headers&#39;] = headers;
375
+ init[&#39;body&#39;] = </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_to_json'>to_json</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
376
+ </span><span class='tstring_end'>}</span></span>
377
+ <span class='kw'>end</span>
378
+ <span class='kw'>return</span> <span class='id identifier rubyid__do_fetch'>_do_fetch</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_init'>init</span><span class='rparen'>)</span>
379
+ <span class='kw'>end</span></pre>
380
+ </td>
381
+ </tr>
382
+ </table>
383
+ </div>
384
+
385
+ <div class="method_details ">
386
+ <h3 class="signature " id="inspect-class_method">
387
+
388
+ .<strong>inspect</strong>(obj) &#x21d2; <tt>Object</tt>
389
+
390
+
391
+
392
+
393
+
394
+ </h3><div class="docstring">
395
+ <div class="discussion">
396
+
397
+ <p>JS-object-safe inspect</p>
398
+
399
+
400
+ </div>
401
+ </div>
402
+ <div class="tags">
403
+
404
+
405
+ </div><table class="source_code">
406
+ <tr>
407
+ <td>
408
+ <pre class="lines">
409
+
410
+
411
+ 18
412
+ 19
413
+ 20
414
+ 21
415
+ 22
416
+ 23
417
+ 24</pre>
213
418
  </td>
214
419
  <td>
215
- <pre class="code"><span class="info file"># File 'lib/ovto.rb', line 16</span>
420
+ <pre class="code"><span class="info file"># File 'lib/ovto.rb', line 18</span>
216
421
 
217
422
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
218
- <span class='kw'>if</span> <span class='backtick'>`</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_obj'>obj</span><span class='embexpr_end'>}</span><span class='tstring_content'>.$$id</span><span class='tstring_end'>`</span></span>
423
+ <span class='kw'>if</span> <span class='backtick'>`</span><span class='tstring_content'>obj.$inspect</span><span class='tstring_end'>`</span></span>
219
424
  <span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span>
220
425
  <span class='kw'>else</span>
221
426
  <span class='backtick'>`</span><span class='tstring_content'>JSON.stringify(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_obj'>obj</span><span class='embexpr_end'>}</span><span class='tstring_content'>) || &quot;undefined&quot;</span><span class='tstring_end'>`</span></span>
@@ -253,8 +458,6 @@
253
458
  <pre class="lines">
254
459
 
255
460
 
256
- 26
257
- 27
258
461
  28
259
462
  29
260
463
  30
@@ -273,16 +476,20 @@
273
476
  43
274
477
  44
275
478
  45
276
- 46</pre>
479
+ 46
480
+ 47
481
+ 48
482
+ 49</pre>
277
483
  </td>
278
484
  <td>
279
- <pre class="code"><span class="info file"># File 'lib/ovto.rb', line 26</span>
485
+ <pre class="code"><span class="info file"># File 'lib/ovto.rb', line 28</span>
280
486
 
281
487
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_log_error'>log_error</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
282
488
  <span class='kw'>return</span> <span class='id identifier rubyid_block'>block</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span>
283
489
  <span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_ex'>ex</span>
490
+ <span class='id identifier rubyid_raise'>raise</span> <span class='id identifier rubyid_ex'>ex</span> <span class='kw'>if</span> <span class='backtick'>`</span><span class='tstring_content'>typeof document === &#39;undefined&#39;</span><span class='tstring_end'>`</span></span> <span class='comment'># On unit tests
491
+ </span>
284
492
  <span class='id identifier rubyid_div'>div</span> <span class='op'>=</span> <span class='backtick'>`</span><span class='tstring_content'>document.getElementById(&#39;ovto-debug&#39;)</span><span class='tstring_end'>`</span></span>
285
- <span class='backtick'>`</span><span class='tstring_content'>console.log(document.getElementById(&#39;ovto-debug&#39;))</span><span class='tstring_end'>`</span></span>
286
493
  <span class='kw'>if</span> <span class='backtick'>`</span><span class='tstring_content'>div &amp;&amp; !ex.OvtoPrinted</span><span class='tstring_end'>`</span></span>
287
494
  <span class='backtick'>%x{</span><span class='tstring_content'>
288
495
  div.textContent = &quot;ERROR: &quot; + </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ex'>ex</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
@@ -309,9 +516,9 @@
309
516
  </div>
310
517
 
311
518
  <div id="footer">
312
- Generated on Fri Jun 1 21:07:20 2018 by
519
+ Generated on Wed Nov 7 18:02:01 2018 by
313
520
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
314
- 0.9.12 (ruby-2.4.2).
521
+ 0.9.16 (ruby-2.5.3).
315
522
  </div>
316
523
 
317
524
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Ovto::Actions
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -104,30 +104,198 @@
104
104
 
105
105
  <p>Base class for ovto actions.</p>
106
106
 
107
- <p>Currently this class is empty; exists for consistency and future
108
- extension.</p>
107
+
108
+ </div>
109
+ </div>
110
+ <div class="tags">
111
+
112
+
113
+ </div>
114
+
115
+
116
+
117
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
118
+ <ul class="summary">
119
+
120
+ <li class="public ">
121
+ <span class="summary_signature">
122
+
123
+ <a href="#wired_actions=-instance_method" title="#wired_actions= (instance method)">#<strong>wired_actions</strong> &#x21d2; Object </a>
124
+
125
+
126
+
127
+ </span>
128
+
129
+
130
+
131
+
132
+
133
+ <span class="note title writeonly">writeonly</span>
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+ <span class="summary_desc"><div class='inline'>
143
+ <p>Sets the attribute wired_actions.</p>
144
+ </div></span>
145
+
146
+ </li>
147
+
148
+
149
+ </ul>
150
+
151
+
152
+
153
+
154
+
155
+ <h2>
156
+ Instance Method Summary
157
+ <small><a href="#" class="summary_toggle">collapse</a></small>
158
+ </h2>
159
+
160
+ <ul class="summary">
161
+
162
+ <li class="public ">
163
+ <span class="summary_signature">
164
+
165
+ <a href="#actions-instance_method" title="#actions (instance method)">#<strong>actions</strong> &#x21d2; Object </a>
166
+
167
+
168
+
169
+ </span>
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+ <span class="summary_desc"><div class='inline'></div></span>
180
+
181
+ </li>
182
+
183
+
184
+ </ul>
185
+
186
+
187
+
188
+ <div id="instance_attr_details" class="attr_details">
189
+ <h2>Instance Attribute Details</h2>
190
+
191
+
192
+ <span id=""></span>
193
+ <div class="method_details first">
194
+ <h3 class="signature first" id="wired_actions=-instance_method">
195
+
196
+ #<strong>wired_actions=</strong>(value) &#x21d2; <tt>Object</tt> <span class="extras">(writeonly)</span>
197
+
198
+
199
+
200
+
201
+
202
+ </h3><div class="docstring">
203
+ <div class="discussion">
204
+
205
+ <p>Sets the attribute wired_actions</p>
109
206
 
110
207
 
111
208
  </div>
112
209
  </div>
113
210
  <div class="tags">
211
+ <p class="tag_title">Parameters:</p>
212
+ <ul class="param">
114
213
 
214
+ <li>
215
+
216
+ <span class='name'>value</span>
217
+
218
+
219
+ <span class='type'></span>
220
+
221
+
222
+
223
+ &mdash;
224
+ <div class='inline'>
225
+ <p>the value to set the attribute wired_actions to.</p>
226
+ </div>
227
+
228
+ </li>
229
+
230
+ </ul>
231
+
232
+
233
+ </div><table class="source_code">
234
+ <tr>
235
+ <td>
236
+ <pre class="lines">
237
+
238
+
239
+ 4
240
+ 5
241
+ 6</pre>
242
+ </td>
243
+ <td>
244
+ <pre class="code"><span class="info file"># File 'lib/ovto/actions.rb', line 4</span>
115
245
 
246
+ <span class='kw'>def</span> <span class='id identifier rubyid_wired_actions='>wired_actions=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
247
+ <span class='ivar'>@wired_actions</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
248
+ <span class='kw'>end</span></pre>
249
+ </td>
250
+ </tr>
251
+ </table>
116
252
  </div>
253
+
254
+ </div>
117
255
 
118
256
 
257
+ <div id="instance_method_details" class="method_details_list">
258
+ <h2>Instance Method Details</h2>
119
259
 
260
+
261
+ <div class="method_details first">
262
+ <h3 class="signature first" id="actions-instance_method">
263
+
264
+ #<strong>actions</strong> &#x21d2; <tt>Object</tt>
265
+
120
266
 
267
+
268
+
269
+
270
+ </h3><table class="source_code">
271
+ <tr>
272
+ <td>
273
+ <pre class="lines">
121
274
 
122
275
 
276
+ 6
277
+ 7
278
+ 8</pre>
279
+ </td>
280
+ <td>
281
+ <pre class="code"><span class="info file"># File 'lib/ovto/actions.rb', line 6</span>
123
282
 
283
+ <span class='kw'>def</span> <span class='id identifier rubyid_actions'>actions</span>
284
+ <span class='ivar'>@wired_actions</span>
285
+ <span class='kw'>end</span></pre>
286
+ </td>
287
+ </tr>
288
+ </table>
289
+ </div>
290
+
291
+ </div>
124
292
 
125
293
  </div>
126
294
 
127
295
  <div id="footer">
128
- Generated on Fri Jun 1 21:07:20 2018 by
296
+ Generated on Wed Nov 7 18:02:02 2018 by
129
297
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.9.12 (ruby-2.4.2).
298
+ 0.9.16 (ruby-2.5.3).
131
299
  </div>
132
300
 
133
301
  </div>