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::ConfigTemplate
|
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>
|
@@ -289,9 +284,8 @@ First item: parsed data; second item: raw body.
|
|
289
284
|
|
290
285
|
|
291
286
|
|
292
|
-
<span class="summary_desc"><div class='inline'
|
293
|
-
First item: parsed data; second item: raw body
|
294
|
-
</p>
|
287
|
+
<span class="summary_desc"><div class='inline'>
|
288
|
+
<p>First item: parsed data; second item: raw body.</p>
|
295
289
|
</div></span>
|
296
290
|
|
297
291
|
</li>
|
@@ -314,9 +308,8 @@ First item: parsed data; second item: raw body.
|
|
314
308
|
|
315
309
|
|
316
310
|
|
317
|
-
<span class="summary_desc"><div class='inline'
|
318
|
-
First item: parsed data; second item: raw body
|
319
|
-
</p>
|
311
|
+
<span class="summary_desc"><div class='inline'>
|
312
|
+
<p>First item: parsed data; second item: raw body.</p>
|
320
313
|
</div></span>
|
321
314
|
|
322
315
|
</li>
|
@@ -354,10 +347,9 @@ First item: parsed data; second item: raw body.
|
|
354
347
|
<td>
|
355
348
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/config_template.rb', line 4</span>
|
356
349
|
|
357
|
-
<span class='
|
358
|
-
<span class='
|
359
|
-
<span class='
|
360
|
-
</pre>
|
350
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
351
|
+
<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'>config_templates</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
352
|
+
<span class='kw'>end</span></pre>
|
361
353
|
</td>
|
362
354
|
</tr>
|
363
355
|
</table>
|
@@ -380,9 +372,8 @@ First item: parsed data; second item: raw body.
|
|
380
372
|
|
381
373
|
</h3><div class="docstring">
|
382
374
|
<div class="discussion">
|
383
|
-
|
384
|
-
First item: parsed data; second item: raw body
|
385
|
-
</p>
|
375
|
+
|
376
|
+
<p>First item: parsed data; second item: raw body</p>
|
386
377
|
|
387
378
|
|
388
379
|
</div>
|
@@ -403,9 +394,8 @@ First item: parsed data; second item: raw body
|
|
403
394
|
|
404
395
|
|
405
396
|
—
|
406
|
-
<div class='inline'
|
407
|
-
a hash of params to be passed to the service
|
408
|
-
</p>
|
397
|
+
<div class='inline'>
|
398
|
+
<p>a hash of params to be passed to the service</p>
|
409
399
|
</div>
|
410
400
|
|
411
401
|
</li>
|
@@ -422,9 +412,8 @@ a hash of params to be passed to the service
|
|
422
412
|
|
423
413
|
|
424
414
|
—
|
425
|
-
<div class='inline'
|
426
|
-
additional http headers
|
427
|
-
</p>
|
415
|
+
<div class='inline'>
|
416
|
+
<p>additional http headers</p>
|
428
417
|
</div>
|
429
418
|
|
430
419
|
</li>
|
@@ -442,9 +431,8 @@ additional http headers
|
|
442
431
|
|
443
432
|
|
444
433
|
—
|
445
|
-
<div class='inline'
|
446
|
-
First item: parsed data; second item: raw body
|
447
|
-
</p>
|
434
|
+
<div class='inline'>
|
435
|
+
<p>First item: parsed data; second item: raw body</p>
|
448
436
|
</div>
|
449
437
|
|
450
438
|
</li>
|
@@ -464,10 +452,9 @@ First item: parsed data; second item: raw body
|
|
464
452
|
<td>
|
465
453
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/config_template.rb', line 86</span>
|
466
454
|
|
467
|
-
<span class='
|
468
|
-
<span class='
|
469
|
-
<span class='
|
470
|
-
</pre>
|
455
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_build_pxe_default'>build_pxe_default</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>
|
456
|
+
<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>
|
457
|
+
<span class='kw'>end</span></pre>
|
471
458
|
</td>
|
472
459
|
</tr>
|
473
460
|
</table>
|
@@ -484,9 +471,8 @@ First item: parsed data; second item: raw body
|
|
484
471
|
|
485
472
|
</h3><div class="docstring">
|
486
473
|
<div class="discussion">
|
487
|
-
|
488
|
-
First item: parsed data; second item: raw body
|
489
|
-
</p>
|
474
|
+
|
475
|
+
<p>First item: parsed data; second item: raw body</p>
|
490
476
|
|
491
477
|
|
492
478
|
</div>
|
@@ -507,9 +493,8 @@ First item: parsed data; second item: raw body
|
|
507
493
|
|
508
494
|
|
509
495
|
—
|
510
|
-
<div class='inline'
|
511
|
-
a hash of params to be passed to the service
|
512
|
-
</p>
|
496
|
+
<div class='inline'>
|
497
|
+
<p>a hash of params to be passed to the service</p>
|
513
498
|
</div>
|
514
499
|
|
515
500
|
</li>
|
@@ -526,9 +511,8 @@ a hash of params to be passed to the service
|
|
526
511
|
|
527
512
|
|
528
513
|
—
|
529
|
-
<div class='inline'
|
530
|
-
additional http headers
|
531
|
-
</p>
|
514
|
+
<div class='inline'>
|
515
|
+
<p>additional http headers</p>
|
532
516
|
</div>
|
533
517
|
|
534
518
|
</li>
|
@@ -548,34 +532,25 @@ additional http headers
|
|
548
532
|
|
549
533
|
</span>
|
550
534
|
|
551
|
-
— <div class='inline'
|
552
|
-
allowed keys are
|
553
|
-
|
554
|
-
<
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
</li>
|
559
|
-
<
|
560
|
-
|
561
|
-
</
|
562
|
-
|
563
|
-
|
564
|
-
</li>
|
565
|
-
<
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
</li>
|
571
|
-
<li>template [String]
|
572
|
-
|
573
|
-
</li>
|
574
|
-
<li>template_combinations_attributes [String] Array of template combinations
|
575
|
-
(hostgroup_id, environment_id)
|
576
|
-
|
577
|
-
</li>
|
578
|
-
</ul>
|
535
|
+
— <div class='inline'>
|
536
|
+
<p>allowed keys are:</p>
|
537
|
+
<ul><li>
|
538
|
+
<p>operatingsystem_ids [String] Array of operating systems id to associate the
|
539
|
+
template with</p>
|
540
|
+
</li><li>
|
541
|
+
<p>template_kind_id [String, nil] Not relevant for snippet</p>
|
542
|
+
</li><li>
|
543
|
+
<p>audit_comment [String, nil]</p>
|
544
|
+
</li><li>
|
545
|
+
<p>name [String] Template name</p>
|
546
|
+
</li><li>
|
547
|
+
<p>snippet [String, nil]</p>
|
548
|
+
</li><li>
|
549
|
+
<p>template [String]</p>
|
550
|
+
</li><li>
|
551
|
+
<p>template_combinations_attributes [String] Array of template combinations
|
552
|
+
(hostgroup_id, environment_id)</p>
|
553
|
+
</li></ul>
|
579
554
|
</div>
|
580
555
|
|
581
556
|
</li>
|
@@ -596,9 +571,8 @@ template with
|
|
596
571
|
|
597
572
|
|
598
573
|
—
|
599
|
-
<div class='inline'
|
600
|
-
First item: parsed data; second item: raw body
|
601
|
-
</p>
|
574
|
+
<div class='inline'>
|
575
|
+
<p>First item: parsed data; second item: raw body</p>
|
602
576
|
</div>
|
603
577
|
|
604
578
|
</li>
|
@@ -618,10 +592,9 @@ First item: parsed data; second item: raw body
|
|
618
592
|
<td>
|
619
593
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/config_template.rb', line 42</span>
|
620
594
|
|
621
|
-
<span class='
|
622
|
-
<span class='
|
623
|
-
<span class='
|
624
|
-
</pre>
|
595
|
+
<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>
|
596
|
+
<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>
|
597
|
+
<span class='kw'>end</span></pre>
|
625
598
|
</td>
|
626
599
|
</tr>
|
627
600
|
</table>
|
@@ -638,9 +611,8 @@ First item: parsed data; second item: raw body
|
|
638
611
|
|
639
612
|
</h3><div class="docstring">
|
640
613
|
<div class="discussion">
|
641
|
-
|
642
|
-
First item: parsed data; second item: raw body
|
643
|
-
</p>
|
614
|
+
|
615
|
+
<p>First item: parsed data; second item: raw body</p>
|
644
616
|
|
645
617
|
|
646
618
|
</div>
|
@@ -661,9 +633,8 @@ First item: parsed data; second item: raw body
|
|
661
633
|
|
662
634
|
|
663
635
|
—
|
664
|
-
<div class='inline'
|
665
|
-
a hash of params to be passed to the service
|
666
|
-
</p>
|
636
|
+
<div class='inline'>
|
637
|
+
<p>a hash of params to be passed to the service</p>
|
667
638
|
</div>
|
668
639
|
|
669
640
|
</li>
|
@@ -680,9 +651,8 @@ a hash of params to be passed to the service
|
|
680
651
|
|
681
652
|
|
682
653
|
—
|
683
|
-
<div class='inline'
|
684
|
-
additional http headers
|
685
|
-
</p>
|
654
|
+
<div class='inline'>
|
655
|
+
<p>additional http headers</p>
|
686
656
|
</div>
|
687
657
|
|
688
658
|
</li>
|
@@ -720,9 +690,8 @@ additional http headers
|
|
720
690
|
|
721
691
|
|
722
692
|
—
|
723
|
-
<div class='inline'
|
724
|
-
First item: parsed data; second item: raw body
|
725
|
-
</p>
|
693
|
+
<div class='inline'>
|
694
|
+
<p>First item: parsed data; second item: raw body</p>
|
726
695
|
</div>
|
727
696
|
|
728
697
|
</li>
|
@@ -742,10 +711,9 @@ First item: parsed data; second item: raw body
|
|
742
711
|
<td>
|
743
712
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/config_template.rb', line 78</span>
|
744
713
|
|
745
|
-
<span class='
|
746
|
-
<span class='
|
747
|
-
<span class='
|
748
|
-
</pre>
|
714
|
+
<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>
|
715
|
+
<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>
|
716
|
+
<span class='kw'>end</span></pre>
|
749
717
|
</td>
|
750
718
|
</tr>
|
751
719
|
</table>
|
@@ -762,9 +730,8 @@ First item: parsed data; second item: raw body
|
|
762
730
|
|
763
731
|
</h3><div class="docstring">
|
764
732
|
<div class="discussion">
|
765
|
-
|
766
|
-
First item: parsed data; second item: raw body
|
767
|
-
</p>
|
733
|
+
|
734
|
+
<p>First item: parsed data; second item: raw body</p>
|
768
735
|
|
769
736
|
|
770
737
|
</div>
|
@@ -785,9 +752,8 @@ First item: parsed data; second item: raw body
|
|
785
752
|
|
786
753
|
|
787
754
|
—
|
788
|
-
<div class='inline'
|
789
|
-
a hash of params to be passed to the service
|
790
|
-
</p>
|
755
|
+
<div class='inline'>
|
756
|
+
<p>a hash of params to be passed to the service</p>
|
791
757
|
</div>
|
792
758
|
|
793
759
|
</li>
|
@@ -804,9 +770,8 @@ a hash of params to be passed to the service
|
|
804
770
|
|
805
771
|
|
806
772
|
—
|
807
|
-
<div class='inline'
|
808
|
-
additional http headers
|
809
|
-
</p>
|
773
|
+
<div class='inline'>
|
774
|
+
<p>additional http headers</p>
|
810
775
|
</div>
|
811
776
|
|
812
777
|
</li>
|
@@ -826,9 +791,8 @@ additional http headers
|
|
826
791
|
|
827
792
|
</span>
|
828
793
|
|
829
|
-
— <div class='inline'
|
830
|
-
Sort results
|
831
|
-
</p>
|
794
|
+
— <div class='inline'>
|
795
|
+
<p>Sort results</p>
|
832
796
|
</div>
|
833
797
|
|
834
798
|
</li>
|
@@ -840,9 +804,8 @@ Sort results
|
|
840
804
|
|
841
805
|
</span>
|
842
806
|
|
843
|
-
— <div class='inline'
|
844
|
-
Paginate results
|
845
|
-
</p>
|
807
|
+
— <div class='inline'>
|
808
|
+
<p>Paginate results</p>
|
846
809
|
</div>
|
847
810
|
|
848
811
|
</li>
|
@@ -854,9 +817,8 @@ Paginate results
|
|
854
817
|
|
855
818
|
</span>
|
856
819
|
|
857
|
-
— <div class='inline'
|
858
|
-
Number of entries per request
|
859
|
-
</p>
|
820
|
+
— <div class='inline'>
|
821
|
+
<p>Number of entries per request</p>
|
860
822
|
</div>
|
861
823
|
|
862
824
|
</li>
|
@@ -868,9 +830,8 @@ Number of entries per request
|
|
868
830
|
|
869
831
|
</span>
|
870
832
|
|
871
|
-
— <div class='inline'
|
872
|
-
Filter results
|
873
|
-
</p>
|
833
|
+
— <div class='inline'>
|
834
|
+
<p>Filter results</p>
|
874
835
|
</div>
|
875
836
|
|
876
837
|
</li>
|
@@ -891,9 +852,8 @@ Filter results
|
|
891
852
|
|
892
853
|
|
893
854
|
—
|
894
|
-
<div class='inline'
|
895
|
-
First item: parsed data; second item: raw body
|
896
|
-
</p>
|
855
|
+
<div class='inline'>
|
856
|
+
<p>First item: parsed data; second item: raw body</p>
|
897
857
|
</div>
|
898
858
|
|
899
859
|
</li>
|
@@ -913,10 +873,9 @@ First item: parsed data; second item: raw body
|
|
913
873
|
<td>
|
914
874
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/config_template.rb', line 16</span>
|
915
875
|
|
916
|
-
<span class='
|
917
|
-
<span class='
|
918
|
-
<span class='
|
919
|
-
</pre>
|
876
|
+
<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>
|
877
|
+
<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>
|
878
|
+
<span class='kw'>end</span></pre>
|
920
879
|
</td>
|
921
880
|
</tr>
|
922
881
|
</table>
|
@@ -933,9 +892,8 @@ First item: parsed data; second item: raw body
|
|
933
892
|
|
934
893
|
</h3><div class="docstring">
|
935
894
|
<div class="discussion">
|
936
|
-
|
937
|
-
First item: parsed data; second item: raw body
|
938
|
-
</p>
|
895
|
+
|
896
|
+
<p>First item: parsed data; second item: raw body</p>
|
939
897
|
|
940
898
|
|
941
899
|
</div>
|
@@ -956,9 +914,8 @@ First item: parsed data; second item: raw body
|
|
956
914
|
|
957
915
|
|
958
916
|
—
|
959
|
-
<div class='inline'
|
960
|
-
a hash of params to be passed to the service
|
961
|
-
</p>
|
917
|
+
<div class='inline'>
|
918
|
+
<p>a hash of params to be passed to the service</p>
|
962
919
|
</div>
|
963
920
|
|
964
921
|
</li>
|
@@ -975,9 +932,8 @@ a hash of params to be passed to the service
|
|
975
932
|
|
976
933
|
|
977
934
|
—
|
978
|
-
<div class='inline'
|
979
|
-
additional http headers
|
980
|
-
</p>
|
935
|
+
<div class='inline'>
|
936
|
+
<p>additional http headers</p>
|
981
937
|
</div>
|
982
938
|
|
983
939
|
</li>
|
@@ -997,9 +953,8 @@ additional http headers
|
|
997
953
|
|
998
954
|
</span>
|
999
955
|
|
1000
|
-
— <div class='inline'
|
1001
|
-
Template version
|
1002
|
-
</p>
|
956
|
+
— <div class='inline'>
|
957
|
+
<p>Template version</p>
|
1003
958
|
</div>
|
1004
959
|
|
1005
960
|
</li>
|
@@ -1020,9 +975,8 @@ Template version
|
|
1020
975
|
|
1021
976
|
|
1022
977
|
—
|
1023
|
-
<div class='inline'
|
1024
|
-
First item: parsed data; second item: raw body
|
1025
|
-
</p>
|
978
|
+
<div class='inline'>
|
979
|
+
<p>First item: parsed data; second item: raw body</p>
|
1026
980
|
</div>
|
1027
981
|
|
1028
982
|
</li>
|
@@ -1042,10 +996,9 @@ First item: parsed data; second item: raw body
|
|
1042
996
|
<td>
|
1043
997
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/config_template.rb', line 69</span>
|
1044
998
|
|
1045
|
-
<span class='
|
1046
|
-
<span class='
|
1047
|
-
<span class='
|
1048
|
-
</pre>
|
999
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_revision'>revision</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>
|
1000
|
+
<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>
|
1001
|
+
<span class='kw'>end</span></pre>
|
1049
1002
|
</td>
|
1050
1003
|
</tr>
|
1051
1004
|
</table>
|
@@ -1062,9 +1015,8 @@ First item: parsed data; second item: raw body
|
|
1062
1015
|
|
1063
1016
|
</h3><div class="docstring">
|
1064
1017
|
<div class="discussion">
|
1065
|
-
|
1066
|
-
First item: parsed data; second item: raw body
|
1067
|
-
</p>
|
1018
|
+
|
1019
|
+
<p>First item: parsed data; second item: raw body</p>
|
1068
1020
|
|
1069
1021
|
|
1070
1022
|
</div>
|
@@ -1085,9 +1037,8 @@ First item: parsed data; second item: raw body
|
|
1085
1037
|
|
1086
1038
|
|
1087
1039
|
—
|
1088
|
-
<div class='inline'
|
1089
|
-
a hash of params to be passed to the service
|
1090
|
-
</p>
|
1040
|
+
<div class='inline'>
|
1041
|
+
<p>a hash of params to be passed to the service</p>
|
1091
1042
|
</div>
|
1092
1043
|
|
1093
1044
|
</li>
|
@@ -1104,9 +1055,8 @@ a hash of params to be passed to the service
|
|
1104
1055
|
|
1105
1056
|
|
1106
1057
|
—
|
1107
|
-
<div class='inline'
|
1108
|
-
additional http headers
|
1109
|
-
</p>
|
1058
|
+
<div class='inline'>
|
1059
|
+
<p>additional http headers</p>
|
1110
1060
|
</div>
|
1111
1061
|
|
1112
1062
|
</li>
|
@@ -1144,9 +1094,8 @@ additional http headers
|
|
1144
1094
|
|
1145
1095
|
|
1146
1096
|
—
|
1147
|
-
<div class='inline'
|
1148
|
-
First item: parsed data; second item: raw body
|
1149
|
-
</p>
|
1097
|
+
<div class='inline'>
|
1098
|
+
<p>First item: parsed data; second item: raw body</p>
|
1150
1099
|
</div>
|
1151
1100
|
|
1152
1101
|
</li>
|
@@ -1166,10 +1115,9 @@ First item: parsed data; second item: raw body
|
|
1166
1115
|
<td>
|
1167
1116
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/config_template.rb', line 25</span>
|
1168
1117
|
|
1169
|
-
<span class='
|
1170
|
-
<span class='
|
1171
|
-
<span class='
|
1172
|
-
</pre>
|
1118
|
+
<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>
|
1119
|
+
<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>
|
1120
|
+
<span class='kw'>end</span></pre>
|
1173
1121
|
</td>
|
1174
1122
|
</tr>
|
1175
1123
|
</table>
|
@@ -1186,9 +1134,8 @@ First item: parsed data; second item: raw body
|
|
1186
1134
|
|
1187
1135
|
</h3><div class="docstring">
|
1188
1136
|
<div class="discussion">
|
1189
|
-
|
1190
|
-
First item: parsed data; second item: raw body
|
1191
|
-
</p>
|
1137
|
+
|
1138
|
+
<p>First item: parsed data; second item: raw body</p>
|
1192
1139
|
|
1193
1140
|
|
1194
1141
|
</div>
|
@@ -1209,9 +1156,8 @@ First item: parsed data; second item: raw body
|
|
1209
1156
|
|
1210
1157
|
|
1211
1158
|
—
|
1212
|
-
<div class='inline'
|
1213
|
-
a hash of params to be passed to the service
|
1214
|
-
</p>
|
1159
|
+
<div class='inline'>
|
1160
|
+
<p>a hash of params to be passed to the service</p>
|
1215
1161
|
</div>
|
1216
1162
|
|
1217
1163
|
</li>
|
@@ -1228,9 +1174,8 @@ a hash of params to be passed to the service
|
|
1228
1174
|
|
1229
1175
|
|
1230
1176
|
—
|
1231
|
-
<div class='inline'
|
1232
|
-
additional http headers
|
1233
|
-
</p>
|
1177
|
+
<div class='inline'>
|
1178
|
+
<p>additional http headers</p>
|
1234
1179
|
</div>
|
1235
1180
|
|
1236
1181
|
</li>
|
@@ -1259,34 +1204,25 @@ additional http headers
|
|
1259
1204
|
|
1260
1205
|
</span>
|
1261
1206
|
|
1262
|
-
— <div class='inline'
|
1263
|
-
allowed keys are
|
1264
|
-
|
1265
|
-
<
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
</li>
|
1270
|
-
<
|
1271
|
-
|
1272
|
-
</
|
1273
|
-
|
1274
|
-
|
1275
|
-
</li>
|
1276
|
-
<
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
</li>
|
1282
|
-
<li>template [String]
|
1283
|
-
|
1284
|
-
</li>
|
1285
|
-
<li>template_combinations_attributes [String] Array of template combinations
|
1286
|
-
(hostgroup_id, environment_id)
|
1287
|
-
|
1288
|
-
</li>
|
1289
|
-
</ul>
|
1207
|
+
— <div class='inline'>
|
1208
|
+
<p>allowed keys are:</p>
|
1209
|
+
<ul><li>
|
1210
|
+
<p>operatingsystem_ids [String] Array of operating systems id to associate the
|
1211
|
+
template with</p>
|
1212
|
+
</li><li>
|
1213
|
+
<p>template_kind_id [String, nil] Not relevant for snippet</p>
|
1214
|
+
</li><li>
|
1215
|
+
<p>audit_comment [String, nil]</p>
|
1216
|
+
</li><li>
|
1217
|
+
<p>name [String] Template name</p>
|
1218
|
+
</li><li>
|
1219
|
+
<p>snippet [String]</p>
|
1220
|
+
</li><li>
|
1221
|
+
<p>template [String]</p>
|
1222
|
+
</li><li>
|
1223
|
+
<p>template_combinations_attributes [String] Array of template combinations
|
1224
|
+
(hostgroup_id, environment_id)</p>
|
1225
|
+
</li></ul>
|
1290
1226
|
</div>
|
1291
1227
|
|
1292
1228
|
</li>
|
@@ -1307,9 +1243,8 @@ template with
|
|
1307
1243
|
|
1308
1244
|
|
1309
1245
|
—
|
1310
|
-
<div class='inline'
|
1311
|
-
First item: parsed data; second item: raw body
|
1312
|
-
</p>
|
1246
|
+
<div class='inline'>
|
1247
|
+
<p>First item: parsed data; second item: raw body</p>
|
1313
1248
|
</div>
|
1314
1249
|
|
1315
1250
|
</li>
|
@@ -1329,10 +1264,9 @@ First item: parsed data; second item: raw body
|
|
1329
1264
|
<td>
|
1330
1265
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/config_template.rb', line 60</span>
|
1331
1266
|
|
1332
|
-
<span class='
|
1333
|
-
<span class='
|
1334
|
-
<span class='
|
1335
|
-
</pre>
|
1267
|
+
<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>
|
1268
|
+
<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>
|
1269
|
+
<span class='kw'>end</span></pre>
|
1336
1270
|
</td>
|
1337
1271
|
</tr>
|
1338
1272
|
</table>
|
@@ -1343,9 +1277,9 @@ First item: parsed data; second item: raw body
|
|
1343
1277
|
</div>
|
1344
1278
|
|
1345
1279
|
<div id="footer">
|
1346
|
-
Generated on
|
1280
|
+
Generated on Thu Jun 20 12:05:23 2013 by
|
1347
1281
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1348
|
-
0.8.
|
1282
|
+
0.8.3 (ruby-1.9.3).
|
1349
1283
|
</div>
|
1350
1284
|
|
1351
1285
|
</body>
|