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
@@ -389,7 +389,7 @@
389
389
 
390
390
  <li>
391
391
  <span class="name">image</span>
392
- <span class="type">(<tt>Hash</tt>)</span>
392
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
393
393
  <span class="default">
394
394
 
395
395
  </span>
@@ -970,7 +970,7 @@
970
970
 
971
971
  <li>
972
972
  <span class="name">image</span>
973
- <span class="type">(<tt>Hash</tt>)</span>
973
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
974
974
  <span class="default">
975
975
 
976
976
  </span>
@@ -1044,7 +1044,7 @@
1044
1044
  </div>
1045
1045
 
1046
1046
  <div id="footer">
1047
- Generated on Thu Dec 19 15:47:31 2013 by
1047
+ Generated on Thu Jan 23 15:40:32 2014 by
1048
1048
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1049
1049
  0.8.7 (ruby-2.0.0).
1050
1050
  </div>
@@ -393,7 +393,7 @@
393
393
 
394
394
  <li>
395
395
  <span class="name">interface</span>
396
- <span class="type">(<tt>Hash</tt>)</span>
396
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
397
397
  <span class="default">
398
398
 
399
399
  </span>
@@ -401,9 +401,9 @@
401
401
  &mdash; <div class='inline'>
402
402
  <p>interface information allowed keys are:</p>
403
403
  <ul><li>
404
- <p>domain_id [Numeric] foreman domain id of interface</p>
404
+ <p>domain_id [Numeric, nil] foreman domain id of interface</p>
405
405
  </li><li>
406
- <p>subnet_id [Numeric] foreman subnet id of interface</p>
406
+ <p>subnet_id [Numeric, nil] foreman subnet id of interface</p>
407
407
  </li><li>
408
408
  <p>ip [String] ip address of interface</p>
409
409
  </li><li>
@@ -411,13 +411,13 @@
411
411
  </li><li>
412
412
  <p>name [String] interface name</p>
413
413
  </li><li>
414
- <p>password [String]</p>
414
+ <p>password [String, nil]</p>
415
415
  </li><li>
416
- <p>provider [String] interface provider, i.e: ipmi</p>
416
+ <p>provider [String, nil] interface provider, i.e: ipmi</p>
417
417
  </li><li>
418
418
  <p>type [String] interface type, i.e: nic::bmc</p>
419
419
  </li><li>
420
- <p>username [String]</p>
420
+ <p>username [String, nil]</p>
421
421
  </li></ul>
422
422
  </div>
423
423
 
@@ -930,15 +930,11 @@
930
930
 
931
931
  <li>
932
932
  <span class="name">id</span>
933
- <span class="type">(<tt>Object</tt>)</span>
933
+ <span class="type">(<tt>String</tt>)</span>
934
934
  <span class="default">
935
935
 
936
936
  </span>
937
937
 
938
- &mdash; <div class='inline'>
939
- <p>Part of <tt>/api/hosts/:host_id/interfaces/:id</tt> path</p>
940
- </div>
941
-
942
938
  </li>
943
939
 
944
940
  <li>
@@ -956,7 +952,7 @@
956
952
 
957
953
  <li>
958
954
  <span class="name">interface</span>
959
- <span class="type">(<tt>Hash</tt>)</span>
955
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
960
956
  <span class="default">
961
957
 
962
958
  </span>
@@ -964,9 +960,9 @@
964
960
  &mdash; <div class='inline'>
965
961
  <p>interface information allowed keys are:</p>
966
962
  <ul><li>
967
- <p>domain_id [Numeric] foreman domain id of interface</p>
963
+ <p>domain_id [Numeric, nil] foreman domain id of interface</p>
968
964
  </li><li>
969
- <p>subnet_id [Numeric] foreman subnet id of interface</p>
965
+ <p>subnet_id [Numeric, nil] foreman subnet id of interface</p>
970
966
  </li><li>
971
967
  <p>ip [String] ip address of interface</p>
972
968
  </li><li>
@@ -974,13 +970,13 @@
974
970
  </li><li>
975
971
  <p>name [String] interface name</p>
976
972
  </li><li>
977
- <p>password [String]</p>
973
+ <p>password [String, nil]</p>
978
974
  </li><li>
979
- <p>provider [String] interface provider, i.e: ipmi</p>
975
+ <p>provider [String, nil] interface provider, i.e: ipmi</p>
980
976
  </li><li>
