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::Medium
|
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/medium.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'>media</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,26 +385,23 @@ additional http headers
|
|
394
385
|
|
395
386
|
</span>
|
396
387
|
|
397
|
-
— <div class='inline'
|
398
|
-
allowed keys are
|
399
|
-
|
400
|
-
<
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
$
|
413
|
-
|
414
|
-
|
415
|
-
</li>
|
416
|
-
</ul>
|
388
|
+
— <div class='inline'>
|
389
|
+
<p>allowed keys are:</p>
|
390
|
+
<ul><li>
|
391
|
+
<p>name [String] Name of media</p>
|
392
|
+
</li><li>
|
393
|
+
<p>os_family [String] The family that the operating system belongs to.
|
394
|
+
available families: archlinux debian gentoo redhat solaris suse
|
395
|
+
windows</p>
|
396
|
+
</li><li>
|
397
|
+
<p>path [String] The path to the medium, can be a url or a valid nfs server
|
398
|
+
(exclusive of the architecture). for example <a
|
399
|
+
href="http://mirror.averse.net/centos/$version/os/$arch">mirror.averse.net/centos/$version/os/$arch</a>
|
400
|
+
where $arch will be substituted for the host&#8217;s actual os
|
401
|
+
architecture and $version, $major and $minor will be substituted for the
|
402
|
+
version of the operating system. solaris and debian media may also use
|
403
|
+
$release.</p>
|
404
|
+
</li></ul>
|
417
405
|
</div>
|
418
406
|
|
419
407
|
</li>
|
@@ -434,9 +422,8 @@ system. solaris and debian media may also use $release.
|
|
434
422
|
|
435
423
|
|
436
424
|
—
|
437
|
-
<div class='inline'
|
438
|
-
First item: parsed data; second item: raw body
|
439
|
-
</p>
|
425
|
+
<div class='inline'>
|
426
|
+
<p>First item: parsed data; second item: raw body</p>
|
440
427
|
</div>
|
441
428
|
|
442
429
|
</li>
|
@@ -456,10 +443,9 @@ First item: parsed data; second item: raw body
|
|
456
443
|
<td>
|
457
444
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/medium.rb', line 38</span>
|
458
445
|
|
459
|
-
<span class='
|
460
|
-
<span class='
|
461
|
-
<span class='
|
462
|
-
</pre>
|
446
|
+
<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>
|
447
|
+
<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>
|
448
|
+
<span class='kw'>end</span></pre>
|
463
449
|
</td>
|
464
450
|
</tr>
|
465
451
|
</table>
|
@@ -476,9 +462,8 @@ First item: parsed data; second item: raw body
|
|
476
462
|
|
477
463
|
</h3><div class="docstring">
|
478
464
|
<div class="discussion">
|
479
|
-
|
480
|
-
First item: parsed data; second item: raw body
|
481
|
-
</p>
|
465
|
+
|
466
|
+
<p>First item: parsed data; second item: raw body</p>
|
482
467
|
|
483
468
|
|
484
469
|
</div>
|
@@ -499,9 +484,8 @@ First item: parsed data; second item: raw body
|
|
499
484
|
|
500
485
|
|
501
486
|
—
|
502
|
-
<div class='inline'
|
503
|
-
a hash of params to be passed to the service
|
504
|
-
</p>
|
487
|
+
<div class='inline'>
|
488
|
+
<p>a hash of params to be passed to the service</p>
|
505
489
|
</div>
|
506
490
|
|
507
491
|
</li>
|
@@ -518,9 +502,8 @@ a hash of params to be passed to the service
|
|
518
502
|
|
519
503
|
|
520
504
|
—
|
521
|
-
<div class='inline'
|
522
|
-
additional http headers
|
523
|
-
</p>
|
505
|
+
<div class='inline'>
|
506
|
+
<p>additional http headers</p>
|
524
507
|
</div>
|
525
508
|
|
526
509
|
</li>
|
@@ -558,9 +541,8 @@ additional http headers
|
|
558
541
|
|
559
542
|
|
560
543
|
—
|
561
|
-
<div class='inline'
|
562
|
-
First item: parsed data; second item: raw body
|
563
|
-
</p>
|
544
|
+
<div class='inline'>
|
545
|
+
<p>First item: parsed data; second item: raw body</p>
|
564
546
|
</div>
|
565
547
|
|
566
548
|
</li>
|
@@ -580,10 +562,9 @@ First item: parsed data; second item: raw body
|
|
580
562
|
<td>
|
581
563
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/medium.rb', line 61</span>
|
582
564
|
|
583
|
-
<span class='
|
584
|
-
<span class='
|
585
|
-
<span class='
|
586
|
-
</pre>
|
565
|
+
<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>
|
566
|
+
<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>
|
567
|
+
<span class='kw'>end</span></pre>
|
587
568
|
</td>
|
588
569
|
</tr>
|
589
570
|
</table>
|
@@ -600,9 +581,8 @@ First item: parsed data; second item: raw body
|
|
600
581
|
|
601
582
|
</h3><div class="docstring">
|
602
583
|
<div class="discussion">
|
603
|
-
|
604
|
-
First item: parsed data; second item: raw body
|
605
|
-
</p>
|
584
|
+
|
585
|
+
<p>First item: parsed data; second item: raw body</p>
|
606
586
|
|
607
587
|
|
608
588
|
</div>
|
@@ -623,9 +603,8 @@ First item: parsed data; second item: raw body
|
|
623
603
|
|
624
604
|
|
625
605
|
—
|
626
|
-
<div class='inline'
|
627
|
-
a hash of params to be passed to the service
|
628
|
-
</p>
|
606
|
+
<div class='inline'>
|
607
|
+
<p>a hash of params to be passed to the service</p>
|
629
608
|
</div>
|
630
609
|
|
631
610
|
</li>
|
@@ -642,9 +621,8 @@ a hash of params to be passed to the service
|
|
642
621
|
|
643
622
|
|
644
623
|
—
|
645
|
-
<div class='inline'
|
646
|
-
additional http headers
|
647
|
-
</p>
|
624
|
+
<div class='inline'>
|
625
|
+
<p>additional http headers</p>
|
648
626
|
</div>
|
649
627
|
|
650
628
|
</li>
|
@@ -664,9 +642,8 @@ additional http headers
|
|
664
642
|
|
665
643
|
</span>
|
666
644
|
|
667
|
-
— <div class='inline'
|
668
|
-
For example, name asc, or name desc
|
669
|
-
</p>
|
645
|
+
— <div class='inline'>
|
646
|
+
<p>For example, name asc, or name desc</p>
|
670
647
|
</div>
|
671
648
|
|
672
649
|
</li>
|
@@ -678,9 +655,8 @@ For example, name asc, or name desc
|
|
678
655
|
|
679
656
|
</span>
|
680
657
|
|
681
|
-
— <div class='inline'
|
682
|
-
Paginate results
|
683
|
-
</p>
|
658
|
+
— <div class='inline'>
|
659
|
+
<p>Paginate results</p>
|
684
660
|
</div>
|
685
661
|
|
686
662
|
</li>
|
@@ -692,9 +668,8 @@ Paginate results
|
|
692
668
|
|
693
669
|
</span>
|
694
670
|
|
695
|
-
— <div class='inline'
|
696
|
-
Number of entries per request
|
697
|
-
</p>
|
671
|
+
— <div class='inline'>
|
672
|
+
<p>Number of entries per request</p>
|
698
673
|
</div>
|
699
674
|
|
700
675
|
</li>
|
@@ -706,9 +681,8 @@ Number of entries per request
|
|
706
681
|
|
707
682
|
</span>
|
708
683
|
|
709
|
-
— <div class='inline'
|
710
|
-
Filter results
|
711
|
-
</p>
|
684
|
+
— <div class='inline'>
|
685
|
+
<p>Filter results</p>
|
712
686
|
</div>
|
713
687
|
|
714
688
|
</li>
|
@@ -729,9 +703,8 @@ Filter results
|
|
729
703
|
|
730
704
|
|
731
705
|
—
|
732
|
-
<div class='inline'
|
733
|
-
First item: parsed data; second item: raw body
|
734
|
-
</p>
|
706
|
+
<div class='inline'>
|
707
|
+
<p>First item: parsed data; second item: raw body</p>
|
735
708
|
</div>
|
736
709
|
|
737
710
|
</li>
|
@@ -751,10 +724,9 @@ First item: parsed data; second item: raw body
|
|
751
724
|
<td>
|
752
725
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/medium.rb', line 16</span>
|
753
726
|
|
754
|
-
<span class='
|
755
|
-
<span class='
|
756
|
-
<span class='
|
757
|
-
</pre>
|
727
|
+
<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>
|
728
|
+
<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>
|
729
|
+
<span class='kw'>end</span></pre>
|
758
730
|
</td>
|
759
731
|
</tr>
|
760
732
|
</table>
|
@@ -771,9 +743,8 @@ First item: parsed data; second item: raw body
|
|
771
743
|
|
772
744
|
</h3><div class="docstring">
|
773
745
|
<div class="discussion">
|
774
|
-
|
775
|
-
First item: parsed data; second item: raw body
|
776
|
-
</p>
|
746
|
+
|
747
|
+
<p>First item: parsed data; second item: raw body</p>
|
777
748
|
|
778
749
|
|
779
750
|
</div>
|
@@ -794,9 +765,8 @@ First item: parsed data; second item: raw body
|
|
794
765
|
|
795
766
|
|
796
767
|
—
|
797
|
-
<div class='inline'
|
798
|
-
a hash of params to be passed to the service
|
799
|
-
</p>
|
768
|
+
<div class='inline'>
|
769
|
+
<p>a hash of params to be passed to the service</p>
|
800
770
|
</div>
|
801
771
|
|
802
772
|
</li>
|
@@ -813,9 +783,8 @@ a hash of params to be passed to the service
|
|
813
783
|
|
814
784
|
|
815
785
|
—
|
816
|
-
<div class='inline'
|
817
|
-
additional http headers
|
818
|
-
</p>
|
786
|
+
<div class='inline'>
|
787
|
+
<p>additional http headers</p>
|
819
788
|
</div>
|
820
789
|
|
821
790
|
</li>
|
@@ -853,9 +822,8 @@ additional http headers
|
|
853
822
|
|
854
823
|
|
855
824
|
—
|
856
|
-
<div class='inline'
|
857
|
-
First item: parsed data; second item: raw body
|
858
|
-
</p>
|
825
|
+
<div class='inline'>
|
826
|
+
<p>First item: parsed data; second item: raw body</p>
|
859
827
|
</div>
|
860
828
|
|
861
829
|
</li>
|
@@ -875,10 +843,9 @@ First item: parsed data; second item: raw body
|
|
875
843
|
<td>
|
876
844
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/medium.rb', line 25</span>
|
877
845
|
|
878
|
-
<span class='
|
879
|
-
<span class='
|
880
|
-
<span class='
|
881
|
-
</pre>
|
846
|
+
<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>
|
847
|
+
<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>
|
848
|
+
<span class='kw'>end</span></pre>
|
882
849
|
</td>
|
883
850
|
</tr>
|
884
851
|
</table>
|
@@ -895,9 +862,8 @@ First item: parsed data; second item: raw body
|
|
895
862
|
|
896
863
|
</h3><div class="docstring">
|
897
864
|
<div class="discussion">
|
898
|
-
|
899
|
-
First item: parsed data; second item: raw body
|
900
|
-
</p>
|
865
|
+
|
866
|
+
<p>First item: parsed data; second item: raw body</p>
|
901
867
|
|
902
868
|
|
903
869
|
</div>
|
@@ -918,9 +884,8 @@ First item: parsed data; second item: raw body
|
|
918
884
|
|
919
885
|
|
920
886
|
—
|
921
|
-
<div class='inline'
|
922
|
-
a hash of params to be passed to the service
|
923
|
-
</p>
|
887
|
+
<div class='inline'>
|
888
|
+
<p>a hash of params to be passed to the service</p>
|
924
889
|
</div>
|
925
890
|
|
926
891
|
</li>
|
@@ -937,9 +902,8 @@ a hash of params to be passed to the service
|
|
937
902
|
|
938
903
|
|
939
904
|
—
|
940
|
-
<div class='inline'
|
941
|
-
additional http headers
|
942
|
-
</p>
|
905
|
+
<div class='inline'>
|
906
|
+
<p>additional http headers</p>
|
943
907
|
</div>
|
944
908
|
|
945
909
|
</li>
|
@@ -968,26 +932,23 @@ additional http headers
|
|
968
932
|
|
969
933
|
</span>
|
970
934
|
|
971
|
-
— <div class='inline'
|
972
|
-
allowed keys are
|
973
|
-
|
974
|
-
<
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
$
|
987
|
-
|
988
|
-
|
989
|
-
</li>
|
990
|
-
</ul>
|
935
|
+
— <div class='inline'>
|
936
|
+
<p>allowed keys are:</p>
|
937
|
+
<ul><li>
|
938
|
+
<p>name [String] Name of media</p>
|
939
|
+
</li><li>
|
940
|
+
<p>os_family [String, nil] The family that the operating system belongs to.
|
941
|
+
available families: archlinux debian gentoo redhat solaris suse
|
942
|
+
windows</p>
|
943
|
+
</li><li>
|
944
|
+
<p>path [String] The path to the medium, can be a url or a valid nfs server
|
945
|
+
(exclusive of the architecture). for example <a
|
946
|
+
href="http://mirror.averse.net/centos/$version/os/$arch">mirror.averse.net/centos/$version/os/$arch</a>
|
947
|
+
where $arch will be substituted for the host&#8217;s actual os
|
948
|
+
architecture and $version, $major and $minor will be substituted for the
|
949
|
+
version of the operating system. solaris and debian media may also use
|
950
|
+
$release.</p>
|
951
|
+
</li></ul>
|
991
952
|
</div>
|
992
953
|
|
993
954
|
</li>
|
@@ -1008,9 +969,8 @@ system. solaris and debian media may also use $release.
|
|
1008
969
|
|
1009
970
|
|
1010
971
|
—
|
1011
|
-
<div class='inline'
|
1012
|
-
First item: parsed data; second item: raw body
|
1013
|
-
</p>
|
972
|
+
<div class='inline'>
|
973
|
+
<p>First item: parsed data; second item: raw body</p>
|
1014
974
|
</div>
|
1015
975
|
|
1016
976
|
</li>
|
@@ -1030,10 +990,9 @@ First item: parsed data; second item: raw body
|
|
1030
990
|
<td>
|
1031
991
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/medium.rb', line 52</span>
|
1032
992
|
|
1033
|
-
<span class='
|
1034
|
-
<span class='
|
1035
|
-
<span class='
|
1036
|
-
</pre>
|
993
|
+
<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>
|
994
|
+
<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>
|
995
|
+
<span class='kw'>end</span></pre>
|
1037
996
|
</td>
|
1038
997
|
</tr>
|
1039
998
|
</table>
|
@@ -1044,9 +1003,9 @@ First item: parsed data; second item: raw body
|
|
1044
1003
|
</div>
|
1045
1004
|
|
1046
1005
|
<div id="footer">
|
1047
|
-
Generated on
|
1006
|
+
Generated on Thu Jun 20 12:05:21 2013 by
|
1048
1007
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1049
|
-
0.8.
|
1008
|
+
0.8.3 (ruby-1.9.3).
|
1050
1009
|
</div>
|
1051
1010
|
|
1052
1011
|
</body>
|