foreman_api 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/.gitignore +3 -0
  2. data/Gemfile +2 -0
  3. data/Rakefile +0 -1
  4. data/doc/ForemanApi.html +5 -5
  5. data/doc/ForemanApi/Resources.html +6 -6
  6. data/doc/ForemanApi/Resources/Architecture.html +260 -127
  7. data/doc/ForemanApi/Resources/Audit.html +118 -51
  8. data/doc/ForemanApi/Resources/AuthSourceLdap.html +314 -163
  9. data/doc/ForemanApi/Resources/Bookmark.html +266 -131
  10. data/doc/ForemanApi/Resources/CommonParameter.html +260 -127
  11. data/doc/ForemanApi/Resources/ComputeResource.html +314 -165
  12. data/doc/ForemanApi/Resources/ConfigTemplate.html +387 -195
  13. data/doc/ForemanApi/Resources/Dashboard.html +53 -27
  14. data/doc/ForemanApi/Resources/Domain.html +275 -137
  15. data/doc/ForemanApi/Resources/Environment.html +254 -123
  16. data/doc/ForemanApi/Resources/FactValue.html +75 -32
  17. data/doc/ForemanApi/Resources/Home.html +92 -43
  18. data/doc/ForemanApi/Resources/Host.html +401 -212
  19. data/doc/ForemanApi/Resources/HostClass.html +698 -0
  20. data/doc/ForemanApi/Resources/Hostgroup.html +308 -159
  21. data/doc/ForemanApi/Resources/HostgroupClass.html +712 -0
  22. data/doc/ForemanApi/Resources/Image.html +284 -143
  23. data/doc/ForemanApi/Resources/LookupKey.html +295 -140
  24. data/doc/ForemanApi/Resources/Medium.html +278 -145
  25. data/doc/ForemanApi/Resources/Model.html +272 -135
  26. data/doc/ForemanApi/Resources/OperatingSystem.html +323 -160
  27. data/doc/ForemanApi/Resources/Parameter.html +1512 -0
  28. data/doc/ForemanApi/Resources/Ptable.html +266 -131
  29. data/doc/ForemanApi/Resources/Puppetclass.html +295 -131
  30. data/doc/ForemanApi/Resources/Report.html +311 -71
  31. data/doc/ForemanApi/Resources/Role.html +248 -119
  32. data/doc/ForemanApi/Resources/Setting.html +156 -76
  33. data/doc/ForemanApi/Resources/SmartProxy.html +257 -125
  34. data/doc/ForemanApi/Resources/Subnet.html +332 -175
  35. data/doc/ForemanApi/Resources/TemplateCombination.html +826 -0
  36. data/doc/ForemanApi/Resources/TemplateKind.html +56 -29
  37. data/doc/ForemanApi/Resources/User.html +287 -145
  38. data/doc/ForemanApi/Resources/Usergroup.html +272 -115
  39. data/doc/_index.html +32 -4
  40. data/doc/class_list.html +1 -1
  41. data/doc/css/style.css +10 -0
  42. data/doc/file.MIT-LICENSE.html +29 -24
  43. data/doc/file.README.html +60 -59
  44. data/doc/frames.html +1 -1
  45. data/doc/index.html +60 -59
  46. data/doc/method_list.html +434 -266
  47. data/doc/top-level-namespace.html +3 -3
  48. data/lib/foreman_api.rb +0 -13
  49. data/lib/foreman_api/base.rb +77 -7
  50. data/lib/foreman_api/documentation.json +1 -1
  51. data/lib/foreman_api/resources/architecture.rb +27 -32
  52. data/lib/foreman_api/resources/audit.rb +9 -10
  53. data/lib/foreman_api/resources/auth_source_ldap.rb +47 -52
  54. data/lib/foreman_api/resources/bookmark.rb +31 -36
  55. data/lib/foreman_api/resources/common_parameter.rb +27 -32
  56. data/lib/foreman_api/resources/compute_resource.rb +43 -48
  57. data/lib/foreman_api/resources/config_template.rb +43 -50
  58. data/lib/foreman_api/resources/dashboard.rb +4 -5
  59. data/lib/foreman_api/resources/domain.rb +30 -35
  60. data/lib/foreman_api/resources/environment.rb +25 -30
  61. data/lib/foreman_api/resources/fact_value.rb +5 -5
  62. data/lib/foreman_api/resources/home.rb +7 -9
  63. data/lib/foreman_api/resources/host.rb +63 -69
  64. data/lib/foreman_api/resources/host_class.rb +39 -0
  65. data/lib/foreman_api/resources/hostgroup.rb +43 -48
  66. data/lib/foreman_api/resources/hostgroup_class.rb +40 -0
  67. data/lib/foreman_api/resources/image.rb +40 -45
  68. data/lib/foreman_api/resources/lookup_key.rb +36 -40
  69. data/lib/foreman_api/resources/medium.rb +29 -34
  70. data/lib/foreman_api/resources/model.rb +31 -36
  71. data/lib/foreman_api/resources/operating_system.rb +39 -45
  72. data/lib/foreman_api/resources/parameter.rb +96 -0
  73. data/lib/foreman_api/resources/ptable.rb +29 -34
  74. data/lib/foreman_api/resources/puppetclass.rb +31 -34
  75. data/lib/foreman_api/resources/report.rb +17 -20
  76. data/lib/foreman_api/resources/role.rb +25 -30
  77. data/lib/foreman_api/resources/setting.rb +15 -18
  78. data/lib/foreman_api/resources/smart_proxy.rb +27 -32
  79. data/lib/foreman_api/resources/subnet.rb +47 -52
  80. data/lib/foreman_api/resources/template_combination.rb +21 -25
  81. data/lib/foreman_api/resources/template_kind.rb +4 -5
  82. data/lib/foreman_api/resources/user.rb +36 -41
  83. data/lib/foreman_api/resources/usergroup.rb +25 -30
  84. data/lib/foreman_api/version.rb +1 -1
  85. metadata +10 -2
