foreman_api 0.1.3 → 0.1.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.
- 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::Hostgroup
|
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>
|
@@ -239,9 +236,8 @@ First item: parsed data; second item: raw body.
|
|
239
236
|
|
240
237
|
|
241
238
|
|
242
|
-
<span class="summary_desc"><div class='inline'
|
243
|
-
First item: parsed data; second item: raw body
|
244
|
-
</p>
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
240
|
+
<p>First item: parsed data; second item: raw body.</p>
|
245
241
|
</div></span>
|
246
242
|
|
247
243
|
</li>
|
@@ -264,9 +260,8 @@ First item: parsed data; second item: raw body.
|
|
264
260
|
|
265
261
|
|
266
262
|
|
267
|
-
<span class="summary_desc"><div class='inline'
|
268
|
-
First item: parsed data; second item: raw body
|
269
|
-
</p>
|
263
|
+
<span class="summary_desc"><div class='inline'>
|
264
|
+
<p>First item: parsed data; second item: raw body.</p>
|
270
265
|
</div></span>
|
271
266
|
|
272
267
|
</li>
|
@@ -304,10 +299,9 @@ First item: parsed data; second item: raw body.
|
|
304
299
|
<td>
|
305
300
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 4</span>
|
306
301
|
|
307
|
-
<span class='
|
308
|
-
<span class='
|
309
|
-
<span class='
|
310
|
-
</pre>
|
302
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
303
|
+
<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'>hostgroups</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
304
|
+
<span class='kw'>end</span></pre>
|
311
305
|
</td>
|
312
306
|
</tr>
|
313
307
|
</table>
|
@@ -330,9 +324,8 @@ First item: parsed data; second item: raw body.
|
|
330
324
|
|
331
325
|
</h3><div class="docstring">
|
332
326
|
<div class="discussion">
|
333
|
-
|
334
|
-
First item: parsed data; second item: raw body
|
335
|
-
</p>
|
327
|
+
|
328
|
+
<p>First item: parsed data; second item: raw body</p>
|
336
329
|
|
337
330
|
|
338
331
|
</div>
|
@@ -353,9 +346,8 @@ First item: parsed data; second item: raw body
|
|
353
346
|
|
354
347
|
|
355
348
|
—
|
356
|
-
<div class='inline'
|
357
|
-
a hash of params to be passed to the service
|
358
|
-
</p>
|
349
|
+
<div class='inline'>
|
350
|
+
<p>a hash of params to be passed to the service</p>
|
359
351
|
</div>
|
360
352
|
|
361
353
|
</li>
|
@@ -372,9 +364,8 @@ a hash of params to be passed to the service
|
|
372
364
|
|
373
365
|
|
374
366
|
—
|
375
|
-
<div class='inline'
|
376
|
-
additional http headers
|
377
|
-
</p>
|
367
|
+
<div class='inline'>
|
368
|
+
<p>additional http headers</p>
|
378
369
|
</div>
|
379
370
|
|
380
371
|
</li>
|
@@ -394,41 +385,29 @@ additional http headers
|
|
394
385
|
|
395
386
|
</span>
|
396
387
|
|
397
|
-
— <div class='inline'
|
398
|
-
allowed keys are
|
399
|
-
|
400
|
-
<
|
401
|
-
|
402
|
-
|
403
|
-
</li>
|
404
|
-
<
|
405
|
-
|
406
|
-
</
|
407
|
-
|
408
|
-
|
409
|
-
</li>
|
410
|
-
<
|
411
|
-
|
412
|
-
</
|
413
|
-
|
414
|
-
|
415
|
-
</li>
|
416
|
-
<
|
417
|
-
|
418
|
-
</
|
419
|
-
|
420
|
-
|
421
|
-
</li>
|
422
|
-
<li>puppet_proxy_id [String]
|
423
|
-
|
424
|
-
</li>
|
425
|
-
<li>subnet_id [String]
|
426
|
-
|
427
|
-
</li>
|
428
|
-
<li>name [String]
|
429
|
-
|
430
|
-
</li>
|
431
|
-
</ul>
|
388
|
+
— <div class='inline'>
|
389
|
+
<p>allowed keys are:</p>
|
390
|
+
<ul><li>
|
391
|
+
<p>architecture_id [String]</p>
|
392
|
+
</li><li>
|
393
|
+
<p>domain_id [String]</p>
|
394
|
+
</li><li>
|
395
|
+
<p>environment_id [String]</p>
|
396
|
+
</li><li>
|
397
|
+
<p>medium_id [String]</p>
|
398
|
+
</li><li>
|
399
|
+
<p>operatingsystem_id [String]</p>
|
400
|
+
</li><li>
|
401
|
+
<p>ptable_id [String]</p>
|
402
|
+
</li><li>
|
403
|
+
<p>puppet_ca_proxy_id [String]</p>
|
404
|
+
</li><li>
|
405
|
+
<p>puppet_proxy_id [String]</p>
|
406
|
+
</li><li>
|
407
|
+
<p>subnet_id [String]</p>
|
408
|
+
</li><li>
|
409
|
+
<p>name [String]</p>
|
410
|
+
</li></ul>
|
432
411
|
</div>
|
433
412
|
|
434
413
|
</li>
|
@@ -449,9 +428,8 @@ allowed keys are:
|
|
449
428
|
|
450
429
|
|
451
430
|
—
|
452
|
-
<div class='inline'
|
453
|
-
First item: parsed data; second item: raw body
|
454
|
-
</p>
|
431
|
+
<div class='inline'>
|
432
|
+
<p>First item: parsed data; second item: raw body</p>
|
455
433
|
</div>
|
456
434
|
|
457
435
|
</li>
|
@@ -471,10 +449,9 @@ First item: parsed data; second item: raw body
|
|
471
449
|
<td>
|
472
450
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 45</span>
|
473
451
|
|
474
|
-
<span class='
|
475
|
-
<span class='
|
476
|
-
<span class='
|
477
|
-
</pre>
|
452
|
+
<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>
|
453
|
+
<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>
|
454
|
+
<span class='kw'>end</span></pre>
|
478
455
|
</td>
|
479
456
|
</tr>
|
480
457
|
</table>
|
@@ -491,9 +468,8 @@ First item: parsed data; second item: raw body
|
|
491
468
|
|
492
469
|
</h3><div class="docstring">
|
493
470
|
<div class="discussion">
|
494
|
-
|
495
|
-
First item: parsed data; second item: raw body
|
496
|
-
</p>
|
471
|
+
|
472
|
+
<p>First item: parsed data; second item: raw body</p>
|
497
473
|
|
498
474
|
|
499
475
|
</div>
|
@@ -514,9 +490,8 @@ First item: parsed data; second item: raw body
|
|
514
490
|
|
515
491
|
|
516
492
|
—
|
517
|
-
<div class='inline'
|
518
|
-
a hash of params to be passed to the service
|
519
|
-
</p>
|
493
|
+
<div class='inline'>
|
494
|
+
<p>a hash of params to be passed to the service</p>
|
520
495
|
</div>
|
521
496
|
|
522
497
|
</li>
|
@@ -533,9 +508,8 @@ a hash of params to be passed to the service
|
|
533
508
|
|
534
509
|
|
535
510
|
—
|
536
|
-
<div class='inline'
|
537
|
-
additional http headers
|
538
|
-
</p>
|
511
|
+
<div class='inline'>
|
512
|
+
<p>additional http headers</p>
|
539
513
|
</div>
|
540
514
|
|
541
515
|
</li>
|
@@ -573,9 +547,8 @@ additional http headers
|
|
573
547
|
|
574
548
|
|
575
549
|
—
|
576
|
-
<div class='inline'
|
577
|
-
First item: parsed data; second item: raw body
|
578
|
-
</p>
|
550
|
+
<div class='inline'>
|
551
|
+
<p>First item: parsed data; second item: raw body</p>
|
579
552
|
</div>
|
580
553
|
|
581
554
|
</li>
|
@@ -595,10 +568,9 @@ First item: parsed data; second item: raw body
|
|
595
568
|
<td>
|
596
569
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 75</span>
|
597
570
|
|
598
|
-
<span class='
|
599
|
-
<span class='
|
600
|
-
<span class='
|
601
|
-
</pre>
|
571
|
+
<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>
|
572
|
+
<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>
|
573
|
+
<span class='kw'>end</span></pre>
|
602
574
|
</td>
|
603
575
|
</tr>
|
604
576
|
</table>
|
@@ -615,9 +587,8 @@ First item: parsed data; second item: raw body
|
|
615
587
|
|
616
588
|
</h3><div class="docstring">
|
617
589
|
<div class="discussion">
|
618
|
-
|
619
|
-
First item: parsed data; second item: raw body
|
620
|
-
</p>
|
590
|
+
|
591
|
+
<p>First item: parsed data; second item: raw body</p>
|
621
592
|
|
622
593
|
|
623
594
|
</div>
|
@@ -638,9 +609,8 @@ First item: parsed data; second item: raw body
|
|
638
609
|
|
639
610
|
|
640
611
|
—
|
641
|
-
<div class='inline'
|
642
|
-
a hash of params to be passed to the service
|
643
|
-
</p>
|
612
|
+
<div class='inline'>
|
613
|
+
<p>a hash of params to be passed to the service</p>
|
644
614
|
</div>
|
645
615
|
|
646
616
|
</li>
|
@@ -657,9 +627,8 @@ a hash of params to be passed to the service
|
|
657
627
|
|
658
628
|
|
659
629
|
—
|
660
|
-
<div class='inline'
|
661
|
-
additional http headers
|
662
|
-
</p>
|
630
|
+
<div class='inline'>
|
631
|
+
<p>additional http headers</p>
|
663
632
|
</div>
|
664
633
|
|
665
634
|
</li>
|
@@ -679,9 +648,8 @@ additional http headers
|
|
679
648
|
|
680
649
|
</span>
|
681
650
|
|
682
|
-
— <div class='inline'
|
683
|
-
Sort results
|
684
|
-
</p>
|
651
|
+
— <div class='inline'>
|
652
|
+
<p>Sort results</p>
|
685
653
|
</div>
|
686
654
|
|
687
655
|
</li>
|
@@ -693,9 +661,8 @@ Sort results
|
|
693
661
|
|
694
662
|
</span>
|
695
663
|
|
696
|
-
— <div class='inline'
|
697
|
-
Paginate results
|
698
|
-
</p>
|
664
|
+
— <div class='inline'>
|
665
|
+
<p>Paginate results</p>
|
699
666
|
</div>
|
700
667
|
|
701
668
|
</li>
|
@@ -707,9 +674,8 @@ Paginate results
|
|
707
674
|
|
708
675
|
</span>
|
709
676
|
|
710
|
-
— <div class='inline'
|
711
|
-
Number of entries per request
|
712
|
-
</p>
|
677
|
+
— <div class='inline'>
|
678
|
+
<p>Number of entries per request</p>
|
713
679
|
</div>
|
714
680
|
|
715
681
|
</li>
|
@@ -721,9 +687,8 @@ Number of entries per request
|
|
721
687
|
|
722
688
|
</span>
|
723
689
|
|
724
|
-
— <div class='inline'
|
725
|
-
Filter results
|
726
|
-
</p>
|
690
|
+
— <div class='inline'>
|
691
|
+
<p>Filter results</p>
|
727
692
|
</div>
|
728
693
|
|
729
694
|
</li>
|
@@ -744,9 +709,8 @@ Filter results
|
|
744
709
|
|
745
710
|
|
746
711
|
—
|
747
|
-
<div class='inline'
|
748
|
-
First item: parsed data; second item: raw body
|
749
|
-
</p>
|
712
|
+
<div class='inline'>
|
713
|
+
<p>First item: parsed data; second item: raw body</p>
|
750
714
|
</div>
|
751
715
|
|
752
716
|
</li>
|
@@ -766,10 +730,9 @@ First item: parsed data; second item: raw body
|
|
766
730
|
<td>
|
767
731
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 16</span>
|
768
732
|
|
769
|
-
<span class='
|
770
|
-
<span class='
|
771
|
-
<span class='
|
772
|
-
</pre>
|
733
|
+
<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>
|
734
|
+
<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>
|
735
|
+
<span class='kw'>end</span></pre>
|
773
736
|
</td>
|
774
737
|
</tr>
|
775
738
|
</table>
|
@@ -786,9 +749,8 @@ First item: parsed data; second item: raw body
|
|
786
749
|
|
787
750
|
</h3><div class="docstring">
|
788
751
|
<div class="discussion">
|
789
|
-
|
790
|
-
First item: parsed data; second item: raw body
|
791
|
-
</p>
|
752
|
+
|
753
|
+
<p>First item: parsed data; second item: raw body</p>
|
792
754
|
|
793
755
|
|
794
756
|
</div>
|
@@ -809,9 +771,8 @@ First item: parsed data; second item: raw body
|
|
809
771
|
|
810
772
|
|
811
773
|
—
|
812
|
-
<div class='inline'
|
813
|
-
a hash of params to be passed to the service
|
814
|
-
</p>
|
774
|
+
<div class='inline'>
|
775
|
+
<p>a hash of params to be passed to the service</p>
|
815
776
|
</div>
|
816
777
|
|
817
778
|
</li>
|
@@ -828,9 +789,8 @@ a hash of params to be passed to the service
|
|
828
789
|
|
829
790
|
|
830
791
|
—
|
831
|
-
<div class='inline'
|
832
|
-
additional http headers
|
833
|
-
</p>
|
792
|
+
<div class='inline'>
|
793
|
+
<p>additional http headers</p>
|
834
794
|
</div>
|
835
795
|
|
836
796
|
</li>
|
@@ -868,9 +828,8 @@ additional http headers
|
|
868
828
|
|
869
829
|
|
870
830
|
—
|
871
|
-
<div class='inline'
|
872
|
-
First item: parsed data; second item: raw body
|
873
|
-
</p>
|
831
|
+
<div class='inline'>
|
832
|
+
<p>First item: parsed data; second item: raw body</p>
|
874
833
|
</div>
|
875
834
|
|
876
835
|
</li>
|
@@ -890,10 +849,9 @@ First item: parsed data; second item: raw body
|
|
890
849
|
<td>
|
891
850
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 25</span>
|
892
851
|
|
893
|
-
<span class='
|
894
|
-
<span class='
|
895
|
-
<span class='
|
896
|
-
</pre>
|
852
|
+
<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>
|
853
|
+
<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>
|
854
|
+
<span class='kw'>end</span></pre>
|
897
855
|
</td>
|
898
856
|
</tr>
|
899
857
|
</table>
|
@@ -910,9 +868,8 @@ First item: parsed data; second item: raw body
|
|
910
868
|
|
911
869
|
</h3><div class="docstring">
|
912
870
|
<div class="discussion">
|
913
|
-
|
914
|
-
First item: parsed data; second item: raw body
|
915
|
-
</p>
|
871
|
+
|
872
|
+
<p>First item: parsed data; second item: raw body</p>
|
916
873
|
|
917
874
|
|
918
875
|
</div>
|
@@ -933,9 +890,8 @@ First item: parsed data; second item: raw body
|
|
933
890
|
|
934
891
|
|
935
892
|
—
|
936
|
-
<div class='inline'
|
937
|
-
a hash of params to be passed to the service
|
938
|
-
</p>
|
893
|
+
<div class='inline'>
|
894
|
+
<p>a hash of params to be passed to the service</p>
|
939
895
|
</div>
|
940
896
|
|
941
897
|
</li>
|
@@ -952,9 +908,8 @@ a hash of params to be passed to the service
|
|
952
908
|
|
953
909
|
|
954
910
|
—
|
955
|
-
<div class='inline'
|
956
|
-
additional http headers
|
957
|
-
</p>
|
911
|
+
<div class='inline'>
|
912
|
+
<p>additional http headers</p>
|
958
913
|
</div>
|
959
914
|
|
960
915
|
</li>
|
@@ -983,41 +938,29 @@ additional http headers
|
|
983
938
|
|
984
939
|
</span>
|
985
940
|
|
986
|
-
— <div class='inline'
|
987
|
-
allowed keys are
|
988
|
-
|
989
|
-
<
|
990
|
-
|
991
|
-
|
992
|
-
</li>
|
993
|
-
<
|
994
|
-
|
995
|
-
</
|
996
|
-
|
997
|
-
|
998
|
-
</li>
|
999
|
-
<
|
1000
|
-
|
1001
|
-
</
|
1002
|
-
|
1003
|
-
|
1004
|
-
</li>
|
1005
|
-
<
|
1006
|
-
|
1007
|
-
</
|
1008
|
-
|
1009
|
-
|
1010
|
-
</li>
|
1011
|
-
<li>puppet_proxy_id [String]
|
1012
|
-
|
1013
|
-
</li>
|
1014
|
-
<li>subnet_id [String]
|
1015
|
-
|
1016
|
-
</li>
|
1017
|
-
<li>name [String]
|
1018
|
-
|
1019
|
-
</li>
|
1020
|
-
</ul>
|
941
|
+
— <div class='inline'>
|
942
|
+
<p>allowed keys are:</p>
|
943
|
+
<ul><li>
|
944
|
+
<p>architecture_id [String]</p>
|
945
|
+
</li><li>
|
946
|
+
<p>domain_id [String]</p>
|
947
|
+
</li><li>
|
948
|
+
<p>environment_id [String]</p>
|
949
|
+
</li><li>
|
950
|
+
<p>medium_id [String]</p>
|
951
|
+
</li><li>
|
952
|
+
<p>operatingsystem_id [String]</p>
|
953
|
+
</li><li>
|
954
|
+
<p>ptable_id [String]</p>
|
955
|
+
</li><li>
|
956
|
+
<p>puppet_ca_proxy_id [String]</p>
|
957
|
+
</li><li>
|
958
|
+
<p>puppet_proxy_id [String]</p>
|
959
|
+
</li><li>
|
960
|
+
<p>subnet_id [String]</p>
|
961
|
+
</li><li>
|
962
|
+
<p>name [String]</p>
|
963
|
+
</li></ul>
|
1021
964
|
</div>
|
1022
965
|
|
1023
966
|
</li>
|
@@ -1038,9 +981,8 @@ allowed keys are:
|
|
1038
981
|
|
1039
982
|
|
1040
983
|
—
|
1041
|
-
<div class='inline'
|
1042
|
-
First item: parsed data; second item: raw body
|
1043
|
-
</p>
|
984
|
+
<div class='inline'>
|
985
|
+
<p>First item: parsed data; second item: raw body</p>
|
1044
986
|
</div>
|
1045
987
|
|
1046
988
|
</li>
|
@@ -1060,10 +1002,9 @@ First item: parsed data; second item: raw body
|
|
1060
1002
|
<td>
|
1061
1003
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 66</span>
|
1062
1004
|
|
1063
|
-
<span class='
|
1064
|
-
<span class='
|
1065
|
-
<span class='
|
1066
|
-
</pre>
|
1005
|
+
<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>
|
1006
|
+
<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>
|
1007
|
+
<span class='kw'>end</span></pre>
|
1067
1008
|
</td>
|
1068
1009
|
</tr>
|
1069
1010
|
</table>
|
@@ -1074,9 +1015,9 @@ First item: parsed data; second item: raw body
|
|
1074
1015
|
</div>
|
1075
1016
|
|
1076
1017
|
<div id="footer">
|
1077
|
-
Generated on
|
1018
|
+
Generated on Thu Jun 20 12:05:22 2013 by
|
1078
1019
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1079
|
-
0.8.
|
1020
|
+
0.8.3 (ruby-1.9.3).
|
1080
1021
|
</div>
|
1081
1022
|
|
1082
1023
|
</body>
|