981
977
  <p>type [String] interface type, i.e: nic::bmc</p>
982
978
  </li><li>
983
- <p>username [String]</p>
979
+ <p>username [String, nil]</p>
984
980
  </li></ul>
985
981
  </div>
986
982
 
@@ -1036,7 +1032,7 @@
1036
1032
  </div>
1037
1033
 
1038
1034
  <div id="footer">
1039
- Generated on Thu Dec 19 15:47:32 2013 by
1035
+ Generated on Thu Jan 23 15:40:34 2014 by
1040
1036
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1041
1037
  0.8.7 (ruby-2.0.0).
1042
1038
  </div>
@@ -380,7 +380,7 @@
380
380
 
381
381
  <li>
382
382
  <span class="name">location</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>
@@ -927,7 +927,7 @@
927
927
 
928
928
  <li>
929
929
  <span class="name">location</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>
@@ -991,7 +991,7 @@
991
991
  </div>
992
992
 
993
993
  <div id="footer">
994
- Generated on Thu Dec 19 15:47:32 2013 by
994
+ Generated on Thu Jan 23 15:40:33 2014 by
995
995
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
996
996
  0.8.7 (ruby-2.0.0).
997
997
  </div>
@@ -999,7 +999,7 @@
999
999
  </div>
1000
1000
 
1001
1001
  <div id="footer">
1002
- Generated on Thu Dec 19 15:47:33 2013 by
1002
+ Generated on Thu Jan 23 15:40:34 2014 by
1003
1003
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1004
1004
  0.8.7 (ruby-2.0.0).
1005
1005
  </div>
@@ -380,7 +380,7 @@
380
380
 
381
381
  <li>
382
382
  <span class="name">medium</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,13 +388,13 @@
388
388
  &mdash; <div class='inline'>
389
389
  <p>allowed keys are:</p>
390
390
  <ul><li>
391
- <p>operatingsystem_ids [Array]</p>
391
+ <p>operatingsystem_ids [Array, nil]</p>
392
392
  </li><li>
393
393
  <p>name [String] name of media</p>
394
394
  </li><li>
395
- <p>os_family [String] the family that the operating system belongs to.
396
- available families: archlinux debian freebsd gentoo redhat solaris
397
- suse windows</p>
395
+ <p>os_family [String, nil] the family that the operating system belongs to.
396
+ available families: aix archlinux debian freebsd gentoo junos
397
+ redhat solaris suse windows</p>
398
398
  </li><li>
399
399
  <p>path [String] the path to the medium, can be a url or a valid nfs server
400
400
  (exclusive of the architecture). for example <a
@@ -928,7 +928,7 @@ operating system. solaris and debian media may also use $release.</p>
928
928
 
929
929
  <li>
930
930
  <span class="name">medium</span>
931
- <span class="type">(<tt>Hash</tt>)</span>
931
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
932
932
  <span class="default">
933
933
 
934
934
  </span>
@@ -936,13 +936,13 @@ operating system. solaris and debian media may also use $release.</p>
936
936
  &mdash; <div class='inline'>
937
937
  <p>allowed keys are:</p>
938
938
  <ul><li>
939
- <p>operatingsystem_ids [Array]</p>
939
+ <p>operatingsystem_ids [Array, nil]</p>
940
940
  </li><li>
941
941
  <p>name [String] name of media</p>
942
942
  </li><li>
943
943
  <p>os_family [String, nil] the family that the operating system belongs to.
944
- available families: archlinux debian freebsd gentoo redhat solaris
945
- suse windows</p>
944
+ available families: aix archlinux debian freebsd gentoo junos
945
+ redhat solaris suse windows</p>
946
946
  </li><li>
947
947
  <p>path [String] the path to the medium, can be a url or a valid nfs server
948
948
  (exclusive of the architecture). for example <a
@@ -1005,7 +1005,7 @@ operating system. solaris and debian media may also use $release.</p>
1005
1005
  </div>
1006
1006
 
1007
1007
  <div id="footer">
1008
- Generated on Thu Dec 19 15:47:32 2013 by
1008
+ Generated on Thu Jan 23 15:40:32 2014 by
1009
1009
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1010
1010
  0.8.7 (ruby-2.0.0).
1011
1011
  </div>
@@ -380,7 +380,7 @@
380
380
 
381
381
  <li>
