foreman_api 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/ForemanApi.html +3 -3
- data/doc/ForemanApi/Resources.html +4 -4
- data/doc/ForemanApi/Resources/Architecture.html +5 -5
- data/doc/ForemanApi/Resources/Audit.html +1 -1
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +23 -23
- data/doc/ForemanApi/Resources/Autosign.html +1 -1
- data/doc/ForemanApi/Resources/Bookmark.html +5 -5
- data/doc/ForemanApi/Resources/CommonParameter.html +3 -3
- data/doc/ForemanApi/Resources/ComputeResource.html +27 -27
- data/doc/ForemanApi/Resources/ConfigTemplate.html +12 -12
- data/doc/ForemanApi/Resources/Dashboard.html +1 -1
- data/doc/ForemanApi/Resources/Domain.html +8 -6
- data/doc/ForemanApi/Resources/Environment.html +3 -3
- data/doc/ForemanApi/Resources/FactValue.html +1 -1
- data/doc/ForemanApi/Resources/Home.html +1 -1
- data/doc/ForemanApi/Resources/Host.html +58 -62
- data/doc/ForemanApi/Resources/HostClass.html +1 -1
- data/doc/ForemanApi/Resources/Hostgroup.html +23 -23
- data/doc/ForemanApi/Resources/HostgroupClass.html +6 -19
- data/doc/ForemanApi/Resources/Image.html +3 -3
- data/doc/ForemanApi/Resources/Interface.html +14 -18
- data/doc/ForemanApi/Resources/Location.html +3 -3
- data/doc/ForemanApi/Resources/LookupKey.html +1 -1
- data/doc/ForemanApi/Resources/Medium.html +10 -10
- data/doc/ForemanApi/Resources/Model.html +9 -9
- data/doc/ForemanApi/Resources/OperatingSystem.html +9 -9
- data/doc/ForemanApi/Resources/Organization.html +3 -3
- data/doc/ForemanApi/Resources/OsDefaultTemplate.html +1031 -0
- data/doc/ForemanApi/Resources/OverrideValue.html +38 -12
- data/doc/ForemanApi/Resources/Parameter.html +191 -35
- data/doc/ForemanApi/Resources/Plugin.html +1 -1
- data/doc/ForemanApi/Resources/Ptable.html +5 -5
- data/doc/ForemanApi/Resources/Puppetclass.html +3 -3
- data/doc/ForemanApi/Resources/Report.html +15 -15
- data/doc/ForemanApi/Resources/Role.html +3 -3
- data/doc/ForemanApi/Resources/Setting.html +1 -1
- data/doc/ForemanApi/Resources/SmartClassParameter.html +1 -1
- data/doc/ForemanApi/Resources/SmartProxy.html +3 -3
- data/doc/ForemanApi/Resources/SmartVariable.html +17 -17
- data/doc/ForemanApi/Resources/Statistic.html +1 -1
- data/doc/ForemanApi/Resources/Subnet.html +13 -13
- data/doc/ForemanApi/Resources/Task.html +1 -1
- data/doc/ForemanApi/Resources/TemplateCombination.html +1 -1
- data/doc/ForemanApi/Resources/TemplateKind.html +1 -1
- data/doc/ForemanApi/Resources/User.html +15 -13
- data/doc/ForemanApi/Resources/Usergroup.html +3 -3
- data/doc/_index.html +8 -1
- data/doc/class_list.html +1 -1
- data/doc/file.MIT-LICENSE.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +443 -407
- data/doc/top-level-namespace.html +1 -1
- data/lib/foreman_api/base.rb +1 -1
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/architecture.rb +4 -4
- data/lib/foreman_api/resources/auth_source_ldap.rb +22 -22
- data/lib/foreman_api/resources/bookmark.rb +4 -4
- data/lib/foreman_api/resources/common_parameter.rb +2 -2
- data/lib/foreman_api/resources/compute_resource.rb +20 -20
- data/lib/foreman_api/resources/config_template.rb +7 -7
- data/lib/foreman_api/resources/domain.rb +5 -5
- data/lib/foreman_api/resources/environment.rb +2 -2
- data/lib/foreman_api/resources/host.rb +55 -55
- data/lib/foreman_api/resources/hostgroup.rb +22 -22
- data/lib/foreman_api/resources/hostgroup_class.rb +1 -2
- data/lib/foreman_api/resources/image.rb +2 -2
- data/lib/foreman_api/resources/interface.rb +13 -13
- data/lib/foreman_api/resources/location.rb +2 -2
- data/lib/foreman_api/resources/medium.rb +6 -6
- data/lib/foreman_api/resources/model.rb +8 -8
- data/lib/foreman_api/resources/operating_system.rb +8 -8
- data/lib/foreman_api/resources/organization.rb +2 -2
- data/lib/foreman_api/resources/os_default_template.rb +68 -0
- data/lib/foreman_api/resources/override_value.rb +11 -11
- data/lib/foreman_api/resources/parameter.rb +18 -6
- data/lib/foreman_api/resources/ptable.rb +4 -4
- data/lib/foreman_api/resources/puppetclass.rb +2 -2
- data/lib/foreman_api/resources/report.rb +12 -12
- data/lib/foreman_api/resources/role.rb +2 -2
- data/lib/foreman_api/resources/smart_proxy.rb +2 -2
- data/lib/foreman_api/resources/smart_variable.rb +16 -16
- data/lib/foreman_api/resources/subnet.rb +12 -12
- data/lib/foreman_api/resources/user.rb +7 -6
- data/lib/foreman_api/resources/usergroup.rb +2 -2
- data/lib/foreman_api/version.rb +1 -1
- metadata +4 -2
@@ -321,7 +321,7 @@
|
|
321
321
|
</div>
|
322
322
|
|
323
323
|
<div id="footer">
|
324
|
-
Generated on Thu
|
324
|
+
Generated on Thu Jan 23 15:40:32 2014 by
|
325
325
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
326
326
|
0.8.7 (ruby-2.0.0).
|
327
327
|
</div>
|
@@ -380,7 +380,7 @@
|
|
380
380
|
|
381
381
|
<li>
|
382
382
|
<span class="name">ptable</span>
|
383
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
383
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
384
384
|
<span class="default">
|
385
385
|
|
386
386
|
</span>
|
@@ -392,7 +392,7 @@
|
|
392
392
|
</li><li>
|
393
393
|
<p>name [String]</p>
|
394
394
|
</li><li>
|
395
|
-
<p>os_family [String]</p>
|
395
|
+
<p>os_family [String, nil]</p>
|
396
396
|
</li></ul>
|
397
397
|
</div>
|
398
398
|
|
@@ -919,7 +919,7 @@
|
|
919
919
|
|
920
920
|
<li>
|
921
921
|
<span class="name">ptable</span>
|
922
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
922
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
923
923
|
<span class="default">
|
924
924
|
|
925
925
|
</span>
|
@@ -931,7 +931,7 @@
|
|
931
931
|
</li><li>
|
932
932
|
<p>name [String]</p>
|
933
933
|
</li><li>
|
934
|
-
<p>os_family [String]</p>
|
934
|
+
<p>os_family [String, nil]</p>
|
935
935
|
</li></ul>
|
936
936
|
</div>
|
937
937
|
|
@@ -987,7 +987,7 @@
|
|
987
987
|
</div>
|
988
988
|
|
989
989
|
<div id="footer">
|
990
|
-
Generated on Thu
|
990
|
+
Generated on Thu Jan 23 15:40:33 2014 by
|
991
991
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
992
992
|
0.8.7 (ruby-2.0.0).
|
993
993
|
</div>
|
@@ -380,7 +380,7 @@
|
|
380
380
|
|
381
381
|
<li>
|
382
382
|
<span class="name">puppetclass</span>
|
383
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
383
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
384
384
|
<span class="default">
|
385
385
|
|
386
386
|
</span>
|
@@ -997,7 +997,7 @@
|
|
997
997
|
|
998
998
|
<li>
|
999
999
|
<span class="name">puppetclass</span>
|
1000
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
1000
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
1001
1001
|
<span class="default">
|
1002
1002
|
|
1003
1003
|
</span>
|
@@ -1061,7 +1061,7 @@
|
|
1061
1061
|
</div>
|
1062
1062
|
|
1063
1063
|
<div id="footer">
|
1064
|
-
Generated on Thu
|
1064
|
+
Generated on Thu Jan 23 15:40:35 2014 by
|
1065
1065
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1066
1066
|
0.8.7 (ruby-2.0.0).
|
1067
1067
|
</div>
|
@@ -380,7 +380,7 @@
|
|
380
380
|
|
381
381
|
<li>
|
382
382
|
<span class="name">report</span>
|
383
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
383
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
384
384
|
<span class="default">
|
385
385
|
|
386
386
|
</span>
|
@@ -390,7 +390,7 @@
|
|
390
390
|
<ul><li>
|
391
391
|
<p>host [String] hostname or certname</p>
|
392
392
|
</li><li>
|
393
|
-
<p>logs [Array] optional array of log hashes</p>
|
393
|
+
<p>logs [Array, nil] optional array of log hashes</p>
|
394
394
|
</li><li>
|
395
395
|
<p>metrics [Hash] hash of report metrics, can be just {}</p>
|
396
396
|
</li><li>
|
@@ -432,12 +432,12 @@
|
|
432
432
|
<pre class="lines">
|
433
433
|
|
434
434
|
|
435
|
-
|
436
|
-
|
437
|
-
|
435
|
+
40
|
436
|
+
41
|
437
|
+
42</pre>
|
438
438
|
</td>
|
439
439
|
<td>
|
440
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/report.rb', line
|
440
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/report.rb', line 40</span>
|
441
441
|
|
442
442
|
<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>
|
443
443
|
<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>
|
@@ -551,12 +551,12 @@
|
|
551
551
|
<pre class="lines">
|
552
552
|
|
553
553
|
|
554
|
-
|
555
|
-
|
556
|
-
|
554
|
+
49
|
555
|
+
50
|
556
|
+
51</pre>
|
557
557
|
</td>
|
558
558
|
<td>
|
559
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/report.rb', line
|
559
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/report.rb', line 49</span>
|
560
560
|
|
561
561
|
<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>
|
562
562
|
<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>
|
@@ -845,12 +845,12 @@
|
|
845
845
|
<pre class="lines">
|
846
846
|
|
847
847
|
|
848
|
-
|
849
|
-
|
850
|
-
|
848
|
+
59
|
849
|
+
60
|
850
|
+
61</pre>
|
851
851
|
</td>
|
852
852
|
<td>
|
853
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/report.rb', line
|
853
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/report.rb', line 59</span>
|
854
854
|
|
855
855
|
<span class='kw'>def</span> <span class='id identifier rubyid_last'>last</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>
|
856
856
|
<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>
|
@@ -984,7 +984,7 @@
|
|
984
984
|
</div>
|
985
985
|
|
986
986
|
<div id="footer">
|
987
|
-
Generated on Thu
|
987
|
+
Generated on Thu Jan 23 15:40:33 2014 by
|
988
988
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
989
989
|
0.8.7 (ruby-2.0.0).
|
990
990
|
</div>
|
@@ -380,7 +380,7 @@
|
|
380
380
|
|
381
381
|
<li>
|
382
382
|
<span class="name">role</span>
|
383
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
383
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
384
384
|
<span class="default">
|
385
385
|
|
386
386
|
</span>
|
@@ -889,7 +889,7 @@
|
|
889
889
|
|
890
890
|
<li>
|
891
891
|
<span class="name">role</span>
|
892
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
892
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
893
893
|
<span class="default">
|
894
894
|
|
895
895
|
</span>
|
@@ -953,7 +953,7 @@
|
|
953
953
|
</div>
|
954
954
|
|
955
955
|
<div id="footer">
|
956
|
-
Generated on Thu
|
956
|
+
Generated on Thu Jan 23 15:40:32 2014 by
|
957
957
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
958
958
|
0.8.7 (ruby-2.0.0).
|
959
959
|
</div>
|
@@ -686,7 +686,7 @@
|
|
686
686
|
</div>
|
687
687
|
|
688
688
|
<div id="footer">
|
689
|
-
Generated on Thu
|
689
|
+
Generated on Thu Jan 23 15:40:33 2014 by
|
690
690
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
691
691
|
0.8.7 (ruby-2.0.0).
|
692
692
|
</div>
|
@@ -738,7 +738,7 @@
|
|
738
738
|
</div>
|
739
739
|
|
740
740
|
<div id="footer">
|
741
|
-
Generated on Thu
|
741
|
+
Generated on Thu Jan 23 15:40:37 2014 by
|
742
742
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
743
743
|
0.8.7 (ruby-2.0.0).
|
744
744
|
</div>
|
@@ -428,7 +428,7 @@
|
|
428
428
|
|
429
429
|
<li>
|
430
430
|
<span class="name">smart_proxy</span>
|
431
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
431
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
432
432
|
<span class="default">
|
433
433
|
|
434
434
|
</span>
|
@@ -1217,7 +1217,7 @@
|
|
1217
1217
|
|
1218
1218
|
<li>
|
1219
1219
|
<span class="name">smart_proxy</span>
|
1220
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
1220
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
1221
1221
|
<span class="default">
|
1222
1222
|
|
1223
1223
|
</span>
|
@@ -1283,7 +1283,7 @@
|
|
1283
1283
|
</div>
|
1284
1284
|
|
1285
1285
|
<div id="footer">
|
1286
|
-
Generated on Thu
|
1286
|
+
Generated on Thu Jan 23 15:40:34 2014 by
|
1287
1287
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1288
1288
|
0.8.7 (ruby-2.0.0).
|
1289
1289
|
</div>
|
@@ -380,7 +380,7 @@
|
|
380
380
|
|
381
381
|
<li>
|
382
382
|
<span class="name">smart_variable</span>
|
383
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
383
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
384
384
|
<span class="default">
|
385
385
|
|
386
386
|
</span>
|
@@ -388,21 +388,21 @@
|
|
388
388
|
— <div class='inline'>
|
389
389
|
<p>allowed keys are:</p>
|
390
390
|
<ul><li>
|
391
|
-
<p>puppetclass_id [String]</p>
|
391
|
+
<p>puppetclass_id [String, nil]</p>
|
392
392
|
</li><li>
|
393
|
-
<p>default_value [String]</p>
|
393
|
+
<p>default_value [String, nil]</p>
|
394
394
|
</li><li>
|
395
|
-
<p>description [String]</p>
|
395
|
+
<p>description [String, nil]</p>
|
396
396
|
</li><li>
|
397
|
-
<p>override_value_order [String]</p>
|
397
|
+
<p>override_value_order [String, nil]</p>
|
398
398
|
</li><li>
|
399
|
-
<p>validator_rule [String]</p>
|
399
|
+
<p>validator_rule [String, nil]</p>
|
400
400
|
</li><li>
|
401
|
-
<p>validator_type [String]</p>
|
401
|
+
<p>validator_type [String, nil]</p>
|
402
402
|
</li><li>
|
403
403
|
<p>variable [String]</p>
|
404
404
|
</li><li>
|
405
|
-
<p>variable_type [String]</p>
|
405
|
+
<p>variable_type [String, nil]</p>
|
406
406
|
</li></ul>
|
407
407
|
</div>
|
408
408
|
|
@@ -956,7 +956,7 @@
|
|
956
956
|
|
957
957
|
<li>
|
958
958
|
<span class="name">smart_variable</span>
|
959
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
959
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
960
960
|
<span class="default">
|
961
961
|
|
962
962
|
</span>
|
@@ -964,21 +964,21 @@
|
|
964
964
|
— <div class='inline'>
|
965
965
|
<p>allowed keys are:</p>
|
966
966
|
<ul><li>
|
967
|
-
<p>puppetclass_id [String]</p>
|
967
|
+
<p>puppetclass_id [String, nil]</p>
|
968
968
|
</li><li>
|
969
|
-
<p>default_value [String]</p>
|
969
|
+
<p>default_value [String, nil]</p>
|
970
970
|
</li><li>
|
971
|
-
<p>description [String]</p>
|
971
|
+
<p>description [String, nil]</p>
|
972
972
|
</li><li>
|
973
|
-
<p>override_value_order [String]</p>
|
973
|
+
<p>override_value_order [String, nil]</p>
|
974
974
|
</li><li>
|
975
|
-
<p>validator_rule [String]</p>
|
975
|
+
<p>validator_rule [String, nil]</p>
|
976
976
|
</li><li>
|
977
|
-
<p>validator_type [String]</p>
|
977
|
+
<p>validator_type [String, nil]</p>
|
978
978
|
</li><li>
|
979
979
|
<p>variable [String]</p>
|
980
980
|
</li><li>
|
981
|
-
<p>variable_type [String]</p>
|
981
|
+
<p>variable_type [String, nil]</p>
|
982
982
|
</li></ul>
|
983
983
|
</div>
|
984
984
|
|
@@ -1034,7 +1034,7 @@
|
|
1034
1034
|
</div>
|
1035
1035
|
|
1036
1036
|
<div id="footer">
|
1037
|
-
Generated on Thu
|
1037
|
+
Generated on Thu Jan 23 15:40:35 2014 by
|
1038
1038
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1039
1039
|
0.8.7 (ruby-2.0.0).
|
1040
1040
|
</div>
|
@@ -321,7 +321,7 @@
|
|
321
321
|
</div>
|
322
322
|
|
323
323
|
<div id="footer">
|
324
|
-
Generated on Thu
|
324
|
+
Generated on Thu Jan 23 15:40:34 2014 by
|
325
325
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
326
326
|
0.8.7 (ruby-2.0.0).
|
327
327
|
</div>
|
@@ -380,7 +380,7 @@
|
|
380
380
|
|
381
381
|
<li>
|
382
382
|
<span class="name">subnet</span>
|
383
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
383
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
384
384
|
<span class="default">
|
385
385
|
|
386
386
|
</span>
|
@@ -388,21 +388,21 @@
|
|
388
388
|
— <div class='inline'>
|
389
389
|
<p>allowed keys are:</p>
|
390
390
|
<ul><li>
|
391
|
-
<p>dhcp_id [String] dhcp proxy to use within this subnet</p>
|
391
|
+
<p>dhcp_id [String, nil] dhcp proxy to use within this subnet</p>
|
392
392
|
</li><li>
|
393
|
-
<p>dns_id [String] dns proxy to use within this subnet</p>
|
393
|
+
<p>dns_id [String, nil] dns proxy to use within this subnet</p>
|
394
394
|
</li><li>
|
395
|
-
<p>domain_ids [Array] domains in which this subnet is part</p>
|
395
|
+
<p>domain_ids [Array, nil] domains in which this subnet is part</p>
|
396
396
|
</li><li>
|
397
|
-
<p>tftp_id [String] tftp proxy to use within this subnet</p>
|
397
|
+
<p>tftp_id [String, nil] tftp proxy to use within this subnet</p>
|
398
398
|
</li><li>
|
399
|
-
<p>dns_primary [String] primary dns for this subnet</p>
|
399
|
+
<p>dns_primary [String, nil] primary dns for this subnet</p>
|
400
400
|
</li><li>
|
401
|
-
<p>dns_secondary [String] secondary dns for this subnet</p>
|
401
|
+
<p>dns_secondary [String, nil] secondary dns for this subnet</p>
|
402
402
|
</li><li>
|
403
|
-
<p>from [String] starting ip address for ip auto suggestion</p>
|
403
|
+
<p>from [String, nil] starting ip address for ip auto suggestion</p>
|
404
404
|
</li><li>
|
405
|
-
<p>gateway [String] primary dns for this subnet</p>
|
405
|
+
<p>gateway [String, nil] primary dns for this subnet</p>
|
406
406
|
</li><li>
|
407
407
|
<p>mask [String] netmask for this subnet</p>
|
408
408
|
</li><li>
|
@@ -410,9 +410,9 @@
|
|
410
410
|
</li><li>
|
411
411
|
<p>network [String] subnet network</p>
|
412
412
|
</li><li>
|
413
|
-
<p>to [String] ending ip address for ip auto suggestion</p>
|
413
|
+
<p>to [String, nil] ending ip address for ip auto suggestion</p>
|
414
414
|
</li><li>
|
415
|
-
<p>vlanid [String] vlan id for this subnet</p>
|
415
|
+
<p>vlanid [String, nil] vlan id for this subnet</p>
|
416
416
|
</li></ul>
|
417
417
|
</div>
|
418
418
|
|
@@ -947,7 +947,7 @@
|
|
947
947
|
|
948
948
|
<li>
|
949
949
|
<span class="name">subnet</span>
|
950
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
950
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
951
951
|
<span class="default">
|
952
952
|
|
953
953
|
</span>
|
@@ -1035,7 +1035,7 @@
|
|
1035
1035
|
</div>
|
1036
1036
|
|
1037
1037
|
<div id="footer">
|
1038
|
-
Generated on Thu
|
1038
|
+
Generated on Thu Jan 23 15:40:33 2014 by
|
1039
1039
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1040
1040
|
0.8.7 (ruby-2.0.0).
|
1041
1041
|
</div>
|
@@ -345,7 +345,7 @@
|
|
345
345
|
</div>
|
346
346
|
|
347
347
|
<div id="footer">
|
348
|
-
Generated on Thu
|
348
|
+
Generated on Thu Jan 23 15:40:31 2014 by
|
349
349
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
350
350
|
0.8.7 (ruby-2.0.0).
|
351
351
|
</div>
|
@@ -788,7 +788,7 @@
|
|
788
788
|
</div>
|
789
789
|
|
790
790
|
<div id="footer">
|
791
|
-
Generated on Thu
|
791
|
+
Generated on Thu Jan 23 15:40:37 2014 by
|
792
792
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
793
793
|
0.8.7 (ruby-2.0.0).
|
794
794
|
</div>
|
@@ -358,7 +358,7 @@
|
|
358
358
|
</div>
|
359
359
|
|
360
360
|
<div id="footer">
|
361
|
-
Generated on Thu
|
361
|
+
Generated on Thu Jan 23 15:40:35 2014 by
|
362
362
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
363
363
|
0.8.7 (ruby-2.0.0).
|
364
364
|
</div>
|
@@ -380,7 +380,7 @@
|
|
380
380
|
|
381
381
|
<li>
|
382
382
|
<span class="name">user</span>
|
383
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
383
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
384
384
|
<span class="default">
|
385
385
|
|
386
386
|
</span>
|
@@ -390,11 +390,11 @@
|
|
390
390
|
<ul><li>
|
391
391
|
<p>auth_source_id [Numeric]</p>
|
392
392
|
</li><li>
|
393
|
-
<p>admin [String] is an admin account?</p>
|
393
|
+
<p>admin [String, nil] is an admin account?</p>
|
394
394
|
</li><li>
|
395
|
-
<p>firstname [String]</p>
|
395
|
+
<p>firstname [String, nil]</p>
|
396
396
|
</li><li>
|
397
|
-
<p>lastname [String]</p>
|
397
|
+
<p>lastname [String, nil]</p>
|
398
398
|
</li><li>
|
399
399
|
<p>login [String]</p>
|
400
400
|
</li><li>
|
@@ -555,12 +555,12 @@
|
|
555
555
|
<pre class="lines">
|
556
556
|
|
557
557
|
|
558
|
-
68
|
559
558
|
69
|
560
|
-
70
|
559
|
+
70
|
560
|
+
71</pre>
|
561
561
|
</td>
|
562
562
|
<td>
|
563
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line
|
563
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line 69</span>
|
564
564
|
|
565
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
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>
|
@@ -927,7 +927,7 @@
|
|
927
927
|
|
928
928
|
<li>
|
929
929
|
<span class="name">user</span>
|
930
|
-
<span class="type">(<tt>Hash</tt>)</span>
|
930
|
+
<span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
931
931
|
<span class="default">
|
932
932
|
|
933
933
|
</span>
|
@@ -935,7 +935,9 @@
|
|
935
935
|
— <div class='inline'>
|
936
936
|
<p>allowed keys are:</p>
|
937
937
|
<ul><li>
|
938
|
-
<p>
|
938
|
+
<p>auth_source_id [Numeric]</p>
|
939
|
+
</li><li>
|
940
|
+
<p>admin [String, nil] is an admin account?</p>
|
939
941
|
</li><li>
|
940
942
|
<p>firstname [String, nil]</p>
|
941
943
|
</li><li>
|
@@ -981,12 +983,12 @@
|
|
981
983
|
<pre class="lines">
|
982
984
|
|
983
985
|
|
984
|
-
59
|
985
986
|
60
|
986
|
-
61
|
987
|
+
61
|
988
|
+
62</pre>
|
987
989
|
</td>
|
988
990
|
<td>
|
989
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line
|
991
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line 60</span>
|
990
992
|
|
991
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>
|
992
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>
|
@@ -1001,7 +1003,7 @@
|
|
1001
1003
|
</div>
|
1002
1004
|
|
1003
1005
|
<div id="footer">
|
1004
|
-
Generated on Thu
|
1006
|
+
Generated on Thu Jan 23 15:40:31 2014 by
|
1005
1007
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1006
1008
|
0.8.7 (ruby-2.0.0).
|
1007
1009
|
</div>
|