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.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/doc/ForemanApi.html +3 -3
  3. data/doc/ForemanApi/Resources.html +4 -4
  4. data/doc/ForemanApi/Resources/Architecture.html +5 -5
  5. data/doc/ForemanApi/Resources/Audit.html +1 -1
  6. data/doc/ForemanApi/Resources/AuthSourceLdap.html +23 -23
  7. data/doc/ForemanApi/Resources/Autosign.html +1 -1
  8. data/doc/ForemanApi/Resources/Bookmark.html +5 -5
  9. data/doc/ForemanApi/Resources/CommonParameter.html +3 -3
  10. data/doc/ForemanApi/Resources/ComputeResource.html +27 -27
  11. data/doc/ForemanApi/Resources/ConfigTemplate.html +12 -12
  12. data/doc/ForemanApi/Resources/Dashboard.html +1 -1
  13. data/doc/ForemanApi/Resources/Domain.html +8 -6
  14. data/doc/ForemanApi/Resources/Environment.html +3 -3
  15. data/doc/ForemanApi/Resources/FactValue.html +1 -1
  16. data/doc/ForemanApi/Resources/Home.html +1 -1
  17. data/doc/ForemanApi/Resources/Host.html +58 -62
  18. data/doc/ForemanApi/Resources/HostClass.html +1 -1
  19. data/doc/ForemanApi/Resources/Hostgroup.html +23 -23
  20. data/doc/ForemanApi/Resources/HostgroupClass.html +6 -19
  21. data/doc/ForemanApi/Resources/Image.html +3 -3
  22. data/doc/ForemanApi/Resources/Interface.html +14 -18
  23. data/doc/ForemanApi/Resources/Location.html +3 -3
  24. data/doc/ForemanApi/Resources/LookupKey.html +1 -1
  25. data/doc/ForemanApi/Resources/Medium.html +10 -10
  26. data/doc/ForemanApi/Resources/Model.html +9 -9
  27. data/doc/ForemanApi/Resources/OperatingSystem.html +9 -9
  28. data/doc/ForemanApi/Resources/Organization.html +3 -3
  29. data/doc/ForemanApi/Resources/OsDefaultTemplate.html +1031 -0
  30. data/doc/ForemanApi/Resources/OverrideValue.html +38 -12
  31. data/doc/ForemanApi/Resources/Parameter.html +191 -35
  32. data/doc/ForemanApi/Resources/Plugin.html +1 -1
  33. data/doc/ForemanApi/Resources/Ptable.html +5 -5
  34. data/doc/ForemanApi/Resources/Puppetclass.html +3 -3
  35. data/doc/ForemanApi/Resources/Report.html +15 -15
  36. data/doc/ForemanApi/Resources/Role.html +3 -3
  37. data/doc/ForemanApi/Resources/Setting.html +1 -1
  38. data/doc/ForemanApi/Resources/SmartClassParameter.html +1 -1
  39. data/doc/ForemanApi/Resources/SmartProxy.html +3 -3
  40. data/doc/ForemanApi/Resources/SmartVariable.html +17 -17
  41. data/doc/ForemanApi/Resources/Statistic.html +1 -1
  42. data/doc/ForemanApi/Resources/Subnet.html +13 -13
  43. data/doc/ForemanApi/Resources/Task.html +1 -1
  44. data/doc/ForemanApi/Resources/TemplateCombination.html +1 -1
  45. data/doc/ForemanApi/Resources/TemplateKind.html +1 -1
  46. data/doc/ForemanApi/Resources/User.html +15 -13
  47. data/doc/ForemanApi/Resources/Usergroup.html +3 -3
  48. data/doc/_index.html +8 -1
  49. data/doc/class_list.html +1 -1
  50. data/doc/file.MIT-LICENSE.html +1 -1
  51. data/doc/file.README.html +1 -1
  52. data/doc/index.html +1 -1
  53. data/doc/method_list.html +443 -407
  54. data/doc/top-level-namespace.html +1 -1
  55. data/lib/foreman_api/base.rb +1 -1
  56. data/lib/foreman_api/documentation.json +1 -1
  57. data/lib/foreman_api/resources/architecture.rb +4 -4
  58. data/lib/foreman_api/resources/auth_source_ldap.rb +22 -22
  59. data/lib/foreman_api/resources/bookmark.rb +4 -4
  60. data/lib/foreman_api/resources/common_parameter.rb +2 -2
  61. data/lib/foreman_api/resources/compute_resource.rb +20 -20
  62. data/lib/foreman_api/resources/config_template.rb +7 -7
  63. data/lib/foreman_api/resources/domain.rb +5 -5
  64. data/lib/foreman_api/resources/environment.rb +2 -2
  65. data/lib/foreman_api/resources/host.rb +55 -55
  66. data/lib/foreman_api/resources/hostgroup.rb +22 -22
  67. data/lib/foreman_api/resources/hostgroup_class.rb +1 -2
  68. data/lib/foreman_api/resources/image.rb +2 -2
  69. data/lib/foreman_api/resources/interface.rb +13 -13
  70. data/lib/foreman_api/resources/location.rb +2 -2
  71. data/lib/foreman_api/resources/medium.rb +6 -6
  72. data/lib/foreman_api/resources/model.rb +8 -8
  73. data/lib/foreman_api/resources/operating_system.rb +8 -8
  74. data/lib/foreman_api/resources/organization.rb +2 -2
  75. data/lib/foreman_api/resources/os_default_template.rb +68 -0
  76. data/lib/foreman_api/resources/override_value.rb +11 -11
  77. data/lib/foreman_api/resources/parameter.rb +18 -6
  78. data/lib/foreman_api/resources/ptable.rb +4 -4
  79. data/lib/foreman_api/resources/puppetclass.rb +2 -2
  80. data/lib/foreman_api/resources/report.rb +12 -12
  81. data/lib/foreman_api/resources/role.rb +2 -2
  82. data/lib/foreman_api/resources/smart_proxy.rb +2 -2
  83. data/lib/foreman_api/resources/smart_variable.rb +16 -16
  84. data/lib/foreman_api/resources/subnet.rb +12 -12
  85. data/lib/foreman_api/resources/user.rb +7 -6
  86. data/lib/foreman_api/resources/usergroup.rb +2 -2
  87. data/lib/foreman_api/version.rb +1 -1
  88. metadata +4 -2
