foreman_api 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/.gitignore +3 -0
  2. data/Gemfile +2 -0
  3. data/Rakefile +0 -1
  4. data/doc/ForemanApi.html +5 -5
  5. data/doc/ForemanApi/Resources.html +6 -6
  6. data/doc/ForemanApi/Resources/Architecture.html +260 -127
  7. data/doc/ForemanApi/Resources/Audit.html +118 -51
  8. data/doc/ForemanApi/Resources/AuthSourceLdap.html +314 -163
  9. data/doc/ForemanApi/Resources/Bookmark.html +266 -131
  10. data/doc/ForemanApi/Resources/CommonParameter.html +260 -127
  11. data/doc/ForemanApi/Resources/ComputeResource.html +314 -165
  12. data/doc/ForemanApi/Resources/ConfigTemplate.html +387 -195
  13. data/doc/ForemanApi/Resources/Dashboard.html +53 -27
  14. data/doc/ForemanApi/Resources/Domain.html +275 -137
  15. data/doc/ForemanApi/Resources/Environment.html +254 -123
  16. data/doc/ForemanApi/Resources/FactValue.html +75 -32
  17. data/doc/ForemanApi/Resources/Home.html +92 -43
  18. data/doc/ForemanApi/Resources/Host.html +401 -212
  19. data/doc/ForemanApi/Resources/HostClass.html +698 -0
  20. data/doc/ForemanApi/Resources/Hostgroup.html +308 -159
  21. data/doc/ForemanApi/Resources/HostgroupClass.html +712 -0
  22. data/doc/ForemanApi/Resources/Image.html +284 -143
  23. data/doc/ForemanApi/Resources/LookupKey.html +295 -140
  24. data/doc/ForemanApi/Resources/Medium.html +278 -145
  25. data/doc/ForemanApi/Resources/Model.html +272 -135
  26. data/doc/ForemanApi/Resources/OperatingSystem.html +323 -160
  27. data/doc/ForemanApi/Resources/Parameter.html +1512 -0
  28. data/doc/ForemanApi/Resources/Ptable.html +266 -131
  29. data/doc/ForemanApi/Resources/Puppetclass.html +295 -131
  30. data/doc/ForemanApi/Resources/Report.html +311 -71
  31. data/doc/ForemanApi/Resources/Role.html +248 -119
  32. data/doc/ForemanApi/Resources/Setting.html +156 -76
  33. data/doc/ForemanApi/Resources/SmartProxy.html +257 -125
  34. data/doc/ForemanApi/Resources/Subnet.html +332 -175
  35. data/doc/ForemanApi/Resources/TemplateCombination.html +826 -0
  36. data/doc/ForemanApi/Resources/TemplateKind.html +56 -29
  37. data/doc/ForemanApi/Resources/User.html +287 -145
  38. data/doc/ForemanApi/Resources/Usergroup.html +272 -115
  39. data/doc/_index.html +32 -4
  40. data/doc/class_list.html +1 -1
  41. data/doc/css/style.css +10 -0
  42. data/doc/file.MIT-LICENSE.html +29 -24
  43. data/doc/file.README.html +60 -59
  44. data/doc/frames.html +1 -1
  45. data/doc/index.html +60 -59
  46. data/doc/method_list.html +434 -266
  47. data/doc/top-level-namespace.html +3 -3
  48. data/lib/foreman_api.rb +0 -13
  49. data/lib/foreman_api/base.rb +77 -7
  50. data/lib/foreman_api/documentation.json +1 -1
  51. data/lib/foreman_api/resources/architecture.rb +27 -32
  52. data/lib/foreman_api/resources/audit.rb +9 -10
  53. data/lib/foreman_api/resources/auth_source_ldap.rb +47 -52
  54. data/lib/foreman_api/resources/bookmark.rb +31 -36
  55. data/lib/foreman_api/resources/common_parameter.rb +27 -32
  56. data/lib/foreman_api/resources/compute_resource.rb +43 -48
  57. data/lib/foreman_api/resources/config_template.rb +43 -50
  58. data/lib/foreman_api/resources/dashboard.rb +4 -5
  59. data/lib/foreman_api/resources/domain.rb +30 -35
  60. data/lib/foreman_api/resources/environment.rb +25 -30
  61. data/lib/foreman_api/resources/fact_value.rb +5 -5
  62. data/lib/foreman_api/resources/home.rb +7 -9
  63. data/lib/foreman_api/resources/host.rb +63 -69
  64. data/lib/foreman_api/resources/host_class.rb +39 -0
  65. data/lib/foreman_api/resources/hostgroup.rb +43 -48
  66. data/lib/foreman_api/resources/hostgroup_class.rb +40 -0
  67. data/lib/foreman_api/resources/image.rb +40 -45
  68. data/lib/foreman_api/resources/lookup_key.rb +36 -40
  69. data/lib/foreman_api/resources/medium.rb +29 -34
  70. data/lib/foreman_api/resources/model.rb +31 -36
  71. data/lib/foreman_api/resources/operating_system.rb +39 -45
  72. data/lib/foreman_api/resources/parameter.rb +96 -0
  73. data/lib/foreman_api/resources/ptable.rb +29 -34
  74. data/lib/foreman_api/resources/puppetclass.rb +31 -34
  75. data/lib/foreman_api/resources/report.rb +17 -20
  76. data/lib/foreman_api/resources/role.rb +25 -30
  77. data/lib/foreman_api/resources/setting.rb +15 -18
  78. data/lib/foreman_api/resources/smart_proxy.rb +27 -32
  79. data/lib/foreman_api/resources/subnet.rb +47 -52
  80. data/lib/foreman_api/resources/template_combination.rb +21 -25
  81. data/lib/foreman_api/resources/template_kind.rb +4 -5
  82. data/lib/foreman_api/resources/user.rb +36 -41
  83. data/lib/foreman_api/resources/usergroup.rb +25 -30
  84. data/lib/foreman_api/version.rb +1 -1
  85. metadata +10 -2
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: ForemanApi::Resources::Setting
8
8
 
