foreman_api 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/ForemanApi.html +3 -3
- data/doc/ForemanApi/Resources.html +4 -4
- data/doc/ForemanApi/Resources/Architecture.html +7 -7
- data/doc/ForemanApi/Resources/Audit.html +5 -5
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +15 -15
- data/doc/ForemanApi/Resources/Bookmark.html +3 -3
- data/doc/ForemanApi/Resources/CommonParameter.html +5 -5
- data/doc/ForemanApi/Resources/ComputeResource.html +167 -24
- data/doc/ForemanApi/Resources/ConfigTemplate.html +14 -14
- data/doc/ForemanApi/Resources/Dashboard.html +2 -2
- data/doc/ForemanApi/Resources/Domain.html +14 -14
- data/doc/ForemanApi/Resources/Environment.html +199 -25
- data/doc/ForemanApi/Resources/FactValue.html +5 -5
- data/doc/ForemanApi/Resources/Home.html +1 -1
- data/doc/ForemanApi/Resources/Host.html +509 -10
- data/doc/ForemanApi/Resources/HostClass.html +5 -5
- data/doc/ForemanApi/Resources/Hostgroup.html +5 -5
- data/doc/ForemanApi/Resources/HostgroupClass.html +5 -5
- data/doc/ForemanApi/Resources/Image.html +5 -5
- data/doc/ForemanApi/Resources/Interface.html +1045 -0
- data/doc/ForemanApi/Resources/Location.html +5 -5
- data/doc/ForemanApi/Resources/LookupKey.html +62 -811
- data/doc/ForemanApi/Resources/Medium.html +13 -13
- data/doc/ForemanApi/Resources/Model.html +5 -5
- data/doc/ForemanApi/Resources/OperatingSystem.html +5 -5
- data/doc/ForemanApi/Resources/Organization.html +5 -5
- data/doc/ForemanApi/Resources/OverrideValue.html +1060 -0
- data/doc/ForemanApi/Resources/Parameter.html +26 -26
- data/doc/ForemanApi/Resources/Ptable.html +5 -5
- data/doc/ForemanApi/Resources/Puppetclass.html +80 -28
- data/doc/ForemanApi/Resources/Report.html +164 -6
- data/doc/ForemanApi/Resources/Role.html +3 -3
- data/doc/ForemanApi/Resources/Setting.html +5 -5
- data/doc/ForemanApi/Resources/SmartClassParameter.html +747 -0
- data/doc/ForemanApi/Resources/SmartProxy.html +341 -24
- data/doc/ForemanApi/Resources/SmartVariable.html +1043 -0
- data/doc/ForemanApi/Resources/Statistic.html +330 -0
- data/doc/ForemanApi/Resources/Subnet.html +33 -33
- data/doc/ForemanApi/Resources/TemplateCombination.html +3 -3
- data/doc/ForemanApi/Resources/TemplateKind.html +3 -3
- data/doc/ForemanApi/Resources/User.html +7 -7
- data/doc/ForemanApi/Resources/Usergroup.html +5 -5
- data/doc/_index.html +36 -1
- data/doc/class_list.html +1 -1
- data/doc/file.MIT-LICENSE.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +515 -347
- data/doc/top-level-namespace.html +1 -1
- data/lib/foreman_api/base.rb +2 -1
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/architecture.rb +6 -6
- data/lib/foreman_api/resources/audit.rb +4 -4
- data/lib/foreman_api/resources/auth_source_ldap.rb +14 -14
- data/lib/foreman_api/resources/bookmark.rb +2 -2
- data/lib/foreman_api/resources/common_parameter.rb +4 -4
- data/lib/foreman_api/resources/compute_resource.rb +29 -20
- data/lib/foreman_api/resources/config_template.rb +13 -13
- data/lib/foreman_api/resources/dashboard.rb +1 -1
- data/lib/foreman_api/resources/domain.rb +13 -13
- data/lib/foreman_api/resources/environment.rb +16 -4
- data/lib/foreman_api/resources/fact_value.rb +4 -4
- data/lib/foreman_api/resources/host.rb +40 -8
- data/lib/foreman_api/resources/host_class.rb +4 -4
- data/lib/foreman_api/resources/hostgroup.rb +4 -4
- data/lib/foreman_api/resources/hostgroup_class.rb +4 -4
- data/lib/foreman_api/resources/image.rb +4 -4
- data/lib/foreman_api/resources/interface.rb +80 -0
- data/lib/foreman_api/resources/location.rb +4 -4
- data/lib/foreman_api/resources/lookup_key.rb +6 -65
- data/lib/foreman_api/resources/medium.rb +10 -10
- data/lib/foreman_api/resources/model.rb +4 -4
- data/lib/foreman_api/resources/operating_system.rb +4 -4
- data/lib/foreman_api/resources/organization.rb +4 -4
- data/lib/foreman_api/resources/override_value.rb +73 -0
- data/lib/foreman_api/resources/parameter.rb +25 -25
- data/lib/foreman_api/resources/ptable.rb +4 -4
- data/lib/foreman_api/resources/puppetclass.rb +11 -7
- data/lib/foreman_api/resources/report.rb +19 -4
- data/lib/foreman_api/resources/role.rb +2 -2
- data/lib/foreman_api/resources/setting.rb +4 -4
- data/lib/foreman_api/resources/smart_class_parameter.rb +55 -0
- data/lib/foreman_api/resources/smart_proxy.rb +24 -3
- data/lib/foreman_api/resources/smart_variable.rb +80 -0
- data/lib/foreman_api/resources/statistic.rb +18 -0
- data/lib/foreman_api/resources/subnet.rb +32 -32
- data/lib/foreman_api/resources/template_combination.rb +2 -2
- data/lib/foreman_api/resources/template_kind.rb +2 -2
- data/lib/foreman_api/resources/user.rb +6 -6
- data/lib/foreman_api/resources/usergroup.rb +4 -4
- data/lib/foreman_api/version.rb +1 -1
- metadata +13 -3
@@ -6,10 +6,10 @@ module ForemanApi
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# @param [Hash] params a hash of params to be passed to the service
|
9
|
-
# @option params [String] order
|
10
|
-
# @option params [String] page
|
11
|
-
# @option params [String] per_page
|
12
|
-
# @option params [String] search
|
9
|
+
# @option params [String] order sort results
|
10
|
+
# @option params [String] page paginate results
|
11
|
+
# @option params [String] per_page number of entries per request
|
12
|
+
# @option params [String] search filter results
|
13
13
|
#
|
14
14
|
# @param [Hash] headers additional http headers
|
15
15
|
# @return [Array] First item: parsed data; second item: raw body
|
data/lib/foreman_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Bačovský
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -84,19 +84,24 @@ files:
|
|
84
84
|
- doc/ForemanApi/Resources/Hostgroup.html
|
85
85
|
- doc/ForemanApi/Resources/HostgroupClass.html
|
86
86
|
- doc/ForemanApi/Resources/Image.html
|
87
|
+
- doc/ForemanApi/Resources/Interface.html
|
87
88
|
- doc/ForemanApi/Resources/Location.html
|
88
89
|
- doc/ForemanApi/Resources/LookupKey.html
|
89
90
|
- doc/ForemanApi/Resources/Medium.html
|
90
91
|
- doc/ForemanApi/Resources/Model.html
|
91
92
|
- doc/ForemanApi/Resources/OperatingSystem.html
|
92
93
|
- doc/ForemanApi/Resources/Organization.html
|
94
|
+
- doc/ForemanApi/Resources/OverrideValue.html
|
93
95
|
- doc/ForemanApi/Resources/Parameter.html
|
94
96
|
- doc/ForemanApi/Resources/Ptable.html
|
95
97
|
- doc/ForemanApi/Resources/Puppetclass.html
|
96
98
|
- doc/ForemanApi/Resources/Report.html
|
97
99
|
- doc/ForemanApi/Resources/Role.html
|
98
100
|
- doc/ForemanApi/Resources/Setting.html
|
101
|
+
- doc/ForemanApi/Resources/SmartClassParameter.html
|
99
102
|
- doc/ForemanApi/Resources/SmartProxy.html
|
103
|
+
- doc/ForemanApi/Resources/SmartVariable.html
|
104
|
+
- doc/ForemanApi/Resources/Statistic.html
|
100
105
|
- doc/ForemanApi/Resources/Subnet.html
|
101
106
|
- doc/ForemanApi/Resources/TemplateCombination.html
|
102
107
|
- doc/ForemanApi/Resources/TemplateKind.html
|
@@ -139,19 +144,24 @@ files:
|
|
139
144
|
- lib/foreman_api/resources/hostgroup.rb
|
140
145
|
- lib/foreman_api/resources/hostgroup_class.rb
|
141
146
|
- lib/foreman_api/resources/image.rb
|
147
|
+
- lib/foreman_api/resources/interface.rb
|
142
148
|
- lib/foreman_api/resources/location.rb
|
143
149
|
- lib/foreman_api/resources/lookup_key.rb
|
144
150
|
- lib/foreman_api/resources/medium.rb
|
145
151
|
- lib/foreman_api/resources/model.rb
|
146
152
|
- lib/foreman_api/resources/operating_system.rb
|
147
153
|
- lib/foreman_api/resources/organization.rb
|
154
|
+
- lib/foreman_api/resources/override_value.rb
|
148
155
|
- lib/foreman_api/resources/parameter.rb
|
149
156
|
- lib/foreman_api/resources/ptable.rb
|
150
157
|
- lib/foreman_api/resources/puppetclass.rb
|
151
158
|
- lib/foreman_api/resources/report.rb
|
152
159
|
- lib/foreman_api/resources/role.rb
|
153
160
|
- lib/foreman_api/resources/setting.rb
|
161
|
+
- lib/foreman_api/resources/smart_class_parameter.rb
|
154
162
|
- lib/foreman_api/resources/smart_proxy.rb
|
163
|
+
- lib/foreman_api/resources/smart_variable.rb
|
164
|
+
- lib/foreman_api/resources/statistic.rb
|
155
165
|
- lib/foreman_api/resources/subnet.rb
|
156
166
|
- lib/foreman_api/resources/template_combination.rb
|
157
167
|
- lib/foreman_api/resources/template_kind.rb
|
@@ -178,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
188
|
version: '0'
|
179
189
|
requirements: []
|
180
190
|
rubyforge_project:
|
181
|
-
rubygems_version: 2.0.
|
191
|
+
rubygems_version: 2.0.8
|
182
192
|
signing_key:
|
183
193
|
specification_version: 4
|
184
194
|
summary: Ruby bindings for Forman's rest API
|