katello_api 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +3 -0
- data/Gemfile +1 -1
- data/README.rdoc +22 -13
- data/Rakefile +0 -1
- data/doc/KatelloApi/Base.html +102 -116
- data/doc/KatelloApi/Generator/Base.html +65 -80
- data/doc/KatelloApi/Generator.html +5 -5
- data/doc/KatelloApi/Resources/About.html +360 -0
- data/doc/KatelloApi/Resources/ActivationKey.html +190 -304
- data/doc/KatelloApi/Resources/Architecture.html +89 -129
- data/doc/KatelloApi/Resources/Changeset.html +156 -399
- data/doc/KatelloApi/Resources/ChangesetsContent.html +97 -2215
- data/doc/KatelloApi/Resources/ComputeResource.html +131 -189
- data/doc/KatelloApi/Resources/ConfigTemplate.html +143 -208
- data/doc/KatelloApi/Resources/ContentUpload.html +1046 -0
- data/doc/KatelloApi/Resources/ContentView.html +229 -117
- data/doc/KatelloApi/Resources/ContentViewDefinition.html +1190 -323
- data/doc/KatelloApi/Resources/Crl.html +21 -28
- data/doc/KatelloApi/Resources/CustomInfo.html +1110 -0
- data/doc/KatelloApi/Resources/Distribution.html +40 -56
- data/doc/KatelloApi/Resources/Distributor.html +406 -469
- data/doc/KatelloApi/Resources/Domain.html +107 -155
- data/doc/KatelloApi/Resources/Environment.html +211 -539
- data/doc/KatelloApi/Resources/Erratum.html +56 -90
- data/doc/KatelloApi/Resources/Filter.html +1533 -0
- data/doc/KatelloApi/Resources/FilterRule.html +591 -0
- data/doc/KatelloApi/Resources/GpgKey.html +230 -196
- data/doc/KatelloApi/Resources/HardwareModel.html +101 -147
- data/doc/KatelloApi/Resources/Organization.html +647 -158
- data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +803 -0
- data/doc/KatelloApi/Resources/Package.html +57 -81
- data/doc/KatelloApi/Resources/Permission.html +109 -197
- data/doc/KatelloApi/Resources/Ping.html +37 -179
- data/doc/KatelloApi/Resources/Product.html +289 -462
- data/doc/KatelloApi/Resources/Provider.html +397 -424
- data/doc/KatelloApi/Resources/PuppetModule.html +704 -0
- data/doc/KatelloApi/Resources/Repository.html +302 -958
- data/doc/KatelloApi/Resources/RepositorySet.html +64 -104
- data/doc/KatelloApi/Resources/Role.html +131 -250
- data/doc/KatelloApi/Resources/RoleLdapGroup.html +74 -95
- data/doc/KatelloApi/Resources/SmartProxy.html +97 -143
- data/doc/KatelloApi/Resources/Statu.html +21 -28
- data/doc/KatelloApi/Resources/Status.html +360 -0
- data/doc/KatelloApi/Resources/Subnet.html +89 -129
- data/doc/KatelloApi/Resources/Subscription.html +486 -162
- data/doc/KatelloApi/Resources/Sync.html +85 -155
- data/doc/KatelloApi/Resources/SyncPlan.html +127 -220
- data/doc/KatelloApi/Resources/System.html +913 -925
- data/doc/KatelloApi/Resources/SystemErratum.html +557 -0
- data/doc/KatelloApi/Resources/SystemGroup.html +634 -408
- data/doc/KatelloApi/Resources/SystemGroupErratum.html +47 -66
- data/doc/KatelloApi/Resources/SystemGroupPackage.html +77 -108
- data/doc/KatelloApi/Resources/SystemPackage.html +734 -108
- data/doc/KatelloApi/Resources/SystemsBulkAction.html +1706 -0
- data/doc/KatelloApi/Resources/Task.html +38 -53
- data/doc/KatelloApi/Resources/Template.html +159 -233
- data/doc/KatelloApi/Resources/TemplatesContent.html +214 -312
- data/doc/KatelloApi/Resources/Uebercert.html +25 -34
- data/doc/KatelloApi/Resources/User.html +204 -433
- data/doc/KatelloApi/Resources.html +7 -7
- data/doc/KatelloApi.html +21 -26
- data/doc/_index.html +87 -9
- data/doc/class_list.html +3 -2
- data/doc/css/style.css +1 -1
- data/doc/file.README.html +60 -54
- data/doc/file_list.html +2 -1
- data/doc/frames.html +5 -7
- data/doc/index.html +60 -54
- data/doc/js/app.js +7 -2
- data/doc/js/full_list.js +7 -2
- data/doc/method_list.html +854 -1225
- data/doc/top-level-namespace.html +5 -5
- data/katello_api.gemspec +7 -5
- data/lib/katello_api/base.rb +9 -8
- data/lib/katello_api/documentation.json +1 -1
- data/lib/katello_api/resources/about.rb +18 -0
- data/lib/katello_api/resources/activation_key.rb +11 -13
- data/lib/katello_api/resources/changeset.rb +4 -15
- data/lib/katello_api/resources/changesets_content.rb +6 -130
- data/lib/katello_api/resources/content_upload.rb +61 -0
- data/lib/katello_api/resources/content_view.rb +10 -1
- data/lib/katello_api/resources/content_view_definition.rb +65 -3
- data/lib/katello_api/resources/custom_info.rb +70 -0
- data/lib/katello_api/resources/distributor.rb +33 -18
- data/lib/katello_api/resources/environment.rb +20 -41
- data/lib/katello_api/resources/erratum.rb +3 -4
- data/lib/katello_api/resources/filter.rb +93 -0
- data/lib/katello_api/resources/filter_rule.rb +36 -0
- data/lib/katello_api/resources/gpg_key.rb +18 -14
- data/lib/katello_api/resources/organization.rb +43 -8
- data/lib/katello_api/resources/organization_default_info.rb +48 -0
- data/lib/katello_api/resources/permission.rb +10 -7
- data/lib/katello_api/resources/ping.rb +1 -9
- data/lib/katello_api/resources/product.rb +26 -30
- data/lib/katello_api/resources/provider.rb +21 -20
- data/lib/katello_api/resources/puppet_module.rb +39 -0
- data/lib/katello_api/resources/repository.rb +28 -62
- data/lib/katello_api/resources/repository_set.rb +1 -2
- data/lib/katello_api/resources/role.rb +0 -5
- data/lib/katello_api/resources/role_ldap_group.rb +3 -1
- data/lib/katello_api/resources/status.rb +18 -0
- data/lib/katello_api/resources/subscription.rb +33 -7
- data/lib/katello_api/resources/sync.rb +9 -12
- data/lib/katello_api/resources/sync_plan.rb +2 -5
- data/lib/katello_api/resources/system.rb +95 -73
- data/lib/katello_api/resources/system_erratum.rb +30 -0
- data/lib/katello_api/resources/system_group.rb +40 -27
- data/lib/katello_api/resources/system_group_erratum.rb +1 -1
- data/lib/katello_api/resources/system_group_package.rb +6 -6
- data/lib/katello_api/resources/system_package.rb +46 -5
- data/lib/katello_api/resources/systems_bulk_action.rb +140 -0
- data/lib/katello_api/resources/user.rb +14 -18
- data/lib/katello_api/version.rb +1 -1
- metadata +26 -14
@@ -0,0 +1,1533 @@
|
|
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: KatelloApi::Resources::Filter
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.3
|
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 (F)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../KatelloApi.html" title="KatelloApi (module)">KatelloApi</a></span></span> » <span class='title'><span class='object_link'><a href="../Resources.html" title="KatelloApi::Resources (module)">Resources</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Filter</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: KatelloApi::Resources::Filter
|
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"><span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></li>
|
82
|
+
|
83
|
+
<li class="next">KatelloApi::Resources::Filter</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/katello_api/resources/filter.rb</dd>
|
100
|
+
|
101
|
+
</dl>
|
102
|
+
<div class="clear"></div>
|
103
|
+
|
104
|
+
|
105
|
+
<h2>Constant Summary</h2>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<h2>Constant Summary</h2>
|
111
|
+
|
112
|
+
<h3 class="inherited">Constants inherited
|
113
|
+
from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
|
114
|
+
<p class="inherited"><span class='object_link'><a href="../Base.html#API_VERSION-constant" title="KatelloApi::Base::API_VERSION (constant)">Base::API_VERSION</a></span></p>
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<h2>Instance Attribute Summary</h2>
|
120
|
+
|
121
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
|
122
|
+
<p class="inherited"><span class='object_link'><a href="../Base.html#client-instance_method" title="KatelloApi::Base#client (method)">#client</a></span>, <span class='object_link'><a href="../Base.html#config-instance_method" title="KatelloApi::Base#config (method)">#config</a></span></p>
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
<h2>
|
127
|
+
Class Method Summary
|
128
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
129
|
+
</h2>
|
130
|
+
|
131
|
+
<ul class="summary">
|
132
|
+
|
133
|
+
<li class="public ">
|
134
|
+
<span class="summary_signature">
|
135
|
+
|
136
|
+
<a href="#doc-class_method" title="doc (class method)">+ (Object) <strong>doc</strong> </a>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
</span>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
151
|
+
|
152
|
+
</li>
|
153
|
+
|
154
|
+
|
155
|
+
</ul>
|
156
|
+
|
157
|
+
<h2>
|
158
|
+
Instance Method Summary
|
159
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
160
|
+
</h2>
|
161
|
+
|
162
|
+
<ul class="summary">
|
163
|
+
|
164
|
+
<li class="public ">
|
165
|
+
<span class="summary_signature">
|
166
|
+
|
167
|
+
<a href="#create-instance_method" title="#create (instance method)">- (Array) <strong>create</strong>(params = {}, headers = {}) </a>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
</span>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
<span class="summary_desc"><div class='inline'>
|
182
|
+
<p>First item: parsed data; second item: raw body.</p>
|
183
|
+
</div></span>
|
184
|
+
|
185
|
+
</li>
|
186
|
+
|
187
|
+
|
188
|
+
<li class="public ">
|
189
|
+
<span class="summary_signature">
|
190
|
+
|
191
|
+
<a href="#destroy-instance_method" title="#destroy (instance method)">- (Array) <strong>destroy</strong>(params = {}, headers = {}) </a>
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
</span>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
<span class="summary_desc"><div class='inline'>
|
206
|
+
<p>First item: parsed data; second item: raw body.</p>
|
207
|
+
</div></span>
|
208
|
+
|
209
|
+
</li>
|
210
|
+
|
211
|
+
|
212
|
+
<li class="public ">
|
213
|
+
<span class="summary_signature">
|
214
|
+
|
215
|
+
<a href="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</strong>(params = {}, headers = {}) </a>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
</span>
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
<span class="summary_desc"><div class='inline'>
|
230
|
+
<p>First item: parsed data; second item: raw body.</p>
|
231
|
+
</div></span>
|
232
|
+
|
233
|
+
</li>
|
234
|
+
|
235
|
+
|
236
|
+
<li class="public ">
|
237
|
+
<span class="summary_signature">
|
238
|
+
|
239
|
+
<a href="#list_products-instance_method" title="#list_products (instance method)">- (Array) <strong>list_products</strong>(params = {}, headers = {}) </a>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
</span>
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
<span class="summary_desc"><div class='inline'>
|
254
|
+
<p>First item: parsed data; second item: raw body.</p>
|
255
|
+
</div></span>
|
256
|
+
|
257
|
+
</li>
|
258
|
+
|
259
|
+
|
260
|
+
<li class="public ">
|
261
|
+
<span class="summary_signature">
|
262
|
+
|
263
|
+
<a href="#list_repositories-instance_method" title="#list_repositories (instance method)">- (Array) <strong>list_repositories</strong>(params = {}, headers = {}) </a>
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
</span>
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
<span class="summary_desc"><div class='inline'>
|
278
|
+
<p>First item: parsed data; second item: raw body.</p>
|
279
|
+
</div></span>
|
280
|
+
|
281
|
+
</li>
|
282
|
+
|
283
|
+
|
284
|
+
<li class="public ">
|
285
|
+
<span class="summary_signature">
|
286
|
+
|
287
|
+
<a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
</span>
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
<span class="summary_desc"><div class='inline'>
|
302
|
+
<p>First item: parsed data; second item: raw body.</p>
|
303
|
+
</div></span>
|
304
|
+
|
305
|
+
</li>
|
306
|
+
|
307
|
+
|
308
|
+
<li class="public ">
|
309
|
+
<span class="summary_signature">
|
310
|
+
|
311
|
+
<a href="#update_products-instance_method" title="#update_products (instance method)">- (Array) <strong>update_products</strong>(params = {}, headers = {}) </a>
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
</span>
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
<span class="summary_desc"><div class='inline'>
|
326
|
+
<p>First item: parsed data; second item: raw body.</p>
|
327
|
+
</div></span>
|
328
|
+
|
329
|
+
</li>
|
330
|
+
|
331
|
+
|
332
|
+
<li class="public ">
|
333
|
+
<span class="summary_signature">
|
334
|
+
|
335
|
+
<a href="#update_repositories-instance_method" title="#update_repositories (instance method)">- (Array) <strong>update_repositories</strong>(params = {}, headers = {}) </a>
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
</span>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
<span class="summary_desc"><div class='inline'>
|
350
|
+
<p>First item: parsed data; second item: raw body.</p>
|
351
|
+
</div></span>
|
352
|
+
|
353
|
+
</li>
|
354
|
+
|
355
|
+
|
356
|
+
</ul>
|
357
|
+
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
|
369
|
+
<p class="inherited"><span class='object_link'><a href="../Base.html#http_call-instance_method" title="KatelloApi::Base#http_call (method)">#http_call</a></span>, <span class='object_link'><a href="../Base.html#initialize-instance_method" title="KatelloApi::Base#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Base.html#method_doc-class_method" title="KatelloApi::Base.method_doc (method)">method_doc</a></span>, <span class='object_link'><a href="../Base.html#perform_call-instance_method" title="KatelloApi::Base#perform_call (method)">#perform_call</a></span>, <span class='object_link'><a href="../Base.html#validate_params%21-instance_method" title="KatelloApi::Base#validate_params! (method)">#validate_params!</a></span>, <span class='object_link'><a href="../Base.html#validation_hash-class_method" title="KatelloApi::Base.validation_hash (method)">validation_hash</a></span></p>
|
370
|
+
<div id="constructor_details" class="method_details_list">
|
371
|
+
<h2>Constructor Details</h2>
|
372
|
+
|
373
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Base.html#initialize-instance_method" title="KatelloApi::Base#initialize (method)">KatelloApi::Base</a></span></p>
|
374
|
+
|
375
|
+
</div>
|
376
|
+
|
377
|
+
|
378
|
+
<div id="class_method_details" class="method_details_list">
|
379
|
+
<h2>Class Method Details</h2>
|
380
|
+
|
381
|
+
|
382
|
+
<div class="method_details first">
|
383
|
+
<h3 class="signature first" id="doc-class_method">
|
384
|
+
|
385
|
+
+ (<tt>Object</tt>) <strong>doc</strong>
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
</h3><table class="source_code">
|
392
|
+
<tr>
|
393
|
+
<td>
|
394
|
+
<pre class="lines">
|
395
|
+
|
396
|
+
|
397
|
+
4
|
398
|
+
5
|
399
|
+
6</pre>
|
400
|
+
</td>
|
401
|
+
<td>
|
402
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/filter.rb', line 4</span>
|
403
|
+
|
404
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
405
|
+
<span class='ivar'>@doc</span> <span class='op'>||=</span> <span class='const'>KatelloApi</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>resources</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>filters</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
406
|
+
<span class='kw'>end</span></pre>
|
407
|
+
</td>
|
408
|
+
</tr>
|
409
|
+
</table>
|
410
|
+
</div>
|
411
|
+
|
412
|
+
</div>
|
413
|
+
|
414
|
+
<div id="instance_method_details" class="method_details_list">
|
415
|
+
<h2>Instance Method Details</h2>
|
416
|
+
|
417
|
+
|
418
|
+
<div class="method_details first">
|
419
|
+
<h3 class="signature first" id="create-instance_method">
|
420
|
+
|
421
|
+
- (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
</h3><div class="docstring">
|
428
|
+
<div class="discussion">
|
429
|
+
|
430
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
431
|
+
|
432
|
+
|
433
|
+
</div>
|
434
|
+
</div>
|
435
|
+
<div class="tags">
|
436
|
+
<p class="tag_title">Parameters:</p>
|
437
|
+
<ul class="param">
|
438
|
+
|
439
|
+
<li>
|
440
|
+
|
441
|
+
<span class='name'>params</span>
|
442
|
+
|
443
|
+
|
444
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
445
|
+
|
446
|
+
|
447
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
448
|
+
|
449
|
+
|
450
|
+
—
|
451
|
+
<div class='inline'>
|
452
|
+
<p>a hash of params to be passed to the service</p>
|
453
|
+
</div>
|
454
|
+
|
455
|
+
</li>
|
456
|
+
|
457
|
+
<li>
|
458
|
+
|
459
|
+
<span class='name'>headers</span>
|
460
|
+
|
461
|
+
|
462
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
463
|
+
|
464
|
+
|
465
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
466
|
+
|
467
|
+
|
468
|
+
—
|
469
|
+
<div class='inline'>
|
470
|
+
<p>additional http headers</p>
|
471
|
+
</div>
|
472
|
+
|
473
|
+
</li>
|
474
|
+
|
475
|
+
</ul>
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
|
480
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
481
|
+
<ul class="option">
|
482
|
+
|
483
|
+
<li>
|
484
|
+
<span class="name">content_view_definition_id</span>
|
485
|
+
<span class="type">(<tt>String</tt>)</span>
|
486
|
+
<span class="default">
|
487
|
+
|
488
|
+
</span>
|
489
|
+
|
490
|
+
— <div class='inline'>
|
491
|
+
<p>id of the content view definition</p>
|
492
|
+
</div>
|
493
|
+
|
494
|
+
</li>
|
495
|
+
|
496
|
+
<li>
|
497
|
+
<span class="name">filter</span>
|
498
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
499
|
+
<span class="default">
|
500
|
+
|
501
|
+
</span>
|
502
|
+
|
503
|
+
— <div class='inline'>
|
504
|
+
<p>allowed keys are:</p>
|
505
|
+
<ul><li>
|
506
|
+
<p>name [String] name of the filter</p>
|
507
|
+
</li></ul>
|
508
|
+
</div>
|
509
|
+
|
510
|
+
</li>
|
511
|
+
|
512
|
+
</ul>
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
<p class="tag_title">Returns:</p>
|
518
|
+
<ul class="return">
|
519
|
+
|
520
|
+
<li>
|
521
|
+
|
522
|
+
|
523
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
—
|
528
|
+
<div class='inline'>
|
529
|
+
<p>First item: parsed data; second item: raw body</p>
|
530
|
+
</div>
|
531
|
+
|
532
|
+
</li>
|
533
|
+
|
534
|
+
</ul>
|
535
|
+
|
536
|
+
</div><table class="source_code">
|
537
|
+
<tr>
|
538
|
+
<td>
|
539
|
+
<pre class="lines">
|
540
|
+
|
541
|
+
|
542
|
+
25
|
543
|
+
26
|
544
|
+
27</pre>
|
545
|
+
</td>
|
546
|
+
<td>
|
547
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/filter.rb', line 25</span>
|
548
|
+
|
549
|
+
<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>
|
550
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
551
|
+
<span class='kw'>end</span></pre>
|
552
|
+
</td>
|
553
|
+
</tr>
|
554
|
+
</table>
|
555
|
+
</div>
|
556
|
+
|
557
|
+
<div class="method_details ">
|
558
|
+
<h3 class="signature " id="destroy-instance_method">
|
559
|
+
|
560
|
+
- (<tt>Array</tt>) <strong>destroy</strong>(params = {}, headers = {})
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
</h3><div class="docstring">
|
567
|
+
<div class="discussion">
|
568
|
+
|
569
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
570
|
+
|
571
|
+
|
572
|
+
</div>
|
573
|
+
</div>
|
574
|
+
<div class="tags">
|
575
|
+
<p class="tag_title">Parameters:</p>
|
576
|
+
<ul class="param">
|
577
|
+
|
578
|
+
<li>
|
579
|
+
|
580
|
+
<span class='name'>params</span>
|
581
|
+
|
582
|
+
|
583
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
584
|
+
|
585
|
+
|
586
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
587
|
+
|
588
|
+
|
589
|
+
—
|
590
|
+
<div class='inline'>
|
591
|
+
<p>a hash of params to be passed to the service</p>
|
592
|
+
</div>
|
593
|
+
|
594
|
+
</li>
|
595
|
+
|
596
|
+
<li>
|
597
|
+
|
598
|
+
<span class='name'>headers</span>
|
599
|
+
|
600
|
+
|
601
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
602
|
+
|
603
|
+
|
604
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
605
|
+
|
606
|
+
|
607
|
+
—
|
608
|
+
<div class='inline'>
|
609
|
+
<p>additional http headers</p>
|
610
|
+
</div>
|
611
|
+
|
612
|
+
</li>
|
613
|
+
|
614
|
+
</ul>
|
615
|
+
|
616
|
+
|
617
|
+
|
618
|
+
|
619
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
620
|
+
<ul class="option">
|
621
|
+
|
622
|
+
<li>
|
623
|
+
<span class="name">id</span>
|
624
|
+
<span class="type">(<tt>String</tt>)</span>
|
625
|
+
<span class="default">
|
626
|
+
|
627
|
+
</span>
|
628
|
+
|
629
|
+
— <div class='inline'>
|
630
|
+
<p>name of the filter</p>
|
631
|
+
</div>
|
632
|
+
|
633
|
+
</li>
|
634
|
+
|
635
|
+
<li>
|
636
|
+
<span class="name">content_view_definition_id</span>
|
637
|
+
<span class="type">(<tt>String</tt>)</span>
|
638
|
+
<span class="default">
|
639
|
+
|
640
|
+
</span>
|
641
|
+
|
642
|
+
— <div class='inline'>
|
643
|
+
<p>id of the content view definition</p>
|
644
|
+
</div>
|
645
|
+
|
646
|
+
</li>
|
647
|
+
|
648
|
+
</ul>
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
<p class="tag_title">Returns:</p>
|
654
|
+
<ul class="return">
|
655
|
+
|
656
|
+
<li>
|
657
|
+
|
658
|
+
|
659
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
—
|
664
|
+
<div class='inline'>
|
665
|
+
<p>First item: parsed data; second item: raw body</p>
|
666
|
+
</div>
|
667
|
+
|
668
|
+
</li>
|
669
|
+
|
670
|
+
</ul>
|
671
|
+
|
672
|
+
</div><table class="source_code">
|
673
|
+
<tr>
|
674
|
+
<td>
|
675
|
+
<pre class="lines">
|
676
|
+
|
677
|
+
|
678
|
+
45
|
679
|
+
46
|
680
|
+
47</pre>
|
681
|
+
</td>
|
682
|
+
<td>
|
683
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/filter.rb', line 45</span>
|
684
|
+
|
685
|
+
<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>
|
686
|
+
<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>
|
687
|
+
<span class='kw'>end</span></pre>
|
688
|
+
</td>
|
689
|
+
</tr>
|
690
|
+
</table>
|
691
|
+
</div>
|
692
|
+
|
693
|
+
<div class="method_details ">
|
694
|
+
<h3 class="signature " id="index-instance_method">
|
695
|
+
|
696
|
+
- (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
</h3><div class="docstring">
|
703
|
+
<div class="discussion">
|
704
|
+
|
705
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
706
|
+
|
707
|
+
|
708
|
+
</div>
|
709
|
+
</div>
|
710
|
+
<div class="tags">
|
711
|
+
<p class="tag_title">Parameters:</p>
|
712
|
+
<ul class="param">
|
713
|
+
|
714
|
+
<li>
|
715
|
+
|
716
|
+
<span class='name'>params</span>
|
717
|
+
|
718
|
+
|
719
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
720
|
+
|
721
|
+
|
722
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
723
|
+
|
724
|
+
|
725
|
+
—
|
726
|
+
<div class='inline'>
|
727
|
+
<p>a hash of params to be passed to the service</p>
|
728
|
+
</div>
|
729
|
+
|
730
|
+
</li>
|
731
|
+
|
732
|
+
<li>
|
733
|
+
|
734
|
+
<span class='name'>headers</span>
|
735
|
+
|
736
|
+
|
737
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
738
|
+
|
739
|
+
|
740
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
741
|
+
|
742
|
+
|
743
|
+
—
|
744
|
+
<div class='inline'>
|
745
|
+
<p>additional http headers</p>
|
746
|
+
</div>
|
747
|
+
|
748
|
+
</li>
|
749
|
+
|
750
|
+
</ul>
|
751
|
+
|
752
|
+
|
753
|
+
|
754
|
+
|
755
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
756
|
+
<ul class="option">
|
757
|
+
|
758
|
+
<li>
|
759
|
+
<span class="name">content_view_definition_id</span>
|
760
|
+
<span class="type">(<tt>String</tt>)</span>
|
761
|
+
<span class="default">
|
762
|
+
|
763
|
+
</span>
|
764
|
+
|
765
|
+
— <div class='inline'>
|
766
|
+
<p>id of the content view definition</p>
|
767
|
+
</div>
|
768
|
+
|
769
|
+
</li>
|
770
|
+
|
771
|
+
</ul>
|
772
|
+
|
773
|
+
|
774
|
+
|
775
|
+
|
776
|
+
<p class="tag_title">Returns:</p>
|
777
|
+
<ul class="return">
|
778
|
+
|
779
|
+
<li>
|
780
|
+
|
781
|
+
|
782
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
—
|
787
|
+
<div class='inline'>
|
788
|
+
<p>First item: parsed data; second item: raw body</p>
|
789
|
+
</div>
|
790
|
+
|
791
|
+
</li>
|
792
|
+
|
793
|
+
</ul>
|
794
|
+
|
795
|
+
</div><table class="source_code">
|
796
|
+
<tr>
|
797
|
+
<td>
|
798
|
+
<pre class="lines">
|
799
|
+
|
800
|
+
|
801
|
+
13
|
802
|
+
14
|
803
|
+
15</pre>
|
804
|
+
</td>
|
805
|
+
<td>
|
806
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/filter.rb', line 13</span>
|
807
|
+
|
808
|
+
<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>
|
809
|
+
<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>
|
810
|
+
<span class='kw'>end</span></pre>
|
811
|
+
</td>
|
812
|
+
</tr>
|
813
|
+
</table>
|
814
|
+
</div>
|
815
|
+
|
816
|
+
<div class="method_details ">
|
817
|
+
<h3 class="signature " id="list_products-instance_method">
|
818
|
+
|
819
|
+
- (<tt>Array</tt>) <strong>list_products</strong>(params = {}, headers = {})
|
820
|
+
|
821
|
+
|
822
|
+
|
823
|
+
|
824
|
+
|
825
|
+
</h3><div class="docstring">
|
826
|
+
<div class="discussion">
|
827
|
+
|
828
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
829
|
+
|
830
|
+
|
831
|
+
</div>
|
832
|
+
</div>
|
833
|
+
<div class="tags">
|
834
|
+
<p class="tag_title">Parameters:</p>
|
835
|
+
<ul class="param">
|
836
|
+
|
837
|
+
<li>
|
838
|
+
|
839
|
+
<span class='name'>params</span>
|
840
|
+
|
841
|
+
|
842
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
843
|
+
|
844
|
+
|
845
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
846
|
+
|
847
|
+
|
848
|
+
—
|
849
|
+
<div class='inline'>
|
850
|
+
<p>a hash of params to be passed to the service</p>
|
851
|
+
</div>
|
852
|
+
|
853
|
+
</li>
|
854
|
+
|
855
|
+
<li>
|
856
|
+
|
857
|
+
<span class='name'>headers</span>
|
858
|
+
|
859
|
+
|
860
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
861
|
+
|
862
|
+
|
863
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
864
|
+
|
865
|
+
|
866
|
+
—
|
867
|
+
<div class='inline'>
|
868
|
+
<p>additional http headers</p>
|
869
|
+
</div>
|
870
|
+
|
871
|
+
</li>
|
872
|
+
|
873
|
+
</ul>
|
874
|
+
|
875
|
+
|
876
|
+
|
877
|
+
|
878
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
879
|
+
<ul class="option">
|
880
|
+
|
881
|
+
<li>
|
882
|
+
<span class="name">id</span>
|
883
|
+
<span class="type">(<tt>String</tt>)</span>
|
884
|
+
<span class="default">
|
885
|
+
|
886
|
+
</span>
|
887
|
+
|
888
|
+
— <div class='inline'>
|
889
|
+
<p>name of the filter</p>
|
890
|
+
</div>
|
891
|
+
|
892
|
+
</li>
|
893
|
+
|
894
|
+
<li>
|
895
|
+
<span class="name">content_view_definition_id</span>
|
896
|
+
<span class="type">(<tt>String</tt>)</span>
|
897
|
+
<span class="default">
|
898
|
+
|
899
|
+
</span>
|
900
|
+
|
901
|
+
— <div class='inline'>
|
902
|
+
<p>id of the content view definition</p>
|
903
|
+
</div>
|
904
|
+
|
905
|
+
</li>
|
906
|
+
|
907
|
+
</ul>
|
908
|
+
|
909
|
+
|
910
|
+
|
911
|
+
|
912
|
+
<p class="tag_title">Returns:</p>
|
913
|
+
<ul class="return">
|
914
|
+
|
915
|
+
<li>
|
916
|
+
|
917
|
+
|
918
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
919
|
+
|
920
|
+
|
921
|
+
|
922
|
+
—
|
923
|
+
<div class='inline'>
|
924
|
+
<p>First item: parsed data; second item: raw body</p>
|
925
|
+
</div>
|
926
|
+
|
927
|
+
</li>
|
928
|
+
|
929
|
+
</ul>
|
930
|
+
|
931
|
+
</div><table class="source_code">
|
932
|
+
<tr>
|
933
|
+
<td>
|
934
|
+
<pre class="lines">
|
935
|
+
|
936
|
+
|
937
|
+
55
|
938
|
+
56
|
939
|
+
57</pre>
|
940
|
+
</td>
|
941
|
+
<td>
|
942
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/filter.rb', line 55</span>
|
943
|
+
|
944
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_list_products'>list_products</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>
|
945
|
+
<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>
|
946
|
+
<span class='kw'>end</span></pre>
|
947
|
+
</td>
|
948
|
+
</tr>
|
949
|
+
</table>
|
950
|
+
</div>
|
951
|
+
|
952
|
+
<div class="method_details ">
|
953
|
+
<h3 class="signature " id="list_repositories-instance_method">
|
954
|
+
|
955
|
+
- (<tt>Array</tt>) <strong>list_repositories</strong>(params = {}, headers = {})
|
956
|
+
|
957
|
+
|
958
|
+
|
959
|
+
|
960
|
+
|
961
|
+
</h3><div class="docstring">
|
962
|
+
<div class="discussion">
|
963
|
+
|
964
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
965
|
+
|
966
|
+
|
967
|
+
</div>
|
968
|
+
</div>
|
969
|
+
<div class="tags">
|
970
|
+
<p class="tag_title">Parameters:</p>
|
971
|
+
<ul class="param">
|
972
|
+
|
973
|
+
<li>
|
974
|
+
|
975
|
+
<span class='name'>params</span>
|
976
|
+
|
977
|
+
|
978
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
979
|
+
|
980
|
+
|
981
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
982
|
+
|
983
|
+
|
984
|
+
—
|
985
|
+
<div class='inline'>
|
986
|
+
<p>a hash of params to be passed to the service</p>
|
987
|
+
</div>
|
988
|
+
|
989
|
+
</li>
|
990
|
+
|
991
|
+
<li>
|
992
|
+
|
993
|
+
<span class='name'>headers</span>
|
994
|
+
|
995
|
+
|
996
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
997
|
+
|
998
|
+
|
999
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1000
|
+
|
1001
|
+
|
1002
|
+
—
|
1003
|
+
<div class='inline'>
|
1004
|
+
<p>additional http headers</p>
|
1005
|
+
</div>
|
1006
|
+
|
1007
|
+
</li>
|
1008
|
+
|
1009
|
+
</ul>
|
1010
|
+
|
1011
|
+
|
1012
|
+
|
1013
|
+
|
1014
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
1015
|
+
<ul class="option">
|
1016
|
+
|
1017
|
+
<li>
|
1018
|
+
<span class="name">id</span>
|
1019
|
+
<span class="type">(<tt>String</tt>)</span>
|
1020
|
+
<span class="default">
|
1021
|
+
|
1022
|
+
</span>
|
1023
|
+
|
1024
|
+
— <div class='inline'>
|
1025
|
+
<p>name of the filter</p>
|
1026
|
+
</div>
|
1027
|
+
|
1028
|
+
</li>
|
1029
|
+
|
1030
|
+
<li>
|
1031
|
+
<span class="name">content_view_definition_id</span>
|
1032
|
+
<span class="type">(<tt>String</tt>)</span>
|
1033
|
+
<span class="default">
|
1034
|
+
|
1035
|
+
</span>
|
1036
|
+
|
1037
|
+
— <div class='inline'>
|
1038
|
+
<p>id of the content view definition</p>
|
1039
|
+
</div>
|
1040
|
+
|
1041
|
+
</li>
|
1042
|
+
|
1043
|
+
</ul>
|
1044
|
+
|
1045
|
+
|
1046
|
+
|
1047
|
+
|
1048
|
+
<p class="tag_title">Returns:</p>
|
1049
|
+
<ul class="return">
|
1050
|
+
|
1051
|
+
<li>
|
1052
|
+
|
1053
|
+
|
1054
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1055
|
+
|
1056
|
+
|
1057
|
+
|
1058
|
+
—
|
1059
|
+
<div class='inline'>
|
1060
|
+
<p>First item: parsed data; second item: raw body</p>
|
1061
|
+
</div>
|
1062
|
+
|
1063
|
+
</li>
|
1064
|
+
|
1065
|
+
</ul>
|
1066
|
+
|
1067
|
+
</div><table class="source_code">
|
1068
|
+
<tr>
|
1069
|
+
<td>
|
1070
|
+
<pre class="lines">
|
1071
|
+
|
1072
|
+
|
1073
|
+
76
|
1074
|
+
77
|
1075
|
+
78</pre>
|
1076
|
+
</td>
|
1077
|
+
<td>
|
1078
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/filter.rb', line 76</span>
|
1079
|
+
|
1080
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_list_repositories'>list_repositories</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>
|
1081
|
+
<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>
|
1082
|
+
<span class='kw'>end</span></pre>
|
1083
|
+
</td>
|
1084
|
+
</tr>
|
1085
|
+
</table>
|
1086
|
+
</div>
|
1087
|
+
|
1088
|
+
<div class="method_details ">
|
1089
|
+
<h3 class="signature " id="show-instance_method">
|
1090
|
+
|
1091
|
+
- (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
|
1092
|
+
|
1093
|
+
|
1094
|
+
|
1095
|
+
|
1096
|
+
|
1097
|
+
</h3><div class="docstring">
|
1098
|
+
<div class="discussion">
|
1099
|
+
|
1100
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1101
|
+
|
1102
|
+
|
1103
|
+
</div>
|
1104
|
+
</div>
|
1105
|
+
<div class="tags">
|
1106
|
+
<p class="tag_title">Parameters:</p>
|
1107
|
+
<ul class="param">
|
1108
|
+
|
1109
|
+
<li>
|
1110
|
+
|
1111
|
+
<span class='name'>params</span>
|
1112
|
+
|
1113
|
+
|
1114
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1115
|
+
|
1116
|
+
|
1117
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1118
|
+
|
1119
|
+
|
1120
|
+
—
|
1121
|
+
<div class='inline'>
|
1122
|
+
<p>a hash of params to be passed to the service</p>
|
1123
|
+
</div>
|
1124
|
+
|
1125
|
+
</li>
|
1126
|
+
|
1127
|
+
<li>
|
1128
|
+
|
1129
|
+
<span class='name'>headers</span>
|
1130
|
+
|
1131
|
+
|
1132
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1133
|
+
|
1134
|
+
|
1135
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1136
|
+
|
1137
|
+
|
1138
|
+
—
|
1139
|
+
<div class='inline'>
|
1140
|
+
<p>additional http headers</p>
|
1141
|
+
</div>
|
1142
|
+
|
1143
|
+
</li>
|
1144
|
+
|
1145
|
+
</ul>
|
1146
|
+
|
1147
|
+
|
1148
|
+
|
1149
|
+
|
1150
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
1151
|
+
<ul class="option">
|
1152
|
+
|
1153
|
+
<li>
|
1154
|
+
<span class="name">id</span>
|
1155
|
+
<span class="type">(<tt>String</tt>)</span>
|
1156
|
+
<span class="default">
|
1157
|
+
|
1158
|
+
</span>
|
1159
|
+
|
1160
|
+
— <div class='inline'>
|
1161
|
+
<p>name of the filter</p>
|
1162
|
+
</div>
|
1163
|
+
|
1164
|
+
</li>
|
1165
|
+
|
1166
|
+
<li>
|
1167
|
+
<span class="name">content_view_definition_id</span>
|
1168
|
+
<span class="type">(<tt>String</tt>)</span>
|
1169
|
+
<span class="default">
|
1170
|
+
|
1171
|
+
</span>
|
1172
|
+
|
1173
|
+
— <div class='inline'>
|
1174
|
+
<p>id of the content view definition</p>
|
1175
|
+
</div>
|
1176
|
+
|
1177
|
+
</li>
|
1178
|
+
|
1179
|
+
</ul>
|
1180
|
+
|
1181
|
+
|
1182
|
+
|
1183
|
+
|
1184
|
+
<p class="tag_title">Returns:</p>
|
1185
|
+
<ul class="return">
|
1186
|
+
|
1187
|
+
<li>
|
1188
|
+
|
1189
|
+
|
1190
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1191
|
+
|
1192
|
+
|
1193
|
+
|
1194
|
+
—
|
1195
|
+
<div class='inline'>
|
1196
|
+
<p>First item: parsed data; second item: raw body</p>
|
1197
|
+
</div>
|
1198
|
+
|
1199
|
+
</li>
|
1200
|
+
|
1201
|
+
</ul>
|
1202
|
+
|
1203
|
+
</div><table class="source_code">
|
1204
|
+
<tr>
|
1205
|
+
<td>
|
1206
|
+
<pre class="lines">
|
1207
|
+
|
1208
|
+
|
1209
|
+
35
|
1210
|
+
36
|
1211
|
+
37</pre>
|
1212
|
+
</td>
|
1213
|
+
<td>
|
1214
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/filter.rb', line 35</span>
|
1215
|
+
|
1216
|
+
<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>
|
1217
|
+
<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>
|
1218
|
+
<span class='kw'>end</span></pre>
|
1219
|
+
</td>
|
1220
|
+
</tr>
|
1221
|
+
</table>
|
1222
|
+
</div>
|
1223
|
+
|
1224
|
+
<div class="method_details ">
|
1225
|
+
<h3 class="signature " id="update_products-instance_method">
|
1226
|
+
|
1227
|
+
- (<tt>Array</tt>) <strong>update_products</strong>(params = {}, headers = {})
|
1228
|
+
|
1229
|
+
|
1230
|
+
|
1231
|
+
|
1232
|
+
|
1233
|
+
</h3><div class="docstring">
|
1234
|
+
<div class="discussion">
|
1235
|
+
|
1236
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1237
|
+
|
1238
|
+
|
1239
|
+
</div>
|
1240
|
+
</div>
|
1241
|
+
<div class="tags">
|
1242
|
+
<p class="tag_title">Parameters:</p>
|
1243
|
+
<ul class="param">
|
1244
|
+
|
1245
|
+
<li>
|
1246
|
+
|
1247
|
+
<span class='name'>params</span>
|
1248
|
+
|
1249
|
+
|
1250
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1251
|
+
|
1252
|
+
|
1253
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1254
|
+
|
1255
|
+
|
1256
|
+
—
|
1257
|
+
<div class='inline'>
|
1258
|
+
<p>a hash of params to be passed to the service</p>
|
1259
|
+
</div>
|
1260
|
+
|
1261
|
+
</li>
|
1262
|
+
|
1263
|
+
<li>
|
1264
|
+
|
1265
|
+
<span class='name'>headers</span>
|
1266
|
+
|
1267
|
+
|
1268
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1269
|
+
|
1270
|
+
|
1271
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1272
|
+
|
1273
|
+
|
1274
|
+
—
|
1275
|
+
<div class='inline'>
|
1276
|
+
<p>additional http headers</p>
|
1277
|
+
</div>
|
1278
|
+
|
1279
|
+
</li>
|
1280
|
+
|
1281
|
+
</ul>
|
1282
|
+
|
1283
|
+
|
1284
|
+
|
1285
|
+
|
1286
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
1287
|
+
<ul class="option">
|
1288
|
+
|
1289
|
+
<li>
|
1290
|
+
<span class="name">id</span>
|
1291
|
+
<span class="type">(<tt>String</tt>)</span>
|
1292
|
+
<span class="default">
|
1293
|
+
|
1294
|
+
</span>
|
1295
|
+
|
1296
|
+
— <div class='inline'>
|
1297
|
+
<p>name of the filter</p>
|
1298
|
+
</div>
|
1299
|
+
|
1300
|
+
</li>
|
1301
|
+
|
1302
|
+
<li>
|
1303
|
+
<span class="name">content_view_definition_id</span>
|
1304
|
+
<span class="type">(<tt>String</tt>)</span>
|
1305
|
+
<span class="default">
|
1306
|
+
|
1307
|
+
</span>
|
1308
|
+
|
1309
|
+
— <div class='inline'>
|
1310
|
+
<p>content view definition identifier</p>
|
1311
|
+
</div>
|
1312
|
+
|
1313
|
+
</li>
|
1314
|
+
|
1315
|
+
<li>
|
1316
|
+
<span class="name">products</span>
|
1317
|
+
<span class="type">(<tt>Array</tt>)</span>
|
1318
|
+
<span class="default">
|
1319
|
+
|
1320
|
+
</span>
|
1321
|
+
|
1322
|
+
— <div class='inline'>
|
1323
|
+
<p>updated list of product ids</p>
|
1324
|
+
</div>
|
1325
|
+
|
1326
|
+
</li>
|
1327
|
+
|
1328
|
+
</ul>
|
1329
|
+
|
1330
|
+
|
1331
|
+
|
1332
|
+
|
1333
|
+
<p class="tag_title">Returns:</p>
|
1334
|
+
<ul class="return">
|
1335
|
+
|
1336
|
+
<li>
|
1337
|
+
|
1338
|
+
|
1339
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1340
|
+
|
1341
|
+
|
1342
|
+
|
1343
|
+
—
|
1344
|
+
<div class='inline'>
|
1345
|
+
<p>First item: parsed data; second item: raw body</p>
|
1346
|
+
</div>
|
1347
|
+
|
1348
|
+
</li>
|
1349
|
+
|
1350
|
+
</ul>
|
1351
|
+
|
1352
|
+
</div><table class="source_code">
|
1353
|
+
<tr>
|
1354
|
+
<td>
|
1355
|
+
<pre class="lines">
|
1356
|
+
|
1357
|
+
|
1358
|
+
66
|
1359
|
+
67
|
1360
|
+
68</pre>
|
1361
|
+
</td>
|
1362
|
+
<td>
|
1363
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/filter.rb', line 66</span>
|
1364
|
+
|
1365
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_update_products'>update_products</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>
|
1366
|
+
<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>
|
1367
|
+
<span class='kw'>end</span></pre>
|
1368
|
+
</td>
|
1369
|
+
</tr>
|
1370
|
+
</table>
|
1371
|
+
</div>
|
1372
|
+
|
1373
|
+
<div class="method_details ">
|
1374
|
+
<h3 class="signature " id="update_repositories-instance_method">
|
1375
|
+
|
1376
|
+
- (<tt>Array</tt>) <strong>update_repositories</strong>(params = {}, headers = {})
|
1377
|
+
|
1378
|
+
|
1379
|
+
|
1380
|
+
|
1381
|
+
|
1382
|
+
</h3><div class="docstring">
|
1383
|
+
<div class="discussion">
|
1384
|
+
|
1385
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1386
|
+
|
1387
|
+
|
1388
|
+
</div>
|
1389
|
+
</div>
|
1390
|
+
<div class="tags">
|
1391
|
+
<p class="tag_title">Parameters:</p>
|
1392
|
+
<ul class="param">
|
1393
|
+
|
1394
|
+
<li>
|
1395
|
+
|
1396
|
+
<span class='name'>params</span>
|
1397
|
+
|
1398
|
+
|
1399
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1400
|
+
|
1401
|
+
|
1402
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1403
|
+
|
1404
|
+
|
1405
|
+
—
|
1406
|
+
<div class='inline'>
|
1407
|
+
<p>a hash of params to be passed to the service</p>
|
1408
|
+
</div>
|
1409
|
+
|
1410
|
+
</li>
|
1411
|
+
|
1412
|
+
<li>
|
1413
|
+
|
1414
|
+
<span class='name'>headers</span>
|
1415
|
+
|
1416
|
+
|
1417
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1418
|
+
|
1419
|
+
|
1420
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1421
|
+
|
1422
|
+
|
1423
|
+
—
|
1424
|
+
<div class='inline'>
|
1425
|
+
<p>additional http headers</p>
|
1426
|
+
</div>
|
1427
|
+
|
1428
|
+
</li>
|
1429
|
+
|
1430
|
+
</ul>
|
1431
|
+
|
1432
|
+
|
1433
|
+
|
1434
|
+
|
1435
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
1436
|
+
<ul class="option">
|
1437
|
+
|
1438
|
+
<li>
|
1439
|
+
<span class="name">id</span>
|
1440
|
+
<span class="type">(<tt>String</tt>)</span>
|
1441
|
+
<span class="default">
|
1442
|
+
|
1443
|
+
</span>
|
1444
|
+
|
1445
|
+
— <div class='inline'>
|
1446
|
+
<p>name of the filter</p>
|
1447
|
+
</div>
|
1448
|
+
|
1449
|
+
</li>
|
1450
|
+
|
1451
|
+
<li>
|
1452
|
+
<span class="name">content_view_definition_id</span>
|
1453
|
+
<span class="type">(<tt>String</tt>)</span>
|
1454
|
+
<span class="default">
|
1455
|
+
|
1456
|
+
</span>
|
1457
|
+
|
1458
|
+
— <div class='inline'>
|
1459
|
+
<p>id of the content view definition</p>
|
1460
|
+
</div>
|
1461
|
+
|
1462
|
+
</li>
|
1463
|
+
|
1464
|
+
<li>
|
1465
|
+
<span class="name">repos</span>
|
1466
|
+
<span class="type">(<tt>Array</tt>)</span>
|
1467
|
+
<span class="default">
|
1468
|
+
|
1469
|
+
</span>
|
1470
|
+
|
1471
|
+
— <div class='inline'>
|
1472
|
+
<p>updated list of repo ids</p>
|
1473
|
+
</div>
|
1474
|
+
|
1475
|
+
</li>
|
1476
|
+
|
1477
|
+
</ul>
|
1478
|
+
|
1479
|
+
|
1480
|
+
|
1481
|
+
|
1482
|
+
<p class="tag_title">Returns:</p>
|
1483
|
+
<ul class="return">
|
1484
|
+
|
1485
|
+
<li>
|
1486
|
+
|
1487
|
+
|
1488
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1489
|
+
|
1490
|
+
|
1491
|
+
|
1492
|
+
—
|
1493
|
+
<div class='inline'>
|
1494
|
+
<p>First item: parsed data; second item: raw body</p>
|
1495
|
+
</div>
|
1496
|
+
|
1497
|
+
</li>
|
1498
|
+
|
1499
|
+
</ul>
|
1500
|
+
|
1501
|
+
</div><table class="source_code">
|
1502
|
+
<tr>
|
1503
|
+
<td>
|
1504
|
+
<pre class="lines">
|
1505
|
+
|
1506
|
+
|
1507
|
+
87
|
1508
|
+
88
|
1509
|
+
89</pre>
|
1510
|
+
</td>
|
1511
|
+
<td>
|
1512
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/filter.rb', line 87</span>
|
1513
|
+
|
1514
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_update_repositories'>update_repositories</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>
|
1515
|
+
<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>
|
1516
|
+
<span class='kw'>end</span></pre>
|
1517
|
+
</td>
|
1518
|
+
</tr>
|
1519
|
+
</table>
|
1520
|
+
</div>
|
1521
|
+
|
1522
|
+
</div>
|
1523
|
+
|
1524
|
+
</div>
|
1525
|
+
|
1526
|
+
<div id="footer">
|
1527
|
+
Generated on Wed Jan 15 20:45:14 2014 by
|
1528
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1529
|
+
0.8.7.3 (ruby-1.9.3).
|
1530
|
+
</div>
|
1531
|
+
|
1532
|
+
</body>
|
1533
|
+
</html>
|