@@ -4,67 +4,62 @@ module ForemanApi
4
4
  def self.doc
5
5
  @doc ||= ForemanApi.doc['resources']["bookmarks"]
6
6
  end
7
-
7
+
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
9
  # @option params [String] page Paginate results
10
10
  # @option params [String] per_page Number of entries per request
11
11
  #
12
12
  # @param [Hash] headers additional http headers
13
- def index(params = { }, headers = { })
14
- check_params params, :allowed => true, :method => __method__
15
- url, params = fill_params_in_url "/api/bookmarks", params
16
- call(:"get", url, params, headers)
13
+ # @return [Array] First item: parsed data; second item: raw body
14
+ def index(params = {}, headers = {})
15
+ perform_call(__method__, params, headers)
17
16
  end
18
17
 
19
18
  # @param [Hash] params a hash of params to be passed to the service
20
- # @option params [String] id
19
+ # @option params [String] id
21
20
  #
22
21
  # @param [Hash] headers additional http headers
23
- def show(params = { }, headers = { })
24
- check_params params, :allowed => true, :method => __method__
25
- url, params = fill_params_in_url "/api/bookmarks/:id", params
26
- call(:"get", url, params, headers)
22
+ # @return [Array] First item: parsed data; second item: raw body
23
+ def show(params = {}, headers = {})
24
+ perform_call(__method__, params, headers)
27
25
  end
28
26
 
29
27
  # @param [Hash] params a hash of params to be passed to the service
30
- # @option params [Hash] bookmark
31
- # allowed keys are:
32
- # * controller [String],
33
- # * name [String],
34
- # * public [String],
35
- # * query [String],
28
+ # @option params [Hash] bookmark
29
+ # allowed keys are:
30
+ # * controller [String]
31
+ # * name [String]
32
+ # * public [String]
33
+ # * query [String]
36
34
  #
37
35
  # @param [Hash] headers additional http headers
38
- def create(params = { }, headers = { })
39
- check_params params, :allowed => true, :method => __method__
40
- url, params = fill_params_in_url "/api/bookmarks", params
41
- call(:"post", url, params, headers)
36
+ # @return [Array] First item: parsed data; second item: raw body
37
+ def create(params = {}, headers = {})
38
+ perform_call(__method__, params, headers)
42
39
  end
43
40
 
44
41
  # @param [Hash] params a hash of params to be passed to the service
45
- # @option params [String] id
46
- # @option params [Hash] bookmark
47
- # allowed keys are:
48
- # * controller [String],
49
- # * name [String],
50
- # * public [String],
51
- # * query [String],
42
+ # @option params [String] id
43
+ # @option params [Hash] bookmark
44
+ # allowed keys are:
45
+ # * controller [String]
46
+ # * name [String]
47
+ # * public [String]
48
+ # * query [String]
52
49
  #
