foreman_api 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- 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::Medium
|
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/medium.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'>media</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>
|
@@ -397,10 +397,9 @@ windows</p>
|
|
397
397
|
<p>path [String] The path to the medium, can be a url or a valid nfs server
|
398
398
|
(exclusive of the architecture). for example <a
|
399
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
|
401
|
-
|
402
|
-
|
403
|
-
$release.</p>
|
400
|
+
where $arch will be substituted for the host’s actual os architecture and
|
401
|
+
$version, $major and $minor will be substituted for the version of the
|
402
|
+
operating system. solaris and debian media may also use $release.</p>
|
404
403
|
</li></ul>
|
405
404
|
</div>
|
406
405
|
|
@@ -463,7 +462,7 @@ $release.</p>
|
|
463
462
|
</h3><div class="docstring">
|
464
463
|
<div class="discussion">
|
465
464
|
|
466
|
-
<p>First item: parsed data; second item: raw body</p>
|
465
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
467
466
|
|
468
467
|
|
469
468
|
</div>
|
@@ -582,7 +581,7 @@ $release.</p>
|
|
582
581
|
</h3><div class="docstring">
|
583
582
|
<div class="discussion">
|
584
583
|
|
585
|
-
<p>First item: parsed data; second item: raw body</p>
|
584
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
586
585
|
|
587
586
|
|
588
587
|
</div>
|
@@ -744,7 +743,7 @@ $release.</p>
|
|
744
743
|
</h3><div class="docstring">
|
745
744
|
<div class="discussion">
|
746
745
|
|
747
|
-
<p>First item: parsed data; second item: raw body</p>
|
746
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
748
747
|
|
749
748
|
|
750
749
|
</div>
|
@@ -863,7 +862,7 @@ $release.</p>
|
|
863
862
|
</h3><div class="docstring">
|
864
863
|
<div class="discussion">
|
865
864
|
|
866
|
-
<p>First item: parsed data; second item: raw body</p>
|
865
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
867
866
|
|
868
867
|
|
869
868
|
</div>
|
@@ -944,10 +943,9 @@ windows</p>
|
|
944
943
|
<p>path [String] The path to the medium, can be a url or a valid nfs server
|
945
944
|
(exclusive of the architecture). for example <a
|
946
945
|
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
|
948
|
-
|
949
|
-
|
950
|
-
$release.</p>
|
946
|
+
where $arch will be substituted for the host’s actual os architecture and
|
947
|
+
$version, $major and $minor will be substituted for the version of the
|
948
|
+
operating system. solaris and debian media may also use $release.</p>
|
951
949
|
</li></ul>
|
952
950
|
</div>
|
953
951
|
|
@@ -1003,9 +1001,9 @@ $release.</p>
|
|
1003
1001
|
</div>
|
1004
1002
|
|
1005
1003
|
<div id="footer">
|
1006
|
-
Generated on
|
1004
|
+
Generated on Tue Jul 30 15:43:15 2013 by
|
1007
1005
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1008
|
-
0.8.
|
1006
|
+
0.8.7 (ruby-2.0.0).
|
1009
1007
|
</div>
|
1010
1008
|
|
1011
1009
|
</body>
|
@@ -6,13 +6,13 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ForemanApi::Resources::Model
|
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/model.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'>models</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>
|
@@ -457,7 +457,7 @@
|
|
457
457
|
</h3><div class="docstring">
|
458
458
|
<div class="discussion">
|
459
459
|
|
460
|
-
<p>First item: parsed data; second item: raw body</p>
|
460
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
461
461
|
|
462
462
|
|
463
463
|
</div>
|
@@ -576,7 +576,7 @@
|
|
576
576
|
</h3><div class="docstring">
|
577
577
|
<div class="discussion">
|
578
578
|
|
579
|
-
<p>First item: parsed data; second item: raw body</p>
|
579
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
580
580
|
|
581
581
|
|
582
582
|
</div>
|
@@ -738,7 +738,7 @@
|
|
738
738
|
</h3><div class="docstring">
|
739
739
|
<div class="discussion">
|
740
740
|
|
741
|
-
<p>First item: parsed data; second item: raw body</p>
|
741
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
742
742
|
|
743
743
|
|
744
744
|
</div>
|
@@ -857,7 +857,7 @@
|
|
857
857
|
</h3><div class="docstring">
|
858
858
|
<div class="discussion">
|
859
859
|
|
860
|
-
<p>First item: parsed data; second item: raw body</p>
|
860
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
861
861
|
|
862
862
|
|
863
863
|
</div>
|
@@ -991,9 +991,9 @@
|
|
991
991
|
</div>
|
992
992
|
|
993
993
|
<div id="footer">
|
994
|
-
Generated on
|
994
|
+
Generated on Tue Jul 30 15:43:15 2013 by
|
995
995
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
996
|
-
0.8.
|
996
|
+
0.8.7 (ruby-2.0.0).
|
997
997
|
</div>
|
998
998
|
|
999
999
|
</body>
|
@@ -6,13 +6,13 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ForemanApi::Resources::OperatingSystem
|
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;
|
@@ -324,7 +324,7 @@
|
|
324
324
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/operating_system.rb', line 4</span>
|
325
325
|
|
326
326
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
327
|
-
<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'
|
327
|
+
<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'>operatingsystems</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
328
328
|
<span class='kw'>end</span></pre>
|
329
329
|
</td>
|
330
330
|
</tr>
|
@@ -349,7 +349,7 @@
|
|
349
349
|
</h3><div class="docstring">
|
350
350
|
<div class="discussion">
|
351
351
|
|
352
|
-
<p>First item: parsed data; second item: raw body</p>
|
352
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
353
353
|
|
354
354
|
|
355
355
|
</div>
|
@@ -486,7 +486,7 @@
|
|
486
486
|
</h3><div class="docstring">
|
487
487
|
<div class="discussion">
|
488
488
|
|
489
|
-
<p>First item: parsed data; second item: raw body</p>
|
489
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
490
490
|
|
491
491
|
|
492
492
|
</div>
|
@@ -620,7 +620,7 @@
|
|
620
620
|
</h3><div class="docstring">
|
621
621
|
<div class="discussion">
|
622
622
|
|
623
|
-
<p>First item: parsed data; second item: raw body</p>
|
623
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
624
624
|
|
625
625
|
|
626
626
|
</div>
|
@@ -739,7 +739,7 @@
|
|
739
739
|
</h3><div class="docstring">
|
740
740
|
<div class="discussion">
|
741
741
|
|
742
|
-
<p>First item: parsed data; second item: raw body</p>
|
742
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
743
743
|
|
744
744
|
|
745
745
|
</div>
|
@@ -901,7 +901,7 @@
|
|
901
901
|
</h3><div class="docstring">
|
902
902
|
<div class="discussion">
|
903
903
|
|
904
|
-
<p>First item: parsed data; second item: raw body</p>
|
904
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
905
905
|
|
906
906
|
|
907
907
|
</div>
|
@@ -1020,7 +1020,7 @@
|
|
1020
1020
|
</h3><div class="docstring">
|
1021
1021
|
<div class="discussion">
|
1022
1022
|
|
1023
|
-
<p>First item: parsed data; second item: raw body</p>
|
1023
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1024
1024
|
|
1025
1025
|
|
1026
1026
|
</div>
|
@@ -1156,9 +1156,9 @@
|
|
1156
1156
|
</div>
|
1157
1157
|
|
1158
1158
|
<div id="footer">
|
1159
|
-
Generated on
|
1159
|
+
Generated on Tue Jul 30 15:43:18 2013 by
|
1160
1160
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1161
|
-
0.8.
|
1161
|
+
0.8.7 (ruby-2.0.0).
|
1162
1162
|
</div>
|
1163
1163
|
|
1164
1164
|
</body>
|
@@ -6,13 +6,13 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ForemanApi::Resources::Organization
|
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/organization.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'>organizations</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>
|
@@ -388,7 +388,7 @@
|
|
388
388
|
— <div class='inline'>
|
389
389
|
<p>allowed keys are:</p>
|
390
390
|
<ul><li>
|
391
|
-
<p
|
391
|
+
<p>name [String]</p>
|
392
392
|
</li></ul>
|
393
393
|
</div>
|
394
394
|
|
@@ -424,12 +424,12 @@
|
|
424
424
|
<pre class="lines">
|
425
425
|
|
426
426
|
|
427
|
-
|
428
|
-
|
429
|
-
|
427
|
+
36
|
428
|
+
37
|
429
|
+
38</pre>
|
430
430
|
</td>
|
431
431
|
<td>
|
432
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line
|
432
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line 36</span>
|
433
433
|
|
434
434
|
<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>
|
435
435
|
<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>
|
@@ -451,7 +451,7 @@
|
|
451
451
|
</h3><div class="docstring">
|
452
452
|
<div class="discussion">
|
453
453
|
|
454
|
-
<p>First item: parsed data; second item: raw body</p>
|
454
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
455
455
|
|
456
456
|
|
457
457
|
</div>
|
@@ -547,12 +547,12 @@
|
|
547
547
|
<pre class="lines">
|
548
548
|
|
549
549
|
|
550
|
-
|
551
|
-
|
552
|
-
|
550
|
+
57
|
551
|
+
58
|
552
|
+
59</pre>
|
553
553
|
</td>
|
554
554
|
<td>
|
555
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line
|
555
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line 57</span>
|
556
556
|
|
557
557
|
<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>
|
558
558
|
<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>
|
@@ -574,7 +574,7 @@
|
|
574
574
|
</h3><div class="docstring">
|
575
575
|
<div class="discussion">
|
576
576
|
|
577
|
-
<p>First item: parsed data; second item: raw body</p>
|
577
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
578
578
|
|
579
579
|
|
580
580
|
</div>
|
@@ -621,6 +621,69 @@
|
|
621
621
|
|
622
622
|
</ul>
|
623
623
|
|
624
|
+
|
625
|
+
|
626
|
+
|
627
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
628
|
+
<ul class="option">
|
629
|
+
|
630
|
+
<li>
|
631
|
+
<span class="name">order</span>
|
632
|
+
<span class="type">(<tt>String</tt>)</span>
|
633
|
+
<span class="default">
|
634
|
+
|
635
|
+
</span>
|
636
|
+
|
637
|
+
— <div class='inline'>
|
638
|
+
<p>Sort results</p>
|
639
|
+
</div>
|
640
|
+
|
641
|
+
</li>
|
642
|
+
|
643
|
+
<li>
|
644
|
+
<span class="name">page</span>
|
645
|
+
<span class="type">(<tt>String</tt>)</span>
|
646
|
+
<span class="default">
|
647
|
+
|
648
|
+
</span>
|
649
|
+
|
650
|
+
— <div class='inline'>
|
651
|
+
<p>Paginate results</p>
|
652
|
+
</div>
|
653
|
+
|
654
|
+
</li>
|
655
|
+
|
656
|
+
<li>
|
657
|
+
<span class="name">per_page</span>
|
658
|
+
<span class="type">(<tt>String</tt>)</span>
|
659
|
+
<span class="default">
|
660
|
+
|
661
|
+
</span>
|
662
|
+
|
663
|
+
— <div class='inline'>
|
664
|
+
<p>Number of entries per request</p>
|
665
|
+
</div>
|
666
|
+
|
667
|
+
</li>
|
668
|
+
|
669
|
+
<li>
|
670
|
+
<span class="name">search</span>
|
671
|
+
<span class="type">(<tt>String</tt>)</span>
|
672
|
+
<span class="default">
|
673
|
+
|
674
|
+
</span>
|
675
|
+
|
676
|
+
— <div class='inline'>
|
677
|
+
<p>Filter results</p>
|
678
|
+
</div>
|
679
|
+
|
680
|
+
</li>
|
681
|
+
|
682
|
+
</ul>
|
683
|
+
|
684
|
+
|
685
|
+
|
686
|
+
|
624
687
|
<p class="tag_title">Returns:</p>
|
625
688
|
<ul class="return">
|
626
689
|
|
@@ -646,12 +709,12 @@
|
|
646
709
|
<pre class="lines">
|
647
710
|
|
648
711
|
|
649
|
-
|
650
|
-
|
651
|
-
|
712
|
+
16
|
713
|
+
17
|
714
|
+
18</pre>
|
652
715
|
</td>
|
653
716
|
<td>
|
654
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line
|
717
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line 16</span>
|
655
718
|
|
656
719
|
<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>
|
657
720
|
<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>
|
@@ -673,7 +736,7 @@
|
|
673
736
|
</h3><div class="docstring">
|
674
737
|
<div class="discussion">
|
675
738
|
|
676
|
-
<p>First item: parsed data; second item: raw body</p>
|
739
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
677
740
|
|
678
741
|
|
679
742
|
</div>
|
@@ -769,12 +832,12 @@
|
|
769
832
|
<pre class="lines">
|
770
833
|
|
771
834
|
|
772
|
-
|
773
|
-
|
774
|
-
|
835
|
+
25
|
836
|
+
26
|
837
|
+
27</pre>
|
775
838
|
</td>
|
776
839
|
<td>
|
777
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line
|
840
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line 25</span>
|
778
841
|
|
779
842
|
<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>
|
780
843
|
<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>
|
@@ -796,7 +859,7 @@
|
|
796
859
|
</h3><div class="docstring">
|
797
860
|
<div class="discussion">
|
798
861
|
|
799
|
-
<p>First item: parsed data; second item: raw body</p>
|
862
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
800
863
|
|
801
864
|
|
802
865
|
</div>
|
@@ -872,7 +935,7 @@
|
|
872
935
|
— <div class='inline'>
|
873
936
|
<p>allowed keys are:</p>
|
874
937
|
<ul><li>
|
875
|
-
<p
|
938
|
+
<p>name [String]</p>
|
876
939
|
</li></ul>
|
877
940
|
</div>
|
878
941
|
|
@@ -908,12 +971,12 @@
|
|
908
971
|
<pre class="lines">
|
909
972
|
|
910
973
|
|
911
|
-
|
912
|
-
|
913
|
-
|
974
|
+
48
|
975
|
+
49
|
976
|
+
50</pre>
|
914
977
|
</td>
|
915
978
|
<td>
|
916
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line
|
979
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/organization.rb', line 48</span>
|
917
980
|
|
918
981
|
<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>
|
919
982
|
<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>
|
@@ -928,9 +991,9 @@
|
|
928
991
|
</div>
|
929
992
|
|
930
993
|
<div id="footer">
|
931
|
-
Generated on
|
994
|
+
Generated on Tue Jul 30 15:43:17 2013 by
|
932
995
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
933
|
-
0.8.
|
996
|
+
0.8.7 (ruby-2.0.0).
|
934
997
|
</div>
|
935
998
|
|
936
999
|
</body>
|