@@ -321,7 +321,7 @@
321
321
  </div>
322
322
 
323
323
  <div id="footer">
324
- Generated on Thu Dec 19 15:47:32 2013 by
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 Dec 19 15:47:31 2013 by
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 Dec 19 15:47:33 2013 by
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
- 59
436
- 60
437
- 61</pre>
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 59</span>
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
- 34
555
- 35
556
- 36</pre>
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 34</span>
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
- 44
849
- 45
850
- 46</pre>
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 44</span>
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 Dec 19 15:47:32 2013 by
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 Dec 19 15:47:30 2013 by
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 Dec 19 15:47:32 2013 by
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 Dec 19 15:47:34 2013 by
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 Dec 19 15:47:33 2013 by
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
  &mdash; <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
  &mdash; <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 Dec 19 15:47:34 2013 by
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 Dec 19 15:47:32 2013 by
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
  &mdash; <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 Dec 19 15:47:31 2013 by
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 Dec 19 15:47:31 2013 by
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 Dec 19 15:47:34 2013 by
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 Dec 19 15:47:33 2013 by
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</pre>
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 68</span>
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
  &mdash; <div class='inline'>
936
936
  <p>allowed keys are:</p>
937
937
  <ul><li>
938
- <p>admin [String] is an admin account?</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</pre>
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 59</span>
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 Dec 19 15:47:31 2013 by
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>