53
50
  # @param [Hash] headers additional http headers
54
- def update(params = { }, headers = { })
55
- check_params params, :allowed => true, :method => __method__
56
- url, params = fill_params_in_url "/api/bookmarks/:id", params
57
- call(:"put", url, params, headers)
51
+ # @return [Array] First item: parsed data; second item: raw body
52
+ def update(params = {}, headers = {})
53
+ perform_call(__method__, params, headers)
58
54
  end
59
55
 
60
56
  # @param [Hash] params a hash of params to be passed to the service
61
- # @option params [String] id
57
+ # @option params [String] id
62
58
  #
63
59
  # @param [Hash] headers additional http headers
64
- def destroy(params = { }, headers = { })
65
- check_params params, :allowed => true, :method => __method__
66
- url, params = fill_params_in_url "/api/bookmarks/:id", params
67
- call(:"delete", url, params, headers)
60
+ # @return [Array] First item: parsed data; second item: raw body
61
+ def destroy(params = {}, headers = {})
62
+ perform_call(__method__, params, headers)
68
63
  end
69
64
 
70
65
  end
@@ -4,7 +4,7 @@ module ForemanApi
4
4
  def self.doc
5
5
  @doc ||= ForemanApi.doc['resources']["common_parameters"]
6
6
  end
7
-
7
+
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
9
  # @option params [String] order Sort results
10
10
  # @option params [String] page Paginate results
@@ -12,57 +12,52 @@ module ForemanApi
12
12
  # @option params [String] search Filter results
13
13
  #
14
14
  # @param [Hash] headers additional http headers
15
- def index(params = { }, headers = { })
16
- check_params params, :allowed => true, :method => __method__
17
- url, params = fill_params_in_url "/api/common_parameters", params
18
- call(:"get", url, params, headers)
15
+ # @return [Array] First item: parsed data; second item: raw body
16
+ def index(params = {}, headers = {})
17
+ perform_call(__method__, params, headers)
19
18
  end
20
19
 
21
20
  # @param [Hash] params a hash of params to be passed to the service
22
- # @option params [String] id
21
+ # @option params [String] id
23
22
  #
24
23
  # @param [Hash] headers additional http headers
25
- def show(params = { }, headers = { })
26
- check_params params, :allowed => true, :method => __method__
27
- url, params = fill_params_in_url "/api/common_parameters/:id", params
28
- call(:"get", url, params, headers)
24
+ # @return [Array] First item: parsed data; second item: raw body
25
+ def show(params = {}, headers = {})
26
+ perform_call(__method__, params, headers)
29
27
  end
30
28
 
31
29
  # @param [Hash] params a hash of params to be passed to the service
32
- # @option params [Hash] common_parameter
33
- # allowed keys are:
34
- # * name [String],
35
- # * value [String],
30
+ # @option params [Hash] common_parameter
31
+ # allowed keys are:
32
+ # * name [String]
33
+ # * value [String]
36
34
  #
37
35
  # @param [Hash] headers additional http headers
38
- def create(params = { }, headers = { })
39
- check_params params, :allowed => true, :method => __method__
40
- url, params = fill_params_in_url "/api/common_parameters", params
41
- call(:"post", url, params, headers)
36
+ # @return [Array] First item: parsed data; second item: raw body
37
+ def create(params = {}, headers = {})
38
+ perform_call(__method__, params, headers)
42
39
  end
43
40
 
44
41
  # @param [Hash] params a hash of params to be passed to the service
45
- # @option params [String] id
46
- # @option params [Hash] common_parameter
47
- # allowed keys are:
48
- # * name [String],
49
- # * value [String],
42
+ # @option params [String] id
43
+ # @option params [Hash] common_parameter
44
+ # allowed keys are:
45
+ # * name [String]
46
+ # * value [String]
50
47
  #
51
48
  # @param [Hash] headers additional http headers
52
- def update(params = { }, headers = { })
53
- check_params params, :allowed => true, :method => __method__
54
- url, params = fill_params_in_url "/api/common_parameters/:id", params
55
- call(:"put", url, params, headers)
49
+ # @return [Array] First item: parsed data; second item: raw body
50
+ def update(params = {}, headers = {})
51
+ perform_call(__method__, params, headers)
56
52
  end