9
- &mdash; Documentation by YARD 0.8.3
9
+ &mdash; Documentation by YARD 0.8.5.2
10
10
 
11
11
  </title>
12
12
 
@@ -150,7 +150,7 @@
150
150
  <li class="public ">
151
151
  <span class="summary_signature">
152
152
 
153
- <a href="#index-instance_method" title="#index (instance method)">- (Object) <strong>index</strong>(params = { }, headers = { }) </a>
153
+ <a href="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</strong>(params = {}, headers = {}) </a>
154
154
 
155
155
 
156
156
 
@@ -164,7 +164,10 @@
164
164
 
165
165
 
166
166
 
167
- <span class="summary_desc"><div class='inline'></div></span>
167
+ <span class="summary_desc"><div class='inline'><p>
168
+ First item: parsed data; second item: raw body.
169
+ </p>
170
+ </div></span>
168
171
 
169
172
  </li>
170
173
 
@@ -172,7 +175,7 @@
172
175
  <li class="public ">
173
176
  <span class="summary_signature">
174
177
 
175
- <a href="#show-instance_method" title="#show (instance method)">- (Object) <strong>show</strong>(params = { }, headers = { }) </a>
178
+ <a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
176
179
 
177
180
 
178
181
 
@@ -186,7 +189,10 @@
186
189
 
187
190
 
188
191
 
189
- <span class="summary_desc"><div class='inline'></div></span>
192
+ <span class="summary_desc"><div class='inline'><p>
193
+ First item: parsed data; second item: raw body.
194
+ </p>
195
+ </div></span>
190
196
 
191
197
  </li>
192
198
 
@@ -194,7 +200,7 @@
194
200
  <li class="public ">
195
201
  <span class="summary_signature">
196
202
 
197
- <a href="#update-instance_method" title="#update (instance method)">- (Object) <strong>update</strong>(params = { }, headers = { }) </a>
203
+ <a href="#update-instance_method" title="#update (instance method)">- (Array) <strong>update</strong>(params = {}, headers = {}) </a>
198
204
 
199
205
 
200
206
 
@@ -208,7 +214,10 @@
208
214
 
209
215
 
210
216
 
211
- <span class="summary_desc"><div class='inline'></div></span>
217
+ <span class="summary_desc"><div class='inline'><p>
218
+ First item: parsed data; second item: raw body.
219
+ </p>
220
+ </div></span>
212
221
 
213
222
  </li>
214
223
 
@@ -245,9 +254,10 @@
245
254
  <td>
246
255
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/setting.rb', line 4</span>
247
256
 