382
382
  <span class="name">model</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,13 +388,13 @@
388
388
  &mdash; <div class='inline'>
389
389
  <p>allowed keys are:</p>
390
390
  <ul><li>
391
- <p>hardware_model [String]</p>
391
+ <p>hardware_model [String, nil]</p>
392
392
  </li><li>
393
- <p>info [String]</p>
393
+ <p>info [String, nil]</p>
394
394
  </li><li>
395
395
  <p>name [String]</p>
396
396
  </li><li>
397
- <p>vendor_class [String]</p>
397
+ <p>vendor_class [String, nil]</p>
398
398
  </li></ul>
399
399
  </div>
400
400
 
@@ -921,7 +921,7 @@
921
921
 
922
922
  <li>
923
923
  <span class="name">model</span>
924
- <span class="type">(<tt>Hash</tt>)</span>
924
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
925
925
  <span class="default">
926
926
 
927
927
  </span>
@@ -929,13 +929,13 @@
929
929
  &mdash; <div class='inline'>
930
930
  <p>allowed keys are:</p>
931
931
  <ul><li>
932
- <p>hardware_model [String]</p>
932
+ <p>hardware_model [String, nil]</p>
933
933
  </li><li>
934
- <p>info [String]</p>
934
+ <p>info [String, nil]</p>
935
935
  </li><li>
936
936
  <p>name [String]</p>
937
937
  </li><li>
938
- <p>vendor_class [String]</p>
938
+ <p>vendor_class [String, nil]</p>
939
939
  </li></ul>
940
940
  </div>
941
941
 
@@ -991,7 +991,7 @@
991
991
  </div>
992
992
 
993
993
  <div id="footer">
994
- Generated on Thu Dec 19 15:47:31 2013 by
994
+ Generated on Thu Jan 23 15:40:32 2014 by
995
995
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
996
996
  0.8.7 (ruby-2.0.0).
997
997
  </div>
@@ -541,7 +541,7 @@
541
541
 
542
542
  <li>
543
543
  <span class="name">operatingsystem</span>
544
- <span class="type">(<tt>Hash</tt>)</span>
544
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
545
545
  <span class="default">
546
546
 
547
547
  </span>
@@ -549,9 +549,9 @@
549
549
  &mdash; <div class='inline'>
550
550
  <p>allowed keys are:</p>
551
551
  <ul><li>
552
- <p>description [String]</p>
552
+ <p>description [String, nil]</p>
553
553
  </li><li>
554
- <p>family [String]</p>
554
+ <p>family [String, nil]</p>
555
555
  </li><li>
556
556
  <p>major [String]</p>
557
557
  </li><li>
@@ -559,7 +559,7 @@
559
559
  </li><li>
560
560
  <p>name [String]</p>
561
561
  </li><li>
562
- <p>release_name [String]</p>
562
+ <p>release_name [String, nil]</p>
563
563
  </li></ul>
564
564
  </div>
565
565
 
@@ -1086,7 +1086,7 @@
1086
1086
 
1087
1087
  <li>
1088
1088
  <span class="name">operatingsystem</span>
1089
- <span class="type">(<tt>Hash</tt>)</span>
1089
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
1090
1090
  <span class="default">
1091
1091
 
1092
1092
  </span>
@@ -1094,9 +1094,9 @@
1094
1094
  &mdash; <div class='inline'>
1095
1095
  <p>allowed keys are:</p>
1096
1096
  <ul><li>
1097
- <p>description [String]</p>
1097
+ <p>description [String, nil]</p>
1098
1098
  </li><li>
1099
- <p>family [String]</p>
1099
+ <p>family [String, nil]</p>
1100
1100
  </li><li>
1101
1101
  <p>major [String]</p>
1102
1102
  </li><li>
@@ -1104,7 +1104,7 @@
1104
1104
  </li><li>
1105
1105
  <p>name [String]</p>
1106
1106
  </li><li>
1107
- <p>release_name [String]</p>
1107
+ <p>release_name [String, nil]</p>
1108
1108
  </li></ul>
1109
1109
  </div>
1110
1110
 
@@ -1160,7 +1160,7 @@
1160
1160
  </div>
1161
1161
 
1162
1162
  <div id="footer">
1163
- Generated on Thu Dec 19 15:47:34 2013 by
1163
+ Generated on Thu Jan 23 15:40:36 2014 by
1164
1164
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1165
1165
  0.8.7 (ruby-2.0.0).
