foreman_api 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +35 -18
- data/doc/ForemanApi/Resources/Architecture.html +93 -136
- data/doc/ForemanApi/Resources/Audit.html +42 -60
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +129 -190
- data/doc/ForemanApi/Resources/Bookmark.html +97 -142
- data/doc/ForemanApi/Resources/CommonParameter.html +93 -136
- data/doc/ForemanApi/Resources/ComputeResource.html +131 -190
- data/doc/ForemanApi/Resources/ConfigTemplate.html +145 -211
- data/doc/ForemanApi/Resources/Dashboard.html +21 -29
- data/doc/ForemanApi/Resources/Domain.html +103 -151
- data/doc/ForemanApi/Resources/Environment.html +89 -130
- data/doc/ForemanApi/Resources/FactValue.html +29 -41
- data/doc/ForemanApi/Resources/Home.html +32 -45
- data/doc/ForemanApi/Resources/Host.html +317 -251
- data/doc/ForemanApi/Resources/HostClass.html +55 -79
- data/doc/ForemanApi/Resources/Hostgroup.html +125 -184
- data/doc/ForemanApi/Resources/HostgroupClass.html +57 -82
- data/doc/ForemanApi/Resources/Image.html +109 -160
- data/doc/ForemanApi/Resources/Location.html +937 -0
- data/doc/ForemanApi/Resources/LookupKey.html +111 -163
- data/doc/ForemanApi/Resources/Medium.html +113 -154
- data/doc/ForemanApi/Resources/Model.html +101 -148
- data/doc/ForemanApi/Resources/OperatingSystem.html +118 -173
- data/doc/ForemanApi/Resources/Organization.html +937 -0
- data/doc/ForemanApi/Resources/Parameter.html +158 -233
- data/doc/ForemanApi/Resources/Ptable.html +97 -142
- data/doc/ForemanApi/Resources/Puppetclass.html +95 -139
- data/doc/ForemanApi/Resources/Report.html +68 -98
- data/doc/ForemanApi/Resources/Role.html +85 -124
- data/doc/ForemanApi/Resources/Setting.html +58 -84
- data/doc/ForemanApi/Resources/SmartProxy.html +91 -133
- data/doc/ForemanApi/Resources/Subnet.html +141 -208
- data/doc/ForemanApi/Resources/TemplateCombination.html +65 -94
- data/doc/ForemanApi/Resources/TemplateKind.html +23 -32
- data/doc/ForemanApi/Resources/User.html +111 -163
- data/doc/ForemanApi/Resources/Usergroup.html +89 -130
- data/doc/ForemanApi/Resources.html +6 -6
- data/doc/ForemanApi.html +5 -5
- data/doc/_index.html +18 -4
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +0 -10
- data/doc/file.MIT-LICENSE.html +24 -29
- data/doc/file.README.html +81 -60
- data/doc/frames.html +1 -1
- data/doc/index.html +81 -60
- data/doc/method_list.html +416 -312
- data/doc/top-level-namespace.html +3 -3
- data/lib/foreman_api/base.rb +16 -8
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/host.rb +9 -0
- data/lib/foreman_api/resources/location.rb +59 -0
- data/lib/foreman_api/resources/medium.rb +2 -2
- data/lib/foreman_api/resources/organization.rb +59 -0
- data/lib/foreman_api/version.rb +1 -1
- metadata +7 -3
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ForemanApi::Resources::HostClass
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -164,9 +164,8 @@
|
|
164
164
|
|
165
165
|
|
166
166
|
|
167
|
-
<span class="summary_desc"><div class='inline'
|
168
|
-
First item: parsed data; second item: raw body
|
169
|
-
</p>
|
167
|
+
<span class="summary_desc"><div class='inline'>
|
168
|
+
<p>First item: parsed data; second item: raw body.</p>
|
170
169
|
</div></span>
|
171
170
|
|
172
171
|
</li>
|
@@ -189,9 +188,8 @@ First item: parsed data; second item: raw body.
|
|
189
188
|
|
190
189
|
|
191
190
|
|
192
|
-
<span class="summary_desc"><div class='inline'
|
193
|
-
First item: parsed data; second item: raw body
|
194
|
-
</p>
|
191
|
+
<span class="summary_desc"><div class='inline'>
|
192
|
+
<p>First item: parsed data; second item: raw body.</p>
|
195
193
|
</div></span>
|
196
194
|
|
197
195
|
</li>
|
@@ -214,9 +212,8 @@ First item: parsed data; second item: raw body.
|
|
214
212
|
|
215
213
|
|
216
214
|
|
217
|
-
<span class="summary_desc"><div class='inline'
|
218
|
-
First item: parsed data; second item: raw body
|
219
|
-
</p>
|
215
|
+
<span class="summary_desc"><div class='inline'>
|
216
|
+
<p>First item: parsed data; second item: raw body.</p>
|
220
217
|
</div></span>
|
221
218
|
|
222
219
|
</li>
|
@@ -254,10 +251,9 @@ First item: parsed data; second item: raw body.
|
|
254
251
|
<td>
|
255
252
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/host_class.rb', line 4</span>
|
256
253
|
|
257
|
-
<span class='
|
258
|
-
<span class='
|
259
|
-
<span class='
|
260
|
-
</pre>
|
254
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
255
|
+
<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'>"</span><span class='tstring_content'>host_classes</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
256
|
+
<span class='kw'>end</span></pre>
|
261
257
|
</td>
|
262
258
|
</tr>
|
263
259
|
</table>
|
@@ -280,9 +276,8 @@ First item: parsed data; second item: raw body.
|
|
280
276
|
|
281
277
|
</h3><div class="docstring">
|
282
278
|
<div class="discussion">
|
283
|
-
|
284
|
-
First item: parsed data; second item: raw body
|
285
|
-
</p>
|
279
|
+
|
280
|
+
<p>First item: parsed data; second item: raw body</p>
|
286
281
|
|
287
282
|
|
288
283
|
</div>
|
@@ -303,9 +298,8 @@ First item: parsed data; second item: raw body
|
|
303
298
|
|
304
299
|
|
305
300
|
—
|
306
|
-
<div class='inline'
|
307
|
-
a hash of params to be passed to the service
|
308
|
-
</p>
|
301
|
+
<div class='inline'>
|
302
|
+
<p>a hash of params to be passed to the service</p>
|
309
303
|
</div>
|
310
304
|
|
311
305
|
</li>
|
@@ -322,9 +316,8 @@ a hash of params to be passed to the service
|
|
322
316
|
|
323
317
|
|
324
318
|
—
|
325
|
-
<div class='inline'
|
326
|
-
additional http headers
|
327
|
-
</p>
|
319
|
+
<div class='inline'>
|
320
|
+
<p>additional http headers</p>
|
328
321
|
</div>
|
329
322
|
|
330
323
|
</li>
|
@@ -344,9 +337,8 @@ additional http headers
|
|
344
337
|
|
345
338
|
</span>
|
346
339
|
|
347
|
-
— <div class='inline'
|
348
|
-
Id of host
|
349
|
-
</p>
|
340
|
+
— <div class='inline'>
|
341
|
+
<p>Id of host</p>
|
350
342
|
</div>
|
351
343
|
|
352
344
|
</li>
|
@@ -358,9 +350,8 @@ Id of host
|
|
358
350
|
|
359
351
|
</span>
|
360
352
|
|
361
|
-
— <div class='inline'
|
362
|
-
Id of puppetclass
|
363
|
-
</p>
|
353
|
+
— <div class='inline'>
|
354
|
+
<p>Id of puppetclass</p>
|
364
355
|
</div>
|
365
356
|
|
366
357
|
</li>
|
@@ -381,9 +372,8 @@ Id of puppetclass
|
|
381
372
|
|
382
373
|
|
383
374
|
—
|
384
|
-
<div class='inline'
|
385
|
-
First item: parsed data; second item: raw body
|
386
|
-
</p>
|
375
|
+
<div class='inline'>
|
376
|
+
<p>First item: parsed data; second item: raw body</p>
|
387
377
|
</div>
|
388
378
|
|
389
379
|
</li>
|
@@ -403,10 +393,9 @@ First item: parsed data; second item: raw body
|
|
403
393
|
<td>
|
404
394
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/host_class.rb', line 23</span>
|
405
395
|
|
406
|
-
<span class='
|
407
|
-
<span class='
|
408
|
-
<span class='
|
409
|
-
</pre>
|
396
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</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>
|
397
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</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>
|
398
|
+
<span class='kw'>end</span></pre>
|
410
399
|
</td>
|
411
400
|
</tr>
|
412
401
|
</table>
|
@@ -423,9 +412,8 @@ First item: parsed data; second item: raw body
|
|
423
412
|
|
424
413
|
</h3><div class="docstring">
|
425
414
|
<div class="discussion">
|
426
|
-
|
427
|
-
First item: parsed data; second item: raw body
|
428
|
-
</p>
|
415
|
+
|
416
|
+
<p>First item: parsed data; second item: raw body</p>
|
429
417
|
|
430
418
|
|
431
419
|
</div>
|
@@ -446,9 +434,8 @@ First item: parsed data; second item: raw body
|
|
446
434
|
|
447
435
|
|
448
436
|
—
|
449
|
-
<div class='inline'
|
450
|
-
a hash of params to be passed to the service
|
451
|
-
</p>
|
437
|
+
<div class='inline'>
|
438
|
+
<p>a hash of params to be passed to the service</p>
|
452
439
|
</div>
|
453
440
|
|
454
441
|
</li>
|
@@ -465,9 +452,8 @@ a hash of params to be passed to the service
|
|
465
452
|
|
466
453
|
|
467
454
|
—
|
468
|
-
<div class='inline'
|
469
|
-
additional http headers
|
470
|
-
</p>
|
455
|
+
<div class='inline'>
|
456
|
+
<p>additional http headers</p>
|
471
457
|
</div>
|
472
458
|
|
473
459
|
</li>
|
@@ -487,9 +473,8 @@ additional http headers
|
|
487
473
|
|
488
474
|
</span>
|
489
475
|
|
490
|
-
— <div class='inline'
|
491
|
-
Id of puppetclass
|
492
|
-
</p>
|
476
|
+
— <div class='inline'>
|
477
|
+
<p>Id of puppetclass</p>
|
493
478
|
</div>
|
494
479
|
|
495
480
|
</li>
|
@@ -501,9 +486,8 @@ Id of puppetclass
|
|
501
486
|
|
502
487
|
</span>
|
503
488
|
|
504
|
-
— <div class='inline'
|
505
|
-
Id of host
|
506
|
-
</p>
|
489
|
+
— <div class='inline'>
|
490
|
+
<p>Id of host</p>
|
507
491
|
</div>
|
508
492
|
|
509
493
|
</li>
|
@@ -524,9 +508,8 @@ Id of host
|
|
524
508
|
|
525
509
|
|
526
510
|
—
|
527
|
-
<div class='inline'
|
528
|
-
First item: parsed data; second item: raw body
|
529
|
-
</p>
|
511
|
+
<div class='inline'>
|
512
|
+
<p>First item: parsed data; second item: raw body</p>
|
530
513
|
</div>
|
531
514
|
|
532
515
|
</li>
|
@@ -546,10 +529,9 @@ First item: parsed data; second item: raw body
|
|
546
529
|
<td>
|
547
530
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/host_class.rb', line 33</span>
|
548
531
|
|
549
|
-
<span class='
|
550
|
-
<span class='
|
551
|
-
<span class='
|
552
|
-
</pre>
|
532
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_destroy'>destroy</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>
|
533
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</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>
|
534
|
+
<span class='kw'>end</span></pre>
|
553
535
|
</td>
|
554
536
|
</tr>
|
555
537
|
</table>
|
@@ -566,9 +548,8 @@ First item: parsed data; second item: raw body
|
|
566
548
|
|
567
549
|
</h3><div class="docstring">
|
568
550
|
<div class="discussion">
|
569
|
-
|
570
|
-
First item: parsed data; second item: raw body
|
571
|
-
</p>
|
551
|
+
|
552
|
+
<p>First item: parsed data; second item: raw body</p>
|
572
553
|
|
573
554
|
|
574
555
|
</div>
|
@@ -589,9 +570,8 @@ First item: parsed data; second item: raw body
|
|
589
570
|
|
590
571
|
|
591
572
|
—
|
592
|
-
<div class='inline'
|
593
|
-
a hash of params to be passed to the service
|
594
|
-
</p>
|
573
|
+
<div class='inline'>
|
574
|
+
<p>a hash of params to be passed to the service</p>
|
595
575
|
</div>
|
596
576
|
|
597
577
|
</li>
|
@@ -608,9 +588,8 @@ a hash of params to be passed to the service
|
|
608
588
|
|
609
589
|
|
610
590
|
—
|
611
|
-
<div class='inline'
|
612
|
-
additional http headers
|
613
|
-
</p>
|
591
|
+
<div class='inline'>
|
592
|
+
<p>additional http headers</p>
|
614
593
|
</div>
|
615
594
|
|
616
595
|
</li>
|
@@ -630,9 +609,8 @@ additional http headers
|
|
630
609
|
|
631
610
|
</span>
|
632
611
|
|
633
|
-
— <div class='inline'
|
634
|
-
Part of <tt>/api/hosts/:host_id/puppetclass_ids</tt> path
|
635
|
-
</p>
|
612
|
+
— <div class='inline'>
|
613
|
+
<p>Part of <tt>/api/hosts/:host_id/puppetclass_ids</tt> path</p>
|
636
614
|
</div>
|
637
615
|
|
638
616
|
</li>
|
@@ -653,9 +631,8 @@ Part of <tt>/api/hosts/:host_id/puppetclass_ids</tt> path
|
|
653
631
|
|
654
632
|
|
655
633
|
—
|
656
|
-
<div class='inline'
|
657
|
-
First item: parsed data; second item: raw body
|
658
|
-
</p>
|
634
|
+
<div class='inline'>
|
635
|
+
<p>First item: parsed data; second item: raw body</p>
|
659
636
|
</div>
|
660
637
|
|
661
638
|
</li>
|
@@ -675,10 +652,9 @@ First item: parsed data; second item: raw body
|
|
675
652
|
<td>
|
676
653
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/host_class.rb', line 13</span>
|
677
654
|
|
678
|
-
<span class='
|
679
|
-
<span class='
|
680
|
-
<span class='
|
681
|
-
</pre>
|
655
|
+
<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>
|
656
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</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>
|
657
|
+
<span class='kw'>end</span></pre>
|
682
658
|
</td>
|
683
659
|
</tr>
|
684
660
|
</table>
|
@@ -689,9 +665,9 @@ First item: parsed data; second item: raw body
|
|
689
665
|
</div>
|
690
666
|
|
691
667
|
<div id="footer">
|
692
|
-
Generated on
|
668
|
+
Generated on Thu Jun 20 12:05:22 2013 by
|
693
669
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
694
|
-
0.8.
|
670
|
+
0.8.3 (ruby-1.9.3).
|
695
671
|
</div>
|
696
672
|
|
697
673
|
</body>
|