57
53
 
58
54
  # @param [Hash] params a hash of params to be passed to the service
59
- # @option params [String] id
55
+ # @option params [String] id
60
56
  #
61
57
  # @param [Hash] headers additional http headers
62
- def destroy(params = { }, headers = { })
63
- check_params params, :allowed => true, :method => __method__
64
- url, params = fill_params_in_url "/api/common_parameters/:id", params
65
- call(:"delete", url, params, headers)
58
+ # @return [Array] First item: parsed data; second item: raw body
59
+ def destroy(params = {}, headers = {})
60
+ perform_call(__method__, params, headers)
66
61
  end
67
62
 
68
63
  end
@@ -4,7 +4,7 @@ module ForemanApi
4
4
  def self.doc
5
5
  @doc ||= ForemanApi.doc['resources']["compute_resources"]
6
6
  end
7
-
7
+
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
9
  # @option params [String] order Sort results
10
10
  # @option params [String] page Paginate results
@@ -12,73 +12,68 @@ module ForemanApi
12
12
  # @option params [String] search Filter results
13
13
  #
14
14
  # @param [Hash] headers additional http headers
15
- def index(params = { }, headers = { })
16
- check_params params, :allowed => true, :method => __method__
17
- url, params = fill_params_in_url "/api/compute_resources", params
18
- call(:"get", url, params, headers)
15
+ # @return [Array] First item: parsed data; second item: raw body
16
+ def index(params = {}, headers = {})
17
+ perform_call(__method__, params, headers)
19
18
  end
20
19
 
21
20
  # @param [Hash] params a hash of params to be passed to the service
22
- # @option params [String] id
21
+ # @option params [String] id
23
22
  #
24
23
  # @param [Hash] headers additional http headers
25
- def show(params = { }, headers = { })
26
- check_params params, :allowed => true, :method => __method__
27
- url, params = fill_params_in_url "/api/compute_resources/:id", params
28
- call(:"get", url, params, headers)
24
+ # @return [Array] First item: parsed data; second item: raw body
25
+ def show(params = {}, headers = {})
26
+ perform_call(__method__, params, headers)
29
27
  end
30
28
 
31
29
  # @param [Hash] params a hash of params to be passed to the service
32
- # @option params [Hash] compute_resource
33
- # allowed keys are:
34
- # * description [String],
35
- # * name [String],
36
- # * password [String] Password for ovirt, ec2, vmware, openstack. secret key for ec2,
37
- # * provider [String] Providers include libvirt, ovirt, ec2, vmware, openstack, rackspace,
38
- # * region [String] For ec2 only,
39
- # * server [String] For vmware,
40
- # * tenant [String] For openstack only,
41
- # * url [String] Url for libvirt, ovirt, and openstack,
42
- # * user [String] Username for ovirt, ec2, vmware, openstack. access key for ec2.,
43
- # * uuid [String] For ovirt, vmware datacenter,
30
+ # @option params [Hash] compute_resource
31
+ # allowed keys are:
32
+ # * description [String]
33
+ # * name [String]
34
+ # * password [String] Password for ovirt, ec2, vmware, openstack. secret key for ec2
35
+ # * provider [String] Providers include libvirt, ovirt, ec2, vmware, openstack, rackspace
36
+ # * region [String] For ec2 only
37
+ # * server [String] For vmware
38
+ # * tenant [String] For openstack only
39
+ # * url [String] Url for libvirt, ovirt, and openstack
40
+ # * user [String] Username for ovirt, ec2, vmware, openstack. access key for ec2.
41
+ # * uuid [String] For ovirt, vmware datacenter
44
42
  #
45
43
  # @param [Hash] headers additional http headers
46
- def create(params = { }, headers = { })
47
- check_params params, :allowed => true, :method => __method__
48
- url, params = fill_params_in_url "/api/compute_resources", params
49
- call(:"post", url, params, headers)
44
+ # @return [Array] First item: parsed data; second item: raw body
45
+ def create(params = {}, headers = {})
46
+ perform_call(__method__, params, headers)
50
47
  end
51
48
 
52
49
  # @param [Hash] params a hash of params to be passed to the service