1166
1166
  </div>
@@ -380,7 +380,7 @@
380
380
 
381
381
  <li>
382
382
  <span class="name">organization</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>
@@ -927,7 +927,7 @@
927
927
 
928
928
  <li>
929
929
  <span class="name">organization</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>
@@ -991,7 +991,7 @@
991
991
  </div>
992
992
 
993
993
  <div id="footer">
994
- Generated on Thu Dec 19 15:47:33 2013 by
994
+ Generated on Thu Jan 23 15:40:35 2014 by
995
995
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
996
996
  0.8.7 (ruby-2.0.0).
997
997
  </div>
@@ -0,0 +1,1031 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: ForemanApi::Resources::OsDefaultTemplate
8
+
9
+ &mdash; Documentation by YARD 0.8.7
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../_index.html">Index (O)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../ForemanApi.html" title="ForemanApi (module)">ForemanApi</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Resources.html" title="ForemanApi::Resources (module)">Resources</a></span></span>
36
+ &raquo;
37
+ <span class="title">OsDefaultTemplate</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: ForemanApi::Resources::OsDefaultTemplate
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Base</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Base</li>
82
+
83
+ <li class="next">ForemanApi::Resources::OsDefaultTemplate</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/foreman_api/resources/os_default_template.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <h2>
113
+ Class Method Summary
114
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
115
+ </h2>
116
+
117
+ <ul class="summary">
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#doc-class_method" title="doc (class method)">+ (Object) <strong>doc</strong> </a>
123
+
124
+
125
+
126
+ </span>
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ <span class="summary_desc"><div class='inline'></div></span>
137
+
138
+ </li>
139
+
140
+
141
+ </ul>
142
+
143
+ <h2>
144
+ Instance Method Summary
145
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
146
+ </h2>
147
+
148
+ <ul class="summary">
149
+
150
+ <li class="public ">
151
+ <span class="summary_signature">
152
+
153
+ <a href="#create-instance_method" title="#create (instance method)">- (Array) <strong>create</strong>(params = {}, headers = {}) </a>
154
+
155
+
156
+
157
+ </span>
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+ <span class="summary_desc"><div class='inline'>
168
+ <p>First item: parsed data; second item: raw body.</p>
169
+ </div></span>
170
+
171
+ </li>
172
+
173
+
174
+ <li class="public ">
175
+ <span class="summary_signature">
176
+
177
+ <a href="#destroy-instance_method" title="#destroy (instance method)">- (Array) <strong>destroy</strong>(params = {}, headers = {}) </a>
178
+
179
+
180
+
181
+ </span>
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+ <span class="summary_desc"><div class='inline'>
192
+ <p>First item: parsed data; second item: raw body.</p>
193
+ </div></span>
194
+
195
+ </li>
196
+
197
+
198
+ <li class="public ">
199
+ <span class="summary_signature">
200
+
201
+ <a href="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</strong>(params = {}, headers = {}) </a>
202
+
203
+
204
+
205
+ </span>
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+ <span class="summary_desc"><div class='inline'>
216
+ <p>First item: parsed data; second item: raw body.</p>
217
+ </div></span>
218
+
219
+ </li>
220
+
221
+
222
+ <li class="public ">
223
+ <span class="summary_signature">
224
+
225
+ <a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
226
+
227
+
228
+
229
+ </span>
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+ <span class="summary_desc"><div class='inline'>
240
+ <p>First item: parsed data; second item: raw body.</p>
241
+ </div></span>
242
+
243
+ </li>
244
+
245
+
246
+ <li class="public ">
247
+ <span class="summary_signature">
248
+
249
+ <a href="#update-instance_method" title="#update (instance method)">- (Array) <strong>update</strong>(params = {}, headers = {}) </a>
250
+
251
+
252
+
253
+ </span>
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+ <span class="summary_desc"><div class='inline'>
264
+ <p>First item: parsed data; second item: raw body.</p>
265
+ </div></span>
266
+
267
+ </li>
268
+
269
+
270
+ </ul>
271
+
272
+
273
+
274
+
275
+
276
+ <div id="class_method_details" class="method_details_list">
277
+ <h2>Class Method Details</h2>
278
+
279
+
280
+ <div class="method_details first">
281
+ <h3 class="signature first" id="doc-class_method">
282
+
283
+ + (<tt>Object</tt>) <strong>doc</strong>
284
+
285
+
286
+
287
+
288
+
289
+ </h3><table class="source_code">
290
+ <tr>
291
+ <td>
292
+ <pre class="lines">
293
+
294
+
295
+ 4
296
+ 5
297
+ 6</pre>
298
+ </td>
299
+ <td>
300
+ <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/os_default_template.rb', line 4</span>
301
+
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'>&#39;</span><span class='tstring_content'>resources</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>os_default_templates</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
304
+ <span class='kw'>end</span></pre>
305
+ </td>
306
+ </tr>
307
+ </table>
308
+ </div>
309
+
310
+ </div>
311
+
312
+ <div id="instance_method_details" class="method_details_list">
313
+ <h2>Instance Method Details</h2>
314
+
315
+
316
+ <div class="method_details first">
317
+ <h3 class="signature first" id="create-instance_method">
318
+
319
+ - (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
320
+
321
+
322
+
323
+
324
+
325
+ </h3><div class="docstring">
326
+ <div class="discussion">
327
+
328
+ <p>Returns First item: parsed data; second item: raw body</p>
329
+
330
+
331
+ </div>
332
+ </div>
333
+ <div class="tags">
334
+ <p class="tag_title">Parameters:</p>
335
+ <ul class="param">
336
+
337
+ <li>
338
+
339
+ <span class='name'>params</span>
340
+
341
+
342
+ <span class='type'>(<tt>Hash</tt>)</span>
343
+
344
+
345
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
346
+
347
+
348
+ &mdash;
349
+ <div class='inline'>
350
+ <p>a hash of params to be passed to the service</p>
351
+ </div>
352
+
353
+ </li>
354
+
355
+ <li>
356
+
357
+ <span class='name'>headers</span>
358
+
359
+
360
+ <span class='type'>(<tt>Hash</tt>)</span>
361
+
362
+
363
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
364
+
365
+
366
+ &mdash;
367
+ <div class='inline'>
368
+ <p>additional http headers</p>
369
+ </div>
370
+
371
+ </li>
372
+
373
+ </ul>
374
+
375
+
376
+
377
+
378
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
379
+ <ul class="option">
380
+
381
+ <li>
382
+ <span class="name">operatingsystem_id</span>
383
+ <span class="type">(<tt>String</tt>)</span>
384
+ <span class="default">
385
+
386
+ </span>
387
+
388
+ &mdash; <div class='inline'>
389
+ <p>id of operating system</p>
390
+ </div>
391
+
392
+ </li>
393
+
394
+ <li>
395
+ <span class="name">os_default_template</span>
396
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
397
+ <span class="default">
398
+
399
+ </span>
400
+
401
+ &mdash; <div class='inline'>
402
+ <p>allowed keys are:</p>
403
+ <ul><li>
404
+ <p>config_template_id [String, nil]</p>
405
+ </li><li>
406
+ <p>template_kind_id [String, nil]</p>
407
+ </li></ul>
408
+ </div>
409
+
410
+ </li>
411
+
412
+ </ul>
413
+
414
+
415
+
416
+
417
+ <p class="tag_title">Returns:</p>
418
+ <ul class="return">
419
+
420
+ <li>
421
+
422
+
423
+ <span class='type'>(<tt>Array</tt>)</span>
424
+
425
+
426
+
427
+ &mdash;
428
+ <div class='inline'>
429
+ <p>First item: parsed data; second item: raw body</p>
430
+ </div>
431
+
432
+ </li>
433
+
434
+ </ul>
435
+
436
+ </div><table class="source_code">
437
+ <tr>
438
+ <td>
439
+ <pre class="lines">
440
+
441
+
442
+ 38
443
+ 39
444
+ 40</pre>
445
+ </td>
446
+ <td>
447
+ <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/os_default_template.rb', line 38</span>
448
+
449
+ <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>
450
+ <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
+ <span class='kw'>end</span></pre>
452
+ </td>
453
+ </tr>
454
+ </table>
455
+ </div>
456
+
457
+ <div class="method_details ">
458
+ <h3 class="signature " id="destroy-instance_method">
459
+
460
+ - (<tt>Array</tt>) <strong>destroy</strong>(params = {}, headers = {})
461
+
462
+
463
+
464
+
465
+
466
+ </h3><div class="docstring">
467
+ <div class="discussion">
468
+
469
+ <p>Returns First item: parsed data; second item: raw body</p>
470
+
471
+
472
+ </div>
473
+ </div>
474
+ <div class="tags">
475
+ <p class="tag_title">Parameters:</p>
476
+ <ul class="param">
477
+
478
+ <li>
479
+
480
+ <span class='name'>params</span>
481
+
482
+
483
+ <span class='type'>(<tt>Hash</tt>)</span>
484
+
485
+
486
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
487
+
488
+
489
+ &mdash;
490
+ <div class='inline'>
491
+ <p>a hash of params to be passed to the service</p>
492
+ </div>
493
+
494
+ </li>
495
+
496
+ <li>
497
+
498
+ <span class='name'>headers</span>
499
+
500
+
501
+ <span class='type'>(<tt>Hash</tt>)</span>
502
+
503
+
504
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
505
+
506
+
507
+ &mdash;
508
+ <div class='inline'>
509
+ <p>additional http headers</p>
510
+ </div>
511
+
512
+ </li>
513
+
514
+ </ul>
515
+
516
+
517
+
518
+
519
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
520
+ <ul class="option">
521
+
522
+ <li>
523
+ <span class="name">id</span>
524
+ <span class="type">(<tt>String</tt>)</span>
525
+ <span class="default">
526
+
527
+ </span>
528
+
529
+ </li>
530
+
531
+ <li>
532
+ <span class="name">operatingsystem_id</span>
533
+ <span class="type">(<tt>String</tt>)</span>
534
+ <span class="default">
535
+
536
+ </span>
537
+
538
+ &mdash; <div class='inline'>
539
+ <p>id of operating system</p>
540
+ </div>
541
+
542
+ </li>
543
+
544
+ </ul>
545
+
546
+
547
+
548
+
549
+ <p class="tag_title">Returns:</p>
550
+ <ul class="return">
551
+
552
+ <li>
553
+
554
+
555
+ <span class='type'>(<tt>Array</tt>)</span>
556
+
557
+
558
+
559
+ &mdash;
560
+ <div class='inline'>
561
+ <p>First item: parsed data; second item: raw body</p>
562
+ </div>
563
+
564
+ </li>
565
+
566
+ </ul>
567
+
568
+ </div><table class="source_code">
569
+ <tr>
570
+ <td>
571
+ <pre class="lines">
572
+
573
+
574
+ 62
575
+ 63
576
+ 64</pre>
577
+ </td>
578
+ <td>
579
+ <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/os_default_template.rb', line 62</span>
580
+
581
+ <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>
582
+ <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>
583
+ <span class='kw'>end</span></pre>
584
+ </td>
585
+ </tr>
586
+ </table>
587
+ </div>
588
+
589
+ <div class="method_details ">
590
+ <h3 class="signature " id="index-instance_method">
591
+
592
+ - (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
593
+
594
+
595
+
596
+
597
+
598
+ </h3><div class="docstring">
599
+ <div class="discussion">
600
+
601
+ <p>Returns First item: parsed data; second item: raw body</p>
602
+
603
+
604
+ </div>
605
+ </div>
606
+ <div class="tags">
607
+ <p class="tag_title">Parameters:</p>
608
+ <ul class="param">
609
+
610
+ <li>
611
+
612
+ <span class='name'>params</span>
613
+
614
+
615
+ <span class='type'>(<tt>Hash</tt>)</span>
616
+
617
+
618
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
619
+
620
+
621
+ &mdash;
622
+ <div class='inline'>
623
+ <p>a hash of params to be passed to the service</p>
624
+ </div>
625
+
626
+ </li>
627
+
628
+ <li>
629
+
630
+ <span class='name'>headers</span>
631
+
632
+
633
+ <span class='type'>(<tt>Hash</tt>)</span>
634
+
635
+
636
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
637
+
638
+
639
+ &mdash;
640
+ <div class='inline'>
641
+ <p>additional http headers</p>
642
+ </div>
643
+
644
+ </li>
645
+
646
+ </ul>
647
+
648
+
649
+
650
+
651
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
652
+ <ul class="option">
653
+
654
+ <li>
655
+ <span class="name">operatingsystem_id</span>
656
+ <span class="type">(<tt>String</tt>)</span>
657
+ <span class="default">
658
+
659
+ </span>
660
+
661
+ &mdash; <div class='inline'>
662
+ <p>id of operating system</p>
663
+ </div>
664
+
665
+ </li>
666
+
667
+ <li>
668
+ <span class="name">page</span>
669
+ <span class="type">(<tt>String</tt>)</span>
670
+ <span class="default">
671
+
672
+ </span>
673
+
674
+ &mdash; <div class='inline'>
675
+ <p>paginate results</p>
676
+ </div>
677
+
678
+ </li>
679
+
680
+ <li>
681
+ <span class="name">per_page</span>
682
+ <span class="type">(<tt>String</tt>)</span>
683
+ <span class="default">
684
+
685
+ </span>
686
+
687
+ &mdash; <div class='inline'>
688
+ <p>number of entries per request</p>
689
+ </div>
690
+
691
+ </li>
692
+
693
+ </ul>
694
+
695
+
696
+
697
+
698
+ <p class="tag_title">Returns:</p>
699
+ <ul class="return">
700
+
701
+ <li>
702
+
703
+
704
+ <span class='type'>(<tt>Array</tt>)</span>
705
+
706
+
707
+
708
+ &mdash;
709
+ <div class='inline'>
710
+ <p>First item: parsed data; second item: raw body</p>
711
+ </div>
712
+
713
+ </li>
714
+
715
+ </ul>
716
+
717
+ </div><table class="source_code">
718
+ <tr>
719
+ <td>
720
+ <pre class="lines">
721
+
722
+
723
+ 15
724
+ 16
725
+ 17</pre>
726
+ </td>
727
+ <td>
728
+ <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/os_default_template.rb', line 15</span>
729
+
730
+ <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>
731
+ <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>
732
+ <span class='kw'>end</span></pre>
733
+ </td>
734
+ </tr>
735
+ </table>
736
+ </div>
737
+
738
+ <div class="method_details ">
739
+ <h3 class="signature " id="show-instance_method">
740
+
741
+ - (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
742
+
743
+
744
+
745
+
746
+
747
+ </h3><div class="docstring">
748
+ <div class="discussion">
749
+
750
+ <p>Returns First item: parsed data; second item: raw body</p>
751
+
752
+
753
+ </div>
754
+ </div>
755
+ <div class="tags">
756
+ <p class="tag_title">Parameters:</p>
757
+ <ul class="param">
758
+
759
+ <li>
760
+
761
+ <span class='name'>params</span>
762
+
763
+
764
+ <span class='type'>(<tt>Hash</tt>)</span>
765
+
766
+
767
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
768
+
769
+
770
+ &mdash;
771
+ <div class='inline'>
772
+ <p>a hash of params to be passed to the service</p>
773
+ </div>
774
+
775
+ </li>
776
+
777
+ <li>
778
+
779
+ <span class='name'>headers</span>
780
+
781
+
782
+ <span class='type'>(<tt>Hash</tt>)</span>
783
+
784
+
785
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
786
+
787
+
788
+ &mdash;
789
+ <div class='inline'>
790
+ <p>additional http headers</p>
791
+ </div>
792
+
793
+ </li>
794
+
795
+ </ul>
796
+
797
+
798
+
799
+
800
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
801
+ <ul class="option">
802
+
803
+ <li>
804
+ <span class="name">id</span>
805
+ <span class="type">(<tt>String</tt>)</span>
806
+ <span class="default">
807
+
808
+ </span>
809
+
810
+ </li>
811
+
812
+ <li>
813
+ <span class="name">operatingsystem_id</span>
814
+ <span class="type">(<tt>String</tt>)</span>
815
+ <span class="default">
816
+
817
+ </span>
818
+
819
+ &mdash; <div class='inline'>
820
+ <p>id of operating system</p>
821
+ </div>
822
+
823
+ </li>
824
+
825
+ </ul>
826
+
827
+
828
+
829
+
830
+ <p class="tag_title">Returns:</p>
831
+ <ul class="return">
832
+
833
+ <li>
834
+
835
+
836
+ <span class='type'>(<tt>Array</tt>)</span>
837
+
838
+
839
+
840
+ &mdash;
841
+ <div class='inline'>
842
+ <p>First item: parsed data; second item: raw body</p>
843
+ </div>
844
+
845
+ </li>
846
+
847
+ </ul>
848
+
849
+ </div><table class="source_code">
850
+ <tr>
851
+ <td>
852
+ <pre class="lines">
853
+
854
+
855
+ 25
856
+ 26
857
+ 27</pre>
858
+ </td>
859
+ <td>
860
+ <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/os_default_template.rb', line 25</span>
861
+
862
+ <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>
863
+ <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>
864
+ <span class='kw'>end</span></pre>
865
+ </td>
866
+ </tr>
867
+ </table>
868
+ </div>
869
+
870
+ <div class="method_details ">
871
+ <h3 class="signature " id="update-instance_method">
872
+
873
+ - (<tt>Array</tt>) <strong>update</strong>(params = {}, headers = {})
874
+
875
+
876
+
877
+
878
+
879
+ </h3><div class="docstring">
880
+ <div class="discussion">
881
+
882
+ <p>Returns First item: parsed data; second item: raw body</p>
883
+
884
+
885
+ </div>
886
+ </div>
887
+ <div class="tags">
888
+ <p class="tag_title">Parameters:</p>
889
+ <ul class="param">
890
+
891
+ <li>
892
+
893
+ <span class='name'>params</span>
894
+
895
+
896
+ <span class='type'>(<tt>Hash</tt>)</span>
897
+
898
+
899
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
900
+
901
+
902
+ &mdash;
903
+ <div class='inline'>
904
+ <p>a hash of params to be passed to the service</p>
905
+ </div>
906
+
907
+ </li>
908
+
909
+ <li>
910
+
911
+ <span class='name'>headers</span>
912
+
913
+
914
+ <span class='type'>(<tt>Hash</tt>)</span>
915
+
916
+
917
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
918
+
919
+
920
+ &mdash;
921
+ <div class='inline'>
922
+ <p>additional http headers</p>
923
+ </div>
924
+
925
+ </li>
926
+
927
+ </ul>
928
+
929
+
930
+
931
+
932
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
933
+ <ul class="option">
934
+
935
+ <li>
936
+ <span class="name">id</span>
937
+ <span class="type">(<tt>String</tt>)</span>
938
+ <span class="default">
939
+
940
+ </span>
941
+
942
+ </li>
943
+
944
+ <li>
945
+ <span class="name">operatingsystem_id</span>
946
+ <span class="type">(<tt>String</tt>)</span>
947
+ <span class="default">
948
+
949
+ </span>
950
+
951
+ &mdash; <div class='inline'>
952
+ <p>id of operating system</p>
953
+ </div>
954
+
955
+ </li>
956
+
957
+ <li>
958
+ <span class="name">os_default_template</span>
959
+ <span class="type">(<tt>Hash</tt>, <tt>nil</tt>)</span>
960
+ <span class="default">
961
+
962
+ </span>
963
+
964
+ &mdash; <div class='inline'>
965
+ <p>allowed keys are:</p>
966
+ <ul><li>
967
+ <p>config_template_id [String, nil]</p>
968
+ </li><li>
969
+ <p>template_kind_id [String, nil]</p>
970
+ </li></ul>
971
+ </div>
972
+
973
+ </li>
974
+
975
+ </ul>
976
+
977
+
978
+
979
+
980
+ <p class="tag_title">Returns:</p>
981
+ <ul class="return">
982
+
983
+ <li>
984
+
985
+
986
+ <span class='type'>(<tt>Array</tt>)</span>
987
+
988
+
989
+
990
+ &mdash;
991
+ <div class='inline'>
992
+ <p>First item: parsed data; second item: raw body</p>
993
+ </div>
994
+
995
+ </li>
996
+
997
+ </ul>
998
+
999
+ </div><table class="source_code">
1000
+ <tr>
1001
+ <td>
1002
+ <pre class="lines">
1003
+
1004
+
1005
+ 52
1006
+ 53
1007
+ 54</pre>
1008
+ </td>
1009
+ <td>
1010
+ <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/os_default_template.rb', line 52</span>
1011
+
1012
+ <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>
1013
+ <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>
1014
+ <span class='kw'>end</span></pre>
1015
+ </td>
1016
+ </tr>
1017
+ </table>
1018
+ </div>
1019
+
1020
+ </div>
1021
+
1022
+ </div>
1023
+
1024
+ <div id="footer">
1025
+ Generated on Thu Jan 23 15:40:37 2014 by
1026
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1027
+ 0.8.7 (ruby-2.0.0).
1028
+ </div>
1029
+
1030
+ </body>
1031
+ </html>