248
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
249
- <span class='ivar'>@doc</span> <span class='op'>||=</span> <span class='const'>ForemanApi</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>resources</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>settings</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
250
- <span class='kw'>end</span></pre>
257
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_self self kw'>self</span><span class='dot token'>.</span><span class='rubyid_doc identifier id'>doc</span>
258
+ <span class='rubyid_@doc ivar id'>@doc</span> <span class='opasgn op'>||=</span> <span class='rubyid_ForemanApi constant id'>ForemanApi</span><span class='dot token'>.</span><span class='rubyid_doc identifier id'>doc</span><span class='lbrack token'>[</span><span class='string val'>'resources'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>&quot;settings&quot;</span><span class='rbrack token'>]</span>
259
+ <span class='rubyid_end end kw'>end</span>
260
+ </pre>
251
261
  </td>
252
262
  </tr>
253
263
  </table>
@@ -262,7 +272,7 @@
262
272
  <div class="method_details first">
263
273
  <h3 class="signature first" id="index-instance_method">
264
274
 
265
- - (<tt>Object</tt>) <strong>index</strong>(params = { }, headers = { })
275
+ - (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
266
276
 
267
277
 
268
278
 
@@ -270,7 +280,10 @@
270
280
 
271
281
  </h3><div class="docstring">
272
282
  <div class="discussion">
273
-
283
+ <p>
284
+ First item: parsed data; second item: raw body
285
+ </p>
286
+
274
287
 
275
288
  </div>
276
289
  </div>
@@ -286,12 +299,13 @@
286
299
  <span class='type'>(<tt>Hash</tt>)</span>
287
300
 
288
301
 
289
- <em class="default">(defaults to: <tt>{ }</tt>)</em>
302
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
290
303
 
291
304
 
292
305
  &mdash;
293
- <div class='inline'>
294
- <p>a hash of params to be passed to the service</p>
306
+ <div class='inline'><p>
307
+ a hash of params to be passed to the service
308
+ </p>
295
309
  </div>
296
310
 
297
311
  </li>
@@ -304,12 +318,13 @@
304
318
  <span class='type'>(<tt>Hash</tt>)</span>
305
319
 
306
320
 
307
- <em class="default">(defaults to: <tt>{ }</tt>)</em>
321
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
308
322
 
309
323
 
310
324
  &mdash;
311
- <div class='inline'>
312
- <p>additional http headers</p>
325
+ <div class='inline'><p>
326
+ additional http headers
327
+ </p>
313
328
  </div>
314
329
 
315
330
  </li>
@@ -329,8 +344,9 @@
329
344
 
330
345
  </span>
331
346
 
332
- &mdash; <div class='inline'>
333
- <p>Sort results</p>
347
+ &mdash; <div class='inline'><p>
348
+ Sort results
349
+ </p>
334
350
  </div>
335
351
 
336
352
  </li>
@@ -342,8 +358,9 @@
342
358
 
343
359
  </span>
344
360
 
345
- &mdash; <div class='inline'>
346
- <p>Paginate results</p>
361
+ &mdash; <div class='inline'><p>
362
+ Paginate results
363
+ </p>
347
364
  </div>
348
365
 
349
366
  </li>
@@ -355,8 +372,9 @@
355
372
 
356
373
  </span>
357
374
 
358
- &mdash; <div class='inline'>
359
- <p>Number of entries per request</p>
375
+ &mdash; <div class='inline'><p>
376
+ Number of entries per request
377
+ </p>
360
378
  </div>
361
379
 
362
380
  </li>
@@ -368,8 +386,9 @@
368
386
 
369
387
  </span>
370
388
 
371
- &mdash; <div class='inline'>
372
- <p>Filter results</p>
389
+ &mdash; <div class='inline'><p>
390
+ Filter results
391
+ </p>
373
392
  </div>
374
393
 
375
394
  </li>
@@ -379,6 +398,25 @@
379
398
 
380
399
 
381
400
 
401
+ <p class="tag_title">Returns:</p>
402
+ <ul class="return">
403
+
404
+ <li>
405
+
406
+
407
+ <span class='type'>(<tt>Array</tt>)</span>
408
+
409
+
410
+
411
+ &mdash;
412
+ <div class='inline'><p>
413
+ First item: parsed data; second item: raw body
414
+ </p>
415
+ </div>
416
+
417
+ </li>
418
+
419
+ </ul>
382
420
 
383
421
  </div><table class="source_code">
384
422
  <tr>
@@ -386,20 +424,17 @@
386
424
  <pre class="lines">
387
425
 
388
426
 
389
- 15
390
427
  16
391
428
  17
392
- 18
393
- 19</pre>
429
+ 18</pre>
394
430
  </td>
395
431
  <td>
396
- <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/setting.rb', line 15</span>
432
+ <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/setting.rb', line 16</span>
397
433
 
398
- <span class='kw'>def</span> <span class='id identifier rubyid_index'>index</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
399
- <span class='id identifier rubyid_check_params'>check_params</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='symbol'>:allowed</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:method</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid___method__'>__method__</span>
400
- <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='id identifier rubyid_fill_params_in_url'>fill_params_in_url</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/api/settings</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span>
401
- <span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='symbol'>:get</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
402
- <span class='kw'>end</span></pre>
434
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_index identifier id'>index</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
435
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
436
+ <span class='rubyid_end end kw'>end</span>
437
+ </pre>
403
438
  </td>
404
439
  </tr>
405
440
  </table>
@@ -408,7 +443,7 @@
408
443
  <div class="method_details ">
409
444
  <h3 class="signature " id="show-instance_method">
410
445
 
411
- - (<tt>Object</tt>) <strong>show</strong>(params = { }, headers = { })
446
+ - (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
412
447
 
413
448
 
414
449
 
@@ -416,7 +451,10 @@
416
451
 
417
452
  </h3><div class="docstring">
418
453
  <div class="discussion">
419
-
454
+ <p>
455
+ First item: parsed data; second item: raw body
456
+ </p>
457
+
420
458
 
421
459
  </div>
422
460
  </div>
@@ -432,12 +470,13 @@
432
470
  <span class='type'>(<tt>Hash</tt>)</span>
433
471
 
434
472
 
435
- <em class="default">(defaults to: <tt>{ }</tt>)</em>
473
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
436
474
 
437
475
 
438
476
  &mdash;
439
- <div class='inline'>
440
- <p>a hash of params to be passed to the service</p>
477
+ <div class='inline'><p>
478
+ a hash of params to be passed to the service
479
+ </p>
441
480
  </div>
442
481
 
443
482
  </li>
@@ -450,12 +489,13 @@
450
489
  <span class='type'>(<tt>Hash</tt>)</span>
451
490
 
452
491
 
453
- <em class="default">(defaults to: <tt>{ }</tt>)</em>
492
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
454
493
 
455
494
 
456
495
  &mdash;
457
- <div class='inline'>
458
- <p>additional http headers</p>
496
+ <div class='inline'><p>
497
+ additional http headers
498
+ </p>
459
499
  </div>
460
500
 
461
501
  </li>
@@ -482,6 +522,25 @@
482
522
 
483
523
 
484
524
 
525
+ <p class="tag_title">Returns:</p>
526
+ <ul class="return">
527
+
528
+ <li>
529
+
530
+
531
+ <span class='type'>(<tt>Array</tt>)</span>
532
+
533
+
534
+
535
+ &mdash;
536
+ <div class='inline'><p>
537
+ First item: parsed data; second item: raw body
538
+ </p>
539
+ </div>
540
+
541
+ </li>
542
+
543
+ </ul>
485
544
 
486
545
  </div><table class="source_code">
487
546
  <tr>
@@ -491,18 +550,15 @@
491
550
 
492
551
  25
493
552
  26
494
- 27
495
- 28
496
- 29</pre>
553
+ 27</pre>
497
554
  </td>
498
555
  <td>
499
556
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/setting.rb', line 25</span>
500
557
 
501
- <span class='kw'>def</span> <span class='id identifier rubyid_show'>show</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
502
- <span class='id identifier rubyid_check_params'>check_params</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='symbol'>:allowed</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:method</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid___method__'>__method__</span>
503
- <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='id identifier rubyid_fill_params_in_url'>fill_params_in_url</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/api/settings/:id</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span>
504
- <span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='symbol'>:get</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
505
- <span class='kw'>end</span></pre>
558
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_show identifier id'>show</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
559
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
560
+ <span class='rubyid_end end kw'>end</span>
561
+ </pre>
506
562
  </td>
507
563
  </tr>
508
564
  </table>
@@ -511,7 +567,7 @@
511
567
  <div class="method_details ">
512
568
  <h3 class="signature " id="update-instance_method">
513
569
 
514
- - (<tt>Object</tt>) <strong>update</strong>(params = { }, headers = { })
570
+ - (<tt>Array</tt>) <strong>update</strong>(params = {}, headers = {})
515
571
 
516
572
 
517
573
 
@@ -519,7 +575,10 @@
519
575
 
520
576
  </h3><div class="docstring">
521
577
  <div class="discussion">
522
-
578
+ <p>
579
+ First item: parsed data; second item: raw body
580
+ </p>
581
+
523
582
 
524
583
  </div>
525
584
  </div>
@@ -535,12 +594,13 @@
535
594
  <span class='type'>(<tt>Hash</tt>)</span>
536
595
 
537
596
 
538
- <em class="default">(defaults to: <tt>{ }</tt>)</em>
597
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
539
598
 
540
599
 
541
600
  &mdash;
542
- <div class='inline'>
543
- <p>a hash of params to be passed to the service</p>
601
+ <div class='inline'><p>
602
+ a hash of params to be passed to the service
603
+ </p>
544
604
  </div>
545
605
 
546
606
  </li>
@@ -553,12 +613,13 @@
553
613
  <span class='type'>(<tt>Hash</tt>)</span>
554
614
 
555
615
 
556
- <em class="default">(defaults to: <tt>{ }</tt>)</em>
616
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
557
617
 
558
618
 
559
619
  &mdash;
560
- <div class='inline'>
561
- <p>additional http headers</p>
620
+ <div class='inline'><p>
621
+ additional http headers
622
+ </p>
562
623
  </div>
563
624
 
564
625
  </li>
@@ -587,11 +648,14 @@
587
648
 
588
649
  </span>
589
650
 
590
- &mdash; <div class='inline'>
591
- <p>allowed keys are:</p>
592
- <ul><li>
593
- <p>value [String],</p>
594
- </li></ul>
651
+ &mdash; <div class='inline'><p>
652
+ allowed keys are:
653
+ </p>
654
+ <ul>
655
+ <li>value [String]
656
+
657
+ </li>
658
+ </ul>
595
659
  </div>
596
660
 
597
661
  </li>
@@ -601,6 +665,25 @@
601
665
 
602
666
 
603
667
 
668
+ <p class="tag_title">Returns:</p>
669
+ <ul class="return">
670
+
671
+ <li>
672
+
673
+
674
+ <span class='type'>(<tt>Array</tt>)</span>
675
+
676
+
677
+
678
+ &mdash;
679
+ <div class='inline'><p>
680
+ First item: parsed data; second item: raw body
681
+ </p>
682
+ </div>
683
+
684
+ </li>
685
+
686
+ </ul>
604
687
 
605
688
  </div><table class="source_code">
606
689
  <tr>
@@ -608,20 +691,17 @@
608
691
  <pre class="lines">
609
692
 
610
693
 
694
+ 37
611
695
  38
612
- 39
613
- 40
614
- 41
615
- 42</pre>
696
+ 39</pre>
616
697
  </td>
617
698
  <td>
618
- <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/setting.rb', line 38</span>
699
+ <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/setting.rb', line 37</span>
619
700
 
620
- <span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
621
- <span class='id identifier rubyid_check_params'>check_params</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='symbol'>:allowed</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:method</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid___method__'>__method__</span>
622
- <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='id identifier rubyid_fill_params_in_url'>fill_params_in_url</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/api/settings/:id</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span>
623
- <span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='symbol'>:put</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
624
- <span class='kw'>end</span></pre>
701
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_update identifier id'>update</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
702
+ <span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
703
+ <span class='rubyid_end end kw'>end</span>
704
+ </pre>
625
705
  </td>
626
706
  </tr>
627
707
  </table>
@@ -632,9 +712,9 @@
632
712
  </div>
633
713
 
634
714
  <div id="footer">
635
- Generated on Mon Jan 21 15:44:35 2013 by
715
+ Generated on Tue Mar 19 09:50:25 2013 by
636
716
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
637
- 0.8.3 (ruby-1.9.3).
717
+ 0.8.5.2 (ruby-1.8.7).
638
718
  </div>
639
719
 
640
720
  </body>