53
- # @option params [String] id
54
- # @option params [Hash] compute_resource
55
- # allowed keys are:
56
- # * description [String],
57
- # * name [String],
58
- # * password [String] Password for ovirt, ec2, vmware, openstack. secret key for ec2,
59
- # * provider [String] Providers include libvirt, ovirt, ec2, vmware, openstack, rackspace,
60
- # * region [String] For ec2 only,
61
- # * server [String] For vmware,
62
- # * tenant [String] For openstack only,
63
- # * url [String] Url for libvirt, ovirt, and openstack,
64
- # * user [String] Username for ovirt, ec2, vmware, openstack. access key for ec2.,
65
- # * uuid [String] For ovirt, vmware datacenter,
50
+ # @option params [String] id
51
+ # @option params [Hash] compute_resource
52
+ # allowed keys are:
53
+ # * description [String]
54
+ # * name [String]
55
+ # * password [String] Password for ovirt, ec2, vmware, openstack. secret key for ec2
56
+ # * provider [String] Providers include libvirt, ovirt, ec2, vmware, openstack, rackspace
57
+ # * region [String] For ec2 only
58
+ # * server [String] For vmware
59
+ # * tenant [String] For openstack only
60
+ # * url [String] Url for libvirt, ovirt, and openstack
61
+ # * user [String] Username for ovirt, ec2, vmware, openstack. access key for ec2.
62
+ # * uuid [String] For ovirt, vmware datacenter
66
63
  #
67
64
  # @param [Hash] headers additional http headers
68
- def update(params = { }, headers = { })
69
- check_params params, :allowed => true, :method => __method__
70
- url, params = fill_params_in_url "/api/compute_resources/:id", params
71
- call(:"put", url, params, headers)
65
+ # @return [Array] First item: parsed data; second item: raw body
66
+ def update(params = {}, headers = {})
67
+ perform_call(__method__, params, headers)
72
68
  end
73
69
 
74
70
  # @param [Hash] params a hash of params to be passed to the service
75
- # @option params [String] id
71
+ # @option params [String] id
76
72
  #
77
73
  # @param [Hash] headers additional http headers
78
- def destroy(params = { }, headers = { })
79
- check_params params, :allowed => true, :method => __method__
80
- url, params = fill_params_in_url "/api/compute_resources/:id", params
81
- call(:"delete", url, params, headers)
74
+ # @return [Array] First item: parsed data; second item: raw body
75
+ def destroy(params = {}, headers = {})
76
+ perform_call(__method__, params, headers)
82
77
  end
83
78
 
84
79
  end
@@ -4,7 +4,7 @@ module ForemanApi
4
4
  def self.doc
5
5
  @doc ||= ForemanApi.doc['resources']["config_templates"]
6
6
  end
7
-
7
+
8
8
  # @param [Hash] params a hash of params to be passed to the service
9
9
  # @option params [String] order Sort results
10
10
  # @option params [String] page Paginate results
@@ -12,86 +12,79 @@ module ForemanApi
12
12
  # @option params [String] search Filter results
13
13
  #
14
14
  # @param [Hash] headers additional http headers
15
- def index(params = { }, headers = { })
16
- check_params params, :allowed => true, :method => __method__
17
- url, params = fill_params_in_url "/api/config_templates", params
18
- call(:"get", url, params, headers)
15
+ # @return [Array] First item: parsed data; second item: raw body
16
+ def index(params = {}, headers = {})
17
+ perform_call(__method__, params, headers)
19
18
  end
20
19
 
21
20
  # @param [Hash] params a hash of params to be passed to the service
22
- # @option params [String] id
21
+ # @option params [String] id
23
22
  #
24
23
  # @param [Hash] headers additional http headers
25
- def show(params = { }, headers = { })
26
- check_params params, :allowed => true, :method => __method__
27
- url, params = fill_params_in_url "/api/config_templates/:id", params
28
- call(:"get", url, params, headers)
24
+ # @return [Array] First item: parsed data; second item: raw body
25
+ def show(params = {}, headers = {})
26
+ perform_call(__method__, params, headers)
29
27
  end
30
28
 
31
29
  # @param [Hash] params a hash of params to be passed to the service
