foreman_api 0.1.4 → 0.1.5
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.
- checksums.yaml +7 -0
- data/Gemfile +1 -0
- data/doc/ForemanApi.html +5 -5
- data/doc/ForemanApi/Resources.html +5 -5
- data/doc/ForemanApi/Resources/Architecture.html +13 -13
- data/doc/ForemanApi/Resources/Audit.html +8 -8
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +11 -11
- data/doc/ForemanApi/Resources/Bookmark.html +11 -11
- data/doc/ForemanApi/Resources/CommonParameter.html +11 -11
- data/doc/ForemanApi/Resources/ComputeResource.html +11 -11
- data/doc/ForemanApi/Resources/ConfigTemplate.html +17 -17
- data/doc/ForemanApi/Resources/Dashboard.html +7 -7
- data/doc/ForemanApi/Resources/Domain.html +13 -13
- data/doc/ForemanApi/Resources/Environment.html +11 -11
- data/doc/ForemanApi/Resources/FactValue.html +7 -7
- data/doc/ForemanApi/Resources/Home.html +8 -8
- data/doc/ForemanApi/Resources/Host.html +15 -15
- data/doc/ForemanApi/Resources/HostClass.html +9 -9
- data/doc/ForemanApi/Resources/Hostgroup.html +26 -22
- data/doc/ForemanApi/Resources/HostgroupClass.html +9 -9
- data/doc/ForemanApi/Resources/Image.html +11 -11
- data/doc/ForemanApi/Resources/Location.html +98 -35
- data/doc/ForemanApi/Resources/LookupKey.html +817 -81
- data/doc/ForemanApi/Resources/Medium.html +17 -19
- data/doc/ForemanApi/Resources/Model.html +11 -11
- data/doc/ForemanApi/Resources/OperatingSystem.html +12 -12
- data/doc/ForemanApi/Resources/Organization.html +96 -33
- data/doc/ForemanApi/Resources/Parameter.html +28 -41
- data/doc/ForemanApi/Resources/Ptable.html +11 -11
- data/doc/ForemanApi/Resources/Puppetclass.html +11 -11
- data/doc/ForemanApi/Resources/Report.html +10 -10
- data/doc/ForemanApi/Resources/Role.html +11 -11
- data/doc/ForemanApi/Resources/Setting.html +9 -9
- data/doc/ForemanApi/Resources/SmartProxy.html +11 -11
- data/doc/ForemanApi/Resources/Subnet.html +13 -13
- data/doc/ForemanApi/Resources/TemplateCombination.html +10 -10
- data/doc/ForemanApi/Resources/TemplateKind.html +7 -7
- data/doc/ForemanApi/Resources/User.html +11 -11
- data/doc/ForemanApi/Resources/Usergroup.html +11 -11
- data/doc/_index.html +6 -6
- data/doc/class_list.html +2 -1
- data/doc/css/style.css +10 -0
- data/doc/file.MIT-LICENSE.html +8 -8
- data/doc/file.README.html +36 -36
- data/doc/file_list.html +3 -2
- data/doc/frames.html +1 -1
- data/doc/index.html +36 -36
- data/doc/js/full_list.js +7 -2
- data/doc/method_list.html +367 -722
- data/doc/top-level-namespace.html +5 -5
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/architecture.rb +2 -2
- data/lib/foreman_api/resources/config_template.rb +4 -4
- data/lib/foreman_api/resources/domain.rb +2 -2
- data/lib/foreman_api/resources/host.rb +2 -2
- data/lib/foreman_api/resources/hostgroup.rb +2 -0
- data/lib/foreman_api/resources/location.rb +8 -4
- data/lib/foreman_api/resources/lookup_key.rb +61 -3
- data/lib/foreman_api/resources/medium.rb +2 -2
- data/lib/foreman_api/resources/organization.rb +6 -2
- data/lib/foreman_api/resources/parameter.rb +4 -5
- data/lib/foreman_api/resources/subnet.rb +2 -2
- data/lib/foreman_api/version.rb +1 -1
- metadata +13 -21
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: ForemanApi::Resources::Home
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.7
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/home.rb', line 4</span>
|
|
229
229
|
|
|
230
230
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
|
231
|
-
<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'
|
|
231
|
+
<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'>home</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
|
232
232
|
<span class='kw'>end</span></pre>
|
|
233
233
|
</td>
|
|
234
234
|
</tr>
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
</h3><div class="docstring">
|
|
254
254
|
<div class="discussion">
|
|
255
255
|
|
|
256
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
256
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
</div>
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
</h3><div class="docstring">
|
|
353
353
|
<div class="discussion">
|
|
354
354
|
|
|
355
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
355
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
356
356
|
|
|
357
357
|
|
|
358
358
|
</div>
|
|
@@ -444,9 +444,9 @@
|
|
|
444
444
|
</div>
|
|
445
445
|
|
|
446
446
|
<div id="footer">
|
|
447
|
-
Generated on
|
|
447
|
+
Generated on Tue Jul 30 15:43:15 2013 by
|
|
448
448
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
449
|
-
0.8.
|
|
449
|
+
0.8.7 (ruby-2.0.0).
|
|
450
450
|
</div>
|
|
451
451
|
|
|
452
452
|
</body>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: ForemanApi::Resources::Host
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.7
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/host.rb', line 4</span>
|
|
349
349
|
|
|
350
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'
|
|
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'>hosts</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
|
352
352
|
<span class='kw'>end</span></pre>
|
|
353
353
|
</td>
|
|
354
354
|
</tr>
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
</h3><div class="docstring">
|
|
374
374
|
<div class="discussion">
|
|
375
375
|
|
|
376
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
376
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
377
377
|
|
|
378
378
|
|
|
379
379
|
</div>
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
</li><li>
|
|
465
465
|
<p>subnet_id [String]</p>
|
|
466
466
|
</li><li>
|
|
467
|
-
<p>host_parameters_attributes [
|
|
467
|
+
<p>host_parameters_attributes [Array]</p>
|
|
468
468
|
</li><li>
|
|
469
469
|
<p>ip [String] Not required if using a subnet with dhcp proxy</p>
|
|
470
470
|
</li><li>
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
</h3><div class="docstring">
|
|
534
534
|
<div class="discussion">
|
|
535
535
|
|
|
536
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
536
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
537
537
|
|
|
538
538
|
|
|
539
539
|
</div>
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
</h3><div class="docstring">
|
|
653
653
|
<div class="discussion">
|
|
654
654
|
|
|
655
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
655
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
656
656
|
|
|
657
657
|
|
|
658
658
|
</div>
|
|
@@ -814,7 +814,7 @@
|
|
|
814
814
|
</h3><div class="docstring">
|
|
815
815
|
<div class="discussion">
|
|
816
816
|
|
|
817
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
817
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
818
818
|
|
|
819
819
|
|
|
820
820
|
</div>
|
|
@@ -937,7 +937,7 @@
|
|
|
937
937
|
</h3><div class="docstring">
|
|
938
938
|
<div class="discussion">
|
|
939
939
|
|
|
940
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
940
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
941
941
|
|
|
942
942
|
|
|
943
943
|
</div>
|
|
@@ -1056,7 +1056,7 @@
|
|
|
1056
1056
|
</h3><div class="docstring">
|
|
1057
1057
|
<div class="discussion">
|
|
1058
1058
|
|
|
1059
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
1059
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
1060
1060
|
|
|
1061
1061
|
|
|
1062
1062
|
</div>
|
|
@@ -1175,7 +1175,7 @@
|
|
|
1175
1175
|
</h3><div class="docstring">
|
|
1176
1176
|
<div class="discussion">
|
|
1177
1177
|
|
|
1178
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
1178
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
1179
1179
|
|
|
1180
1180
|
|
|
1181
1181
|
</div>
|
|
@@ -1275,7 +1275,7 @@
|
|
|
1275
1275
|
</li><li>
|
|
1276
1276
|
<p>subnet_id [String]</p>
|
|
1277
1277
|
</li><li>
|
|
1278
|
-
<p>host_parameters_attributes [
|
|
1278
|
+
<p>host_parameters_attributes [Array]</p>
|
|
1279
1279
|
</li><li>
|
|
1280
1280
|
<p>ip [String] Not required if using a subnet with dhcp proxy</p>
|
|
1281
1281
|
</li><li>
|
|
@@ -1337,9 +1337,9 @@
|
|
|
1337
1337
|
</div>
|
|
1338
1338
|
|
|
1339
1339
|
<div id="footer">
|
|
1340
|
-
Generated on
|
|
1340
|
+
Generated on Tue Jul 30 15:43:15 2013 by
|
|
1341
1341
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1342
|
-
0.8.
|
|
1342
|
+
0.8.7 (ruby-2.0.0).
|
|
1343
1343
|
</div>
|
|
1344
1344
|
|
|
1345
1345
|
</body>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: ForemanApi::Resources::HostClass
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.7
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/host_class.rb', line 4</span>
|
|
253
253
|
|
|
254
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'
|
|
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
256
|
<span class='kw'>end</span></pre>
|
|
257
257
|
</td>
|
|
258
258
|
</tr>
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
</h3><div class="docstring">
|
|
278
278
|
<div class="discussion">
|
|
279
279
|
|
|
280
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
280
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
</div>
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
</h3><div class="docstring">
|
|
414
414
|
<div class="discussion">
|
|
415
415
|
|
|
416
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
416
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
417
417
|
|
|
418
418
|
|
|
419
419
|
</div>
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
</h3><div class="docstring">
|
|
550
550
|
<div class="discussion">
|
|
551
551
|
|
|
552
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
552
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
553
553
|
|
|
554
554
|
|
|
555
555
|
</div>
|
|
@@ -665,9 +665,9 @@
|
|
|
665
665
|
</div>
|
|
666
666
|
|
|
667
667
|
<div id="footer">
|
|
668
|
-
Generated on
|
|
668
|
+
Generated on Tue Jul 30 15:43:17 2013 by
|
|
669
669
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
670
|
-
0.8.
|
|
670
|
+
0.8.7 (ruby-2.0.0).
|
|
671
671
|
</div>
|
|
672
672
|
|
|
673
673
|
</body>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: ForemanApi::Resources::Hostgroup
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.7
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 4</span>
|
|
301
301
|
|
|
302
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'
|
|
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
304
|
<span class='kw'>end</span></pre>
|
|
305
305
|
</td>
|
|
306
306
|
</tr>
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
</h3><div class="docstring">
|
|
326
326
|
<div class="discussion">
|
|
327
327
|
|
|
328
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
328
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
329
329
|
|
|
330
330
|
|
|
331
331
|
</div>
|
|
@@ -398,6 +398,8 @@
|
|
|
398
398
|
</li><li>
|
|
399
399
|
<p>operatingsystem_id [String]</p>
|
|
400
400
|
</li><li>
|
|
401
|
+
<p>parent_id [String]</p>
|
|
402
|
+
</li><li>
|
|
401
403
|
<p>ptable_id [String]</p>
|
|
402
404
|
</li><li>
|
|
403
405
|
<p>puppet_ca_proxy_id [String]</p>
|
|
@@ -442,12 +444,12 @@
|
|
|
442
444
|
<pre class="lines">
|
|
443
445
|
|
|
444
446
|
|
|
445
|
-
45
|
|
446
447
|
46
|
|
447
|
-
47
|
|
448
|
+
47
|
|
449
|
+
48</pre>
|
|
448
450
|
</td>
|
|
449
451
|
<td>
|
|
450
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line
|
|
452
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 46</span>
|
|
451
453
|
|
|
452
454
|
<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
455
|
<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>
|
|
@@ -469,7 +471,7 @@
|
|
|
469
471
|
</h3><div class="docstring">
|
|
470
472
|
<div class="discussion">
|
|
471
473
|
|
|
472
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
474
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
473
475
|
|
|
474
476
|
|
|
475
477
|
</div>
|
|
@@ -561,12 +563,12 @@
|
|
|
561
563
|
<pre class="lines">
|
|
562
564
|
|
|
563
565
|
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
566
|
+
77
|
|
567
|
+
78
|
|
568
|
+
79</pre>
|
|
567
569
|
</td>
|
|
568
570
|
<td>
|
|
569
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line
|
|
571
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 77</span>
|
|
570
572
|
|
|
571
573
|
<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
574
|
<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>
|
|
@@ -588,7 +590,7 @@
|
|
|
588
590
|
</h3><div class="docstring">
|
|
589
591
|
<div class="discussion">
|
|
590
592
|
|
|
591
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
593
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
592
594
|
|
|
593
595
|
|
|
594
596
|
</div>
|
|
@@ -750,7 +752,7 @@
|
|
|
750
752
|
</h3><div class="docstring">
|
|
751
753
|
<div class="discussion">
|
|
752
754
|
|
|
753
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
755
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
754
756
|
|
|
755
757
|
|
|
756
758
|
</div>
|
|
@@ -869,7 +871,7 @@
|
|
|
869
871
|
</h3><div class="docstring">
|
|
870
872
|
<div class="discussion">
|
|
871
873
|
|
|
872
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
874
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
873
875
|
|
|
874
876
|
|
|
875
877
|
</div>
|
|
@@ -951,6 +953,8 @@
|
|
|
951
953
|
</li><li>
|
|
952
954
|
<p>operatingsystem_id [String]</p>
|
|
953
955
|
</li><li>
|
|
956
|
+
<p>parent_id [String]</p>
|
|
957
|
+
</li><li>
|
|
954
958
|
<p>ptable_id [String]</p>
|
|
955
959
|
</li><li>
|
|
956
960
|
<p>puppet_ca_proxy_id [String]</p>
|
|
@@ -995,12 +999,12 @@
|
|
|
995
999
|
<pre class="lines">
|
|
996
1000
|
|
|
997
1001
|
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1002
|
+
68
|
|
1003
|
+
69
|
|
1004
|
+
70</pre>
|
|
1001
1005
|
</td>
|
|
1002
1006
|
<td>
|
|
1003
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line
|
|
1007
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup.rb', line 68</span>
|
|
1004
1008
|
|
|
1005
1009
|
<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
1010
|
<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>
|
|
@@ -1015,9 +1019,9 @@
|
|
|
1015
1019
|
</div>
|
|
1016
1020
|
|
|
1017
1021
|
<div id="footer">
|
|
1018
|
-
Generated on
|
|
1022
|
+
Generated on Tue Jul 30 15:43:16 2013 by
|
|
1019
1023
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1020
|
-
0.8.
|
|
1024
|
+
0.8.7 (ruby-2.0.0).
|
|
1021
1025
|
</div>
|
|
1022
1026
|
|
|
1023
1027
|
</body>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: ForemanApi::Resources::HostgroupClass
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.7
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/hostgroup_class.rb', line 4</span>
|
|
253
253
|
|
|
254
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'
|
|
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'>hostgroup_classes</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
|
256
256
|
<span class='kw'>end</span></pre>
|
|
257
257
|
</td>
|
|
258
258
|
</tr>
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
</h3><div class="docstring">
|
|
278
278
|
<div class="discussion">
|
|
279
279
|
|
|
280
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
280
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
</div>
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
</h3><div class="docstring">
|
|
414
414
|
<div class="discussion">
|
|
415
415
|
|
|
416
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
416
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
417
417
|
|
|
418
418
|
|
|
419
419
|
</div>
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
</h3><div class="docstring">
|
|
563
563
|
<div class="discussion">
|
|
564
564
|
|
|
565
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
565
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
566
566
|
|
|
567
567
|
|
|
568
568
|
</div>
|
|
@@ -678,9 +678,9 @@
|
|
|
678
678
|
</div>
|
|
679
679
|
|
|
680
680
|
<div id="footer">
|
|
681
|
-
Generated on
|
|
681
|
+
Generated on Tue Jul 30 15:43:17 2013 by
|
|
682
682
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
683
|
-
0.8.
|
|
683
|
+
0.8.7 (ruby-2.0.0).
|
|
684
684
|
</div>
|
|
685
685
|
|
|
686
686
|
</body>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: ForemanApi::Resources::Image
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.7
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/image.rb', line 4</span>
|
|
301
301
|
|
|
302
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'
|
|
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'>images</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
|
304
304
|
<span class='kw'>end</span></pre>
|
|
305
305
|
</td>
|
|
306
306
|
</tr>
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
</h3><div class="docstring">
|
|
326
326
|
<div class="discussion">
|
|
327
327
|
|
|
328
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
328
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
329
329
|
|
|
330
330
|
|
|
331
331
|
</div>
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
</h3><div class="docstring">
|
|
471
471
|
<div class="discussion">
|
|
472
472
|
|
|
473
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
473
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
474
474
|
|
|
475
475
|
|
|
476
476
|
</div>
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
</h3><div class="docstring">
|
|
599
599
|
<div class="discussion">
|
|
600
600
|
|
|
601
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
601
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
602
602
|
|
|
603
603
|
|
|
604
604
|
</div>
|
|
@@ -769,7 +769,7 @@
|
|
|
769
769
|
</h3><div class="docstring">
|
|
770
770
|
<div class="discussion">
|
|
771
771
|
|
|
772
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
772
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
773
773
|
|
|
774
774
|
|
|
775
775
|
</div>
|
|
@@ -897,7 +897,7 @@
|
|
|
897
897
|
</h3><div class="docstring">
|
|
898
898
|
<div class="discussion">
|
|
899
899
|
|
|
900
|
-
<p>First item: parsed data; second item: raw body</p>
|
|
900
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
|
901
901
|
|
|
902
902
|
|
|
903
903
|
</div>
|
|
@@ -1044,9 +1044,9 @@
|
|
|
1044
1044
|
</div>
|
|
1045
1045
|
|
|
1046
1046
|
<div id="footer">
|
|
1047
|
-
Generated on
|
|
1047
|
+
Generated on Tue Jul 30 15:43:15 2013 by
|
|
1048
1048
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1049
|
-
0.8.
|
|
1049
|
+
0.8.7 (ruby-2.0.0).
|
|
1050
1050
|
</div>
|
|
1051
1051
|
|
|
1052
1052
|
</body>
|