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.
- data/.gitignore +3 -0
- data/Gemfile +2 -0
- data/Rakefile +0 -1
- data/doc/ForemanApi.html +5 -5
- data/doc/ForemanApi/Resources.html +6 -6
- data/doc/ForemanApi/Resources/Architecture.html +260 -127
- data/doc/ForemanApi/Resources/Audit.html +118 -51
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +314 -163
- data/doc/ForemanApi/Resources/Bookmark.html +266 -131
- data/doc/ForemanApi/Resources/CommonParameter.html +260 -127
- data/doc/ForemanApi/Resources/ComputeResource.html +314 -165
- data/doc/ForemanApi/Resources/ConfigTemplate.html +387 -195
- data/doc/ForemanApi/Resources/Dashboard.html +53 -27
- data/doc/ForemanApi/Resources/Domain.html +275 -137
- data/doc/ForemanApi/Resources/Environment.html +254 -123
- data/doc/ForemanApi/Resources/FactValue.html +75 -32
- data/doc/ForemanApi/Resources/Home.html +92 -43
- data/doc/ForemanApi/Resources/Host.html +401 -212
- data/doc/ForemanApi/Resources/HostClass.html +698 -0
- data/doc/ForemanApi/Resources/Hostgroup.html +308 -159
- data/doc/ForemanApi/Resources/HostgroupClass.html +712 -0
- data/doc/ForemanApi/Resources/Image.html +284 -143
- data/doc/ForemanApi/Resources/LookupKey.html +295 -140
- data/doc/ForemanApi/Resources/Medium.html +278 -145
- data/doc/ForemanApi/Resources/Model.html +272 -135
- data/doc/ForemanApi/Resources/OperatingSystem.html +323 -160
- data/doc/ForemanApi/Resources/Parameter.html +1512 -0
- data/doc/ForemanApi/Resources/Ptable.html +266 -131
- data/doc/ForemanApi/Resources/Puppetclass.html +295 -131
- data/doc/ForemanApi/Resources/Report.html +311 -71
- data/doc/ForemanApi/Resources/Role.html +248 -119
- data/doc/ForemanApi/Resources/Setting.html +156 -76
- data/doc/ForemanApi/Resources/SmartProxy.html +257 -125
- data/doc/ForemanApi/Resources/Subnet.html +332 -175
- data/doc/ForemanApi/Resources/TemplateCombination.html +826 -0
- data/doc/ForemanApi/Resources/TemplateKind.html +56 -29
- data/doc/ForemanApi/Resources/User.html +287 -145
- data/doc/ForemanApi/Resources/Usergroup.html +272 -115
- data/doc/_index.html +32 -4
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +10 -0
- data/doc/file.MIT-LICENSE.html +29 -24
- data/doc/file.README.html +60 -59
- data/doc/frames.html +1 -1
- data/doc/index.html +60 -59
- data/doc/method_list.html +434 -266
- data/doc/top-level-namespace.html +3 -3
- data/lib/foreman_api.rb +0 -13
- data/lib/foreman_api/base.rb +77 -7
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/architecture.rb +27 -32
- data/lib/foreman_api/resources/audit.rb +9 -10
- data/lib/foreman_api/resources/auth_source_ldap.rb +47 -52
- data/lib/foreman_api/resources/bookmark.rb +31 -36
- data/lib/foreman_api/resources/common_parameter.rb +27 -32
- data/lib/foreman_api/resources/compute_resource.rb +43 -48
- data/lib/foreman_api/resources/config_template.rb +43 -50
- data/lib/foreman_api/resources/dashboard.rb +4 -5
- data/lib/foreman_api/resources/domain.rb +30 -35
- data/lib/foreman_api/resources/environment.rb +25 -30
- data/lib/foreman_api/resources/fact_value.rb +5 -5
- data/lib/foreman_api/resources/home.rb +7 -9
- data/lib/foreman_api/resources/host.rb +63 -69
- data/lib/foreman_api/resources/host_class.rb +39 -0
- data/lib/foreman_api/resources/hostgroup.rb +43 -48
- data/lib/foreman_api/resources/hostgroup_class.rb +40 -0
- data/lib/foreman_api/resources/image.rb +40 -45
- data/lib/foreman_api/resources/lookup_key.rb +36 -40
- data/lib/foreman_api/resources/medium.rb +29 -34
- data/lib/foreman_api/resources/model.rb +31 -36
- data/lib/foreman_api/resources/operating_system.rb +39 -45
- data/lib/foreman_api/resources/parameter.rb +96 -0
- data/lib/foreman_api/resources/ptable.rb +29 -34
- data/lib/foreman_api/resources/puppetclass.rb +31 -34
- data/lib/foreman_api/resources/report.rb +17 -20
- data/lib/foreman_api/resources/role.rb +25 -30
- data/lib/foreman_api/resources/setting.rb +15 -18
- data/lib/foreman_api/resources/smart_proxy.rb +27 -32
- data/lib/foreman_api/resources/subnet.rb +47 -52
- data/lib/foreman_api/resources/template_combination.rb +21 -25
- data/lib/foreman_api/resources/template_kind.rb +4 -5
- data/lib/foreman_api/resources/user.rb +36 -41
- data/lib/foreman_api/resources/usergroup.rb +25 -30
- data/lib/foreman_api/version.rb +1 -1
- 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
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
24
|
-
|
25
|
-
|
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
|
-
|
39
|
-
|
40
|
-
|
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
|
-
|
55
|
-
|
56
|
-
|
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
|
-
|
65
|
-
|
66
|
-
|
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
|
-
|
16
|
-
|
17
|
-
|
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
|
-
|
26
|
-
|
27
|
-
|
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
|
-
|
39
|
-
|
40
|
-
|
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
|
-
|
53
|
-
|
54
|
-
|
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
|
-
|
63
|
-
|
64
|
-
|
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
|
-
|
16
|
-
|
17
|
-
|
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
|
-
|
26
|
-
|
27
|
-
|
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
|
-
|
47
|
-
|
48
|
-
|
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
|
-
|
69
|
-
|
70
|
-
|
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
|
-
|
79
|
-
|
80
|
-
|
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
|
-
|
16
|
-
|
17
|
-
|
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
|
-
|
26
|
-
|
27
|
-
|
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
|
-
# *
|
35
|
-
# *
|
36
|
-
# *
|
37
|
-
# *
|
38
|
-
# *
|
39
|
-
# *
|
40
|
-
# *
|
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
|
-
|
44
|
-
|
45
|
-
|
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
|
-
# *
|
54
|
-
# *
|
55
|
-
# *
|
56
|
-
# *
|
57
|
-
# *
|
58
|
-
# *
|
59
|
-
# *
|
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
|
-
|
63
|
-
|
64
|
-
|
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
|
-
|
73
|
-
|
74
|
-
|
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
|
-
|
83
|
-
|
84
|
-
|
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
|
-
|
92
|
-
|
93
|
-
|
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
|