32
- # @option params [Hash] config_template
33
- # allowed keys are:
34
- # * audit_comment [String, nil],
35
- # * name [String] Template name,
36
- # * operatingsystem_ids [String] Array of operating systems id to associate the template with,
37
- # * snippet [String, nil],
38
- # * template [String],
39
- # * template_combinations_attributes [String] Array of template combinations (hostgroup_id, environment_id),
40
- # * template_kind_id [String, nil] Not relevant for snippet,
30
+ # @option params [Hash] config_template
31
+ # allowed keys are:
32
+ # * operatingsystem_ids [String] Array of operating systems id to associate the template with
33
+ # * template_kind_id [String, nil] Not relevant for snippet
34
+ # * audit_comment [String, nil]
35
+ # * name [String] Template name
36
+ # * snippet [String, nil]
37
+ # * template [String]
38
+ # * template_combinations_attributes [String] Array of template combinations (hostgroup_id, environment_id)
41
39
  #
42
40
  # @param [Hash] headers additional http headers
43
- def create(params = { }, headers = { })
44
- check_params params, :allowed => true, :method => __method__
45
- url, params = fill_params_in_url "/api/config_templates", params
46
- call(:"post", url, params, headers)
41
+ # @return [Array] First item: parsed data; second item: raw body
42
+ def create(params = {}, headers = {})
43
+ perform_call(__method__, params, headers)
47
44
  end
48
45
 
49
46
  # @param [Hash] params a hash of params to be passed to the service
50
- # @option params [String] id
51
- # @option params [Hash] config_template
52
- # allowed keys are:
53
- # * audit_comment [String, nil],
54
- # * name [String] Template name,
55
- # * operatingsystem_ids [String] Array of operating systems id to associate the template with,
56
- # * snippet [String],
57
- # * template [String],
58
- # * template_combinations_attributes [String] Array of template combinations (hostgroup_id, environment_id),
59
- # * template_kind_id [String, nil] Not relevant for snippet,
47
+ # @option params [String] id
48
+ # @option params [Hash] config_template
49
+ # allowed keys are:
50
+ # * operatingsystem_ids [String] Array of operating systems id to associate the template with
51
+ # * template_kind_id [String, nil] Not relevant for snippet
52
+ # * audit_comment [String, nil]
53
+ # * name [String] Template name
54
+ # * snippet [String]
55
+ # * template [String]
56
+ # * template_combinations_attributes [String] Array of template combinations (hostgroup_id, environment_id)
60
57
  #
61
58
  # @param [Hash] headers additional http headers
62
- def update(params = { }, headers = { })
63
- check_params params, :allowed => true, :method => __method__
64
- url, params = fill_params_in_url "/api/config_templates/:id", params
65
- call(:"put", url, params, headers)
59
+ # @return [Array] First item: parsed data; second item: raw body
60
+ def update(params = {}, headers = {})
61
+ perform_call(__method__, params, headers)
66
62
  end
67
63
 
68
64
  # @param [Hash] params a hash of params to be passed to the service
69
65
  # @option params [String] version Template version
70
66
  #
71
67
  # @param [Hash] headers additional http headers
72
- def revision(params = { }, headers = { })
73
- check_params params, :allowed => true, :method => __method__
74
- url, params = fill_params_in_url "/api/config_templates/revision", params
75
- call(:"get", url, params, headers)
68
+ # @return [Array] First item: parsed data; second item: raw body
69
+ def revision(params = {}, headers = {})
70
+ perform_call(__method__, params, headers)
76
71
  end
77
72
 
78
73
  # @param [Hash] params a hash of params to be passed to the service
79
- # @option params [String] id
74
+ # @option params [String] id
80
75
  #
81
76
  # @param [Hash] headers additional http headers
82
- def destroy(params = { }, headers = { })
83
- check_params params, :allowed => true, :method => __method__
84
- url, params = fill_params_in_url "/api/config_templates/:id", params
85
- call(:"delete", url, params, headers)
77
+ # @return [Array] First item: parsed data; second item: raw body
78
+ def destroy(params = {}, headers = {})
79
+ perform_call(__method__, params, headers)
86
80
  end
87
81
 
88
82
  # @param [Hash] params a hash of params to be passed to the service
89
83
  #
90
84
  # @param [Hash] headers additional http headers
91
- def build_pxe_default(params = { }, headers = { })
92
- check_params params, :allowed => false, :method => __method__
93
- url, params = fill_params_in_url "/api/config_templates/build_pxe_default", params
94
- call(:"get", url, params, headers)
85
+ # @return [Array] First item: parsed data; second item: raw body
86
+ def build_pxe_default(params = {}, headers = {})
87
+ perform_call(__method__, params, headers)
95
88
  end
96
89
 
97
90
  end