katello_api 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +2 -0
- data/README.rdoc +0 -4
- data/doc/KatelloApi/Base.html +831 -0
- data/doc/KatelloApi/Generator/Base.html +671 -0
- data/doc/KatelloApi/Generator.html +115 -0
- data/doc/KatelloApi/Resources/ActivationKey.html +1757 -0
- data/doc/KatelloApi/Resources/Architecture.html +1007 -0
- data/doc/KatelloApi/Resources/Changeset.html +1413 -0
- data/doc/KatelloApi/Resources/ChangesetsContent.html +2674 -0
- data/doc/KatelloApi/Resources/ComputeResource.html +1067 -0
- data/doc/KatelloApi/Resources/ConfigTemplate.html +1361 -0
- data/doc/KatelloApi/Resources/ContentView.html +938 -0
- data/doc/KatelloApi/Resources/ContentViewDefinition.html +1629 -0
- data/doc/KatelloApi/Resources/Crl.html +367 -0
- data/doc/KatelloApi/Resources/Distribution.html +560 -0
- data/doc/KatelloApi/Resources/Distributor.html +1892 -0
- data/doc/KatelloApi/Resources/Domain.html +1066 -0
- data/doc/KatelloApi/Resources/Environment.html +1645 -0
- data/doc/KatelloApi/Resources/Erratum.html +632 -0
- data/doc/KatelloApi/Resources/GpgKey.html +1220 -0
- data/doc/KatelloApi/Resources/HardwareModel.html +1025 -0
- data/doc/KatelloApi/Resources/Organization.html +1062 -0
- data/doc/KatelloApi/Resources/Package.html +728 -0
- data/doc/KatelloApi/Resources/Permission.html +1021 -0
- data/doc/KatelloApi/Resources/Ping.html +625 -0
- data/doc/KatelloApi/Resources/Product.html +1845 -0
- data/doc/KatelloApi/Resources/Provider.html +2237 -0
- data/doc/KatelloApi/Resources/Repository.html +1976 -0
- data/doc/KatelloApi/Resources/RepositorySet.html +770 -0
- data/doc/KatelloApi/Resources/Role.html +1257 -0
- data/doc/KatelloApi/Resources/RoleLdapGroup.html +728 -0
- data/doc/KatelloApi/Resources/SmartProxy.html +1054 -0
- data/doc/KatelloApi/Resources/Statu.html +367 -0
- data/doc/KatelloApi/Resources/Subnet.html +1007 -0
- data/doc/KatelloApi/Resources/Subscription.html +1064 -0
- data/doc/KatelloApi/Resources/Sync.html +826 -0
- data/doc/KatelloApi/Resources/SyncPlan.html +1148 -0
- data/doc/KatelloApi/Resources/System.html +3576 -0
- data/doc/KatelloApi/Resources/SystemGroup.html +2006 -0
- data/doc/KatelloApi/Resources/SystemGroupErratum.html +602 -0
- data/doc/KatelloApi/Resources/SystemGroupPackage.html +826 -0
- data/doc/KatelloApi/Resources/SystemPackage.html +770 -0
- data/doc/KatelloApi/Resources/Task.html +546 -0
- data/doc/KatelloApi/Resources/Template.html +1573 -0
- data/doc/KatelloApi/Resources/TemplatesContent.html +2268 -0
- data/doc/KatelloApi/Resources/Uebercert.html +406 -0
- data/doc/KatelloApi/Resources/User.html +1846 -0
- data/doc/KatelloApi/Resources.html +117 -0
- data/doc/KatelloApi.html +365 -0
- data/doc/_index.html +539 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.README.html +127 -0
- data/doc/file_list.html +55 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +127 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +2548 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/katello_api/base.rb +61 -6
- data/lib/katello_api/documentation.json +1 -0
- data/lib/katello_api/resources/activation_key.rb +51 -48
- data/lib/katello_api/resources/architecture.rb +19 -24
- data/lib/katello_api/resources/changeset.rb +39 -37
- data/lib/katello_api/resources/changesets_content.rb +64 -57
- data/lib/katello_api/resources/compute_resource.rb +37 -42
- data/lib/katello_api/resources/config_template.rb +40 -44
- data/lib/katello_api/resources/content_view.rb +14 -17
- data/lib/katello_api/resources/content_view_definition.rb +34 -42
- data/lib/katello_api/resources/crl.rb +3 -4
- data/lib/katello_api/resources/distribution.rb +8 -8
- data/lib/katello_api/resources/distributor.rb +35 -37
- data/lib/katello_api/resources/domain.rb +28 -32
- data/lib/katello_api/resources/environment.rb +38 -44
- data/lib/katello_api/resources/erratum.rb +9 -8
- data/lib/katello_api/resources/gpg_key.rb +28 -33
- data/lib/katello_api/resources/hardware_model.rb +25 -30
- data/lib/katello_api/resources/organization.rb +24 -26
- data/lib/katello_api/resources/package.rb +9 -12
- data/lib/katello_api/resources/permission.rb +21 -19
- data/lib/katello_api/resources/ping.rb +9 -12
- data/lib/katello_api/resources/product.rb +34 -43
- data/lib/katello_api/resources/provider.rb +55 -66
- data/lib/katello_api/resources/repository.rb +44 -55
- data/lib/katello_api/resources/repository_set.rb +9 -12
- data/lib/katello_api/resources/role.rb +35 -33
- data/lib/katello_api/resources/role_ldap_group.rb +10 -12
- data/lib/katello_api/resources/smart_proxy.rb +24 -28
- data/lib/katello_api/resources/statu.rb +3 -4
- data/lib/katello_api/resources/subnet.rb +19 -24
- data/lib/katello_api/resources/subscription.rb +16 -21
- data/lib/katello_api/resources/sync.rb +9 -12
- data/lib/katello_api/resources/sync_plan.rb +28 -33
- data/lib/katello_api/resources/system.rb +81 -90
- data/lib/katello_api/resources/system_group.rb +47 -57
- data/lib/katello_api/resources/system_group_erratum.rb +6 -8
- data/lib/katello_api/resources/system_group_package.rb +15 -18
- data/lib/katello_api/resources/system_package.rb +12 -15
- data/lib/katello_api/resources/task.rb +6 -8
- data/lib/katello_api/resources/template.rb +39 -47
- data/lib/katello_api/resources/templates_content.rb +40 -52
- data/lib/katello_api/resources/uebercert.rb +4 -4
- data/lib/katello_api/resources/user.rb +47 -50
- data/lib/katello_api/version.rb +1 -1
- data/lib/katello_api.rb +0 -13
- metadata +68 -4
@@ -0,0 +1,938 @@
|
|
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::ContentView
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" 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 (C)</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">ContentView</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::ContentView
|
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::ContentView</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/content_view.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="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</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'><p>
|
182
|
+
First item: parsed data; second item: raw body.
|
183
|
+
</p>
|
184
|
+
</div></span>
|
185
|
+
|
186
|
+
</li>
|
187
|
+
|
188
|
+
|
189
|
+
<li class="public ">
|
190
|
+
<span class="summary_signature">
|
191
|
+
|
192
|
+
<a href="#promote-instance_method" title="#promote (instance method)">- (Array) <strong>promote</strong>(params = {}, headers = {}) </a>
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
</span>
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
<span class="summary_desc"><div class='inline'><p>
|
207
|
+
First item: parsed data; second item: raw body.
|
208
|
+
</p>
|
209
|
+
</div></span>
|
210
|
+
|
211
|
+
</li>
|
212
|
+
|
213
|
+
|
214
|
+
<li class="public ">
|
215
|
+
<span class="summary_signature">
|
216
|
+
|
217
|
+
<a href="#refresh-instance_method" title="#refresh (instance method)">- (Array) <strong>refresh</strong>(params = {}, headers = {}) </a>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
</span>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
<span class="summary_desc"><div class='inline'><p>
|
232
|
+
First item: parsed data; second item: raw body.
|
233
|
+
</p>
|
234
|
+
</div></span>
|
235
|
+
|
236
|
+
</li>
|
237
|
+
|
238
|
+
|
239
|
+
<li class="public ">
|
240
|
+
<span class="summary_signature">
|
241
|
+
|
242
|
+
<a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
</span>
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
<span class="summary_desc"><div class='inline'><p>
|
257
|
+
First item: parsed data; second item: raw body.
|
258
|
+
</p>
|
259
|
+
</div></span>
|
260
|
+
|
261
|
+
</li>
|
262
|
+
|
263
|
+
|
264
|
+
</ul>
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
|
277
|
+
<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>
|
278
|
+
<div id="constructor_details" class="method_details_list">
|
279
|
+
<h2>Constructor Details</h2>
|
280
|
+
|
281
|
+
<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>
|
282
|
+
|
283
|
+
</div>
|
284
|
+
|
285
|
+
|
286
|
+
<div id="class_method_details" class="method_details_list">
|
287
|
+
<h2>Class Method Details</h2>
|
288
|
+
|
289
|
+
|
290
|
+
<div class="method_details first">
|
291
|
+
<h3 class="signature first" id="doc-class_method">
|
292
|
+
|
293
|
+
+ (<tt>Object</tt>) <strong>doc</strong>
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
</h3><table class="source_code">
|
300
|
+
<tr>
|
301
|
+
<td>
|
302
|
+
<pre class="lines">
|
303
|
+
|
304
|
+
|
305
|
+
4
|
306
|
+
5
|
307
|
+
6</pre>
|
308
|
+
</td>
|
309
|
+
<td>
|
310
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_view.rb', line 4</span>
|
311
|
+
|
312
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_self self kw'>self</span><span class='dot token'>.</span><span class='rubyid_doc identifier id'>doc</span>
|
313
|
+
<span class='rubyid_@doc ivar id'>@doc</span> <span class='opasgn op'>||=</span> <span class='rubyid_KatelloApi constant id'>KatelloApi</span><span class='dot token'>.</span><span class='rubyid_doc identifier id'>doc</span><span class='lbrack token'>[</span><span class='string val'>'resources'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>"content_views"</span><span class='rbrack token'>]</span>
|
314
|
+
<span class='rubyid_end end kw'>end</span>
|
315
|
+
</pre>
|
316
|
+
</td>
|
317
|
+
</tr>
|
318
|
+
</table>
|
319
|
+
</div>
|
320
|
+
|
321
|
+
</div>
|
322
|
+
|
323
|
+
<div id="instance_method_details" class="method_details_list">
|
324
|
+
<h2>Instance Method Details</h2>
|
325
|
+
|
326
|
+
|
327
|
+
<div class="method_details first">
|
328
|
+
<h3 class="signature first" id="index-instance_method">
|
329
|
+
|
330
|
+
- (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
</h3><div class="docstring">
|
337
|
+
<div class="discussion">
|
338
|
+
<p>
|
339
|
+
First item: parsed data; second item: raw body
|
340
|
+
</p>
|
341
|
+
|
342
|
+
|
343
|
+
</div>
|
344
|
+
</div>
|
345
|
+
<div class="tags">
|
346
|
+
<p class="tag_title">Parameters:</p>
|
347
|
+
<ul class="param">
|
348
|
+
|
349
|
+
<li>
|
350
|
+
|
351
|
+
<span class='name'>params</span>
|
352
|
+
|
353
|
+
|
354
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
355
|
+
|
356
|
+
|
357
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
358
|
+
|
359
|
+
|
360
|
+
—
|
361
|
+
<div class='inline'><p>
|
362
|
+
a hash of params to be passed to the service
|
363
|
+
</p>
|
364
|
+
</div>
|
365
|
+
|
366
|
+
</li>
|
367
|
+
|
368
|
+
<li>
|
369
|
+
|
370
|
+
<span class='name'>headers</span>
|
371
|
+
|
372
|
+
|
373
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
374
|
+
|
375
|
+
|
376
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
377
|
+
|
378
|
+
|
379
|
+
—
|
380
|
+
<div class='inline'><p>
|
381
|
+
additional http headers
|
382
|
+
</p>
|
383
|
+
</div>
|
384
|
+
|
385
|
+
</li>
|
386
|
+
|
387
|
+
</ul>
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
393
|
+
<ul class="option">
|
394
|
+
|
395
|
+
<li>
|
396
|
+
<span class="name">id</span>
|
397
|
+
<span class="type">(<tt>String</tt>)</span>
|
398
|
+
<span class="default">
|
399
|
+
|
400
|
+
</span>
|
401
|
+
|
402
|
+
— <div class='inline'><p>
|
403
|
+
content view id
|
404
|
+
</p>
|
405
|
+
</div>
|
406
|
+
|
407
|
+
</li>
|
408
|
+
|
409
|
+
<li>
|
410
|
+
<span class="name">environment_id</span>
|
411
|
+
<span class="type">(<tt>String</tt>)</span>
|
412
|
+
<span class="default">
|
413
|
+
|
414
|
+
</span>
|
415
|
+
|
416
|
+
— <div class='inline'><p>
|
417
|
+
environment identifier
|
418
|
+
</p>
|
419
|
+
</div>
|
420
|
+
|
421
|
+
</li>
|
422
|
+
|
423
|
+
<li>
|
424
|
+
<span class="name">organization_id</span>
|
425
|
+
<span class="type">(<tt>String</tt>)</span>
|
426
|
+
<span class="default">
|
427
|
+
|
428
|
+
</span>
|
429
|
+
|
430
|
+
— <div class='inline'><p>
|
431
|
+
organization identifier
|
432
|
+
</p>
|
433
|
+
</div>
|
434
|
+
|
435
|
+
</li>
|
436
|
+
|
437
|
+
<li>
|
438
|
+
<span class="name">label</span>
|
439
|
+
<span class="type">(<tt>String</tt>)</span>
|
440
|
+
<span class="default">
|
441
|
+
|
442
|
+
</span>
|
443
|
+
|
444
|
+
— <div class='inline'><p>
|
445
|
+
content view label
|
446
|
+
</p>
|
447
|
+
</div>
|
448
|
+
|
449
|
+
</li>
|
450
|
+
|
451
|
+
<li>
|
452
|
+
<span class="name">name</span>
|
453
|
+
<span class="type">(<tt>String</tt>)</span>
|
454
|
+
<span class="default">
|
455
|
+
|
456
|
+
</span>
|
457
|
+
|
458
|
+
— <div class='inline'><p>
|
459
|
+
content view name
|
460
|
+
</p>
|
461
|
+
</div>
|
462
|
+
|
463
|
+
</li>
|
464
|
+
|
465
|
+
</ul>
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
<p class="tag_title">Returns:</p>
|
471
|
+
<ul class="return">
|
472
|
+
|
473
|
+
<li>
|
474
|
+
|
475
|
+
|
476
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
477
|
+
|
478
|
+
|
479
|
+
|
480
|
+
—
|
481
|
+
<div class='inline'><p>
|
482
|
+
First item: parsed data; second item: raw body
|
483
|
+
</p>
|
484
|
+
</div>
|
485
|
+
|
486
|
+
</li>
|
487
|
+
|
488
|
+
</ul>
|
489
|
+
|
490
|
+
</div><table class="source_code">
|
491
|
+
<tr>
|
492
|
+
<td>
|
493
|
+
<pre class="lines">
|
494
|
+
|
495
|
+
|
496
|
+
17
|
497
|
+
18
|
498
|
+
19</pre>
|
499
|
+
</td>
|
500
|
+
<td>
|
501
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_view.rb', line 17</span>
|
502
|
+
|
503
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_index identifier id'>index</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
504
|
+
<span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
|
505
|
+
<span class='rubyid_end end kw'>end</span>
|
506
|
+
</pre>
|
507
|
+
</td>
|
508
|
+
</tr>
|
509
|
+
</table>
|
510
|
+
</div>
|
511
|
+
|
512
|
+
<div class="method_details ">
|
513
|
+
<h3 class="signature " id="promote-instance_method">
|
514
|
+
|
515
|
+
- (<tt>Array</tt>) <strong>promote</strong>(params = {}, headers = {})
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
</h3><div class="docstring">
|
522
|
+
<div class="discussion">
|
523
|
+
<p>
|
524
|
+
First item: parsed data; second item: raw body
|
525
|
+
</p>
|
526
|
+
|
527
|
+
|
528
|
+
</div>
|
529
|
+
</div>
|
530
|
+
<div class="tags">
|
531
|
+
<p class="tag_title">Parameters:</p>
|
532
|
+
<ul class="param">
|
533
|
+
|
534
|
+
<li>
|
535
|
+
|
536
|
+
<span class='name'>params</span>
|
537
|
+
|
538
|
+
|
539
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
540
|
+
|
541
|
+
|
542
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
543
|
+
|
544
|
+
|
545
|
+
—
|
546
|
+
<div class='inline'><p>
|
547
|
+
a hash of params to be passed to the service
|
548
|
+
</p>
|
549
|
+
</div>
|
550
|
+
|
551
|
+
</li>
|
552
|
+
|
553
|
+
<li>
|
554
|
+
|
555
|
+
<span class='name'>headers</span>
|
556
|
+
|
557
|
+
|
558
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
559
|
+
|
560
|
+
|
561
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
562
|
+
|
563
|
+
|
564
|
+
—
|
565
|
+
<div class='inline'><p>
|
566
|
+
additional http headers
|
567
|
+
</p>
|
568
|
+
</div>
|
569
|
+
|
570
|
+
</li>
|
571
|
+
|
572
|
+
</ul>
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
|
577
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
578
|
+
<ul class="option">
|
579
|
+
|
580
|
+
<li>
|
581
|
+
<span class="name">id</span>
|
582
|
+
<span class="type">(<tt>String</tt>)</span>
|
583
|
+
<span class="default">
|
584
|
+
|
585
|
+
</span>
|
586
|
+
|
587
|
+
— <div class='inline'><p>
|
588
|
+
content view id
|
589
|
+
</p>
|
590
|
+
</div>
|
591
|
+
|
592
|
+
</li>
|
593
|
+
|
594
|
+
<li>
|
595
|
+
<span class="name">environment_id</span>
|
596
|
+
<span class="type">(<tt>String</tt>)</span>
|
597
|
+
<span class="default">
|
598
|
+
|
599
|
+
</span>
|
600
|
+
|
601
|
+
— <div class='inline'><p>
|
602
|
+
environment promoting to
|
603
|
+
</p>
|
604
|
+
</div>
|
605
|
+
|
606
|
+
</li>
|
607
|
+
|
608
|
+
</ul>
|
609
|
+
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
<p class="tag_title">Returns:</p>
|
614
|
+
<ul class="return">
|
615
|
+
|
616
|
+
<li>
|
617
|
+
|
618
|
+
|
619
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
620
|
+
|
621
|
+
|
622
|
+
|
623
|
+
—
|
624
|
+
<div class='inline'><p>
|
625
|
+
First item: parsed data; second item: raw body
|
626
|
+
</p>
|
627
|
+
</div>
|
628
|
+
|
629
|
+
</li>
|
630
|
+
|
631
|
+
</ul>
|
632
|
+
|
633
|
+
</div><table class="source_code">
|
634
|
+
<tr>
|
635
|
+
<td>
|
636
|
+
<pre class="lines">
|
637
|
+
|
638
|
+
|
639
|
+
37
|
640
|
+
38
|
641
|
+
39</pre>
|
642
|
+
</td>
|
643
|
+
<td>
|
644
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_view.rb', line 37</span>
|
645
|
+
|
646
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_promote identifier id'>promote</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
647
|
+
<span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
|
648
|
+
<span class='rubyid_end end kw'>end</span>
|
649
|
+
</pre>
|
650
|
+
</td>
|
651
|
+
</tr>
|
652
|
+
</table>
|
653
|
+
</div>
|
654
|
+
|
655
|
+
<div class="method_details ">
|
656
|
+
<h3 class="signature " id="refresh-instance_method">
|
657
|
+
|
658
|
+
- (<tt>Array</tt>) <strong>refresh</strong>(params = {}, headers = {})
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
|
664
|
+
</h3><div class="docstring">
|
665
|
+
<div class="discussion">
|
666
|
+
<p>
|
667
|
+
First item: parsed data; second item: raw body
|
668
|
+
</p>
|
669
|
+
|
670
|
+
|
671
|
+
</div>
|
672
|
+
</div>
|
673
|
+
<div class="tags">
|
674
|
+
<p class="tag_title">Parameters:</p>
|
675
|
+
<ul class="param">
|
676
|
+
|
677
|
+
<li>
|
678
|
+
|
679
|
+
<span class='name'>params</span>
|
680
|
+
|
681
|
+
|
682
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
683
|
+
|
684
|
+
|
685
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
686
|
+
|
687
|
+
|
688
|
+
—
|
689
|
+
<div class='inline'><p>
|
690
|
+
a hash of params to be passed to the service
|
691
|
+
</p>
|
692
|
+
</div>
|
693
|
+
|
694
|
+
</li>
|
695
|
+
|
696
|
+
<li>
|
697
|
+
|
698
|
+
<span class='name'>headers</span>
|
699
|
+
|
700
|
+
|
701
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
702
|
+
|
703
|
+
|
704
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
705
|
+
|
706
|
+
|
707
|
+
—
|
708
|
+
<div class='inline'><p>
|
709
|
+
additional http headers
|
710
|
+
</p>
|
711
|
+
</div>
|
712
|
+
|
713
|
+
</li>
|
714
|
+
|
715
|
+
</ul>
|
716
|
+
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
721
|
+
<ul class="option">
|
722
|
+
|
723
|
+
<li>
|
724
|
+
<span class="name">id</span>
|
725
|
+
<span class="type">(<tt>Object</tt>)</span>
|
726
|
+
<span class="default">
|
727
|
+
|
728
|
+
</span>
|
729
|
+
|
730
|
+
— <div class='inline'><p>
|
731
|
+
Part of <tt>/api/content_views/:id/refresh</tt> path
|
732
|
+
</p>
|
733
|
+
</div>
|
734
|
+
|
735
|
+
</li>
|
736
|
+
|
737
|
+
</ul>
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
<p class="tag_title">Returns:</p>
|
743
|
+
<ul class="return">
|
744
|
+
|
745
|
+
<li>
|
746
|
+
|
747
|
+
|
748
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
749
|
+
|
750
|
+
|
751
|
+
|
752
|
+
—
|
753
|
+
<div class='inline'><p>
|
754
|
+
First item: parsed data; second item: raw body
|
755
|
+
</p>
|
756
|
+
</div>
|
757
|
+
|
758
|
+
</li>
|
759
|
+
|
760
|
+
</ul>
|
761
|
+
|
762
|
+
</div><table class="source_code">
|
763
|
+
<tr>
|
764
|
+
<td>
|
765
|
+
<pre class="lines">
|
766
|
+
|
767
|
+
|
768
|
+
46
|
769
|
+
47
|
770
|
+
48</pre>
|
771
|
+
</td>
|
772
|
+
<td>
|
773
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_view.rb', line 46</span>
|
774
|
+
|
775
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_refresh identifier id'>refresh</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
776
|
+
<span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
|
777
|
+
<span class='rubyid_end end kw'>end</span>
|
778
|
+
</pre>
|
779
|
+
</td>
|
780
|
+
</tr>
|
781
|
+
</table>
|
782
|
+
</div>
|
783
|
+
|
784
|
+
<div class="method_details ">
|
785
|
+
<h3 class="signature " id="show-instance_method">
|
786
|
+
|
787
|
+
- (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
|
788
|
+
|
789
|
+
|
790
|
+
|
791
|
+
|
792
|
+
|
793
|
+
</h3><div class="docstring">
|
794
|
+
<div class="discussion">
|
795
|
+
<p>
|
796
|
+
First item: parsed data; second item: raw body
|
797
|
+
</p>
|
798
|
+
|
799
|
+
|
800
|
+
</div>
|
801
|
+
</div>
|
802
|
+
<div class="tags">
|
803
|
+
<p class="tag_title">Parameters:</p>
|
804
|
+
<ul class="param">
|
805
|
+
|
806
|
+
<li>
|
807
|
+
|
808
|
+
<span class='name'>params</span>
|
809
|
+
|
810
|
+
|
811
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
812
|
+
|
813
|
+
|
814
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
815
|
+
|
816
|
+
|
817
|
+
—
|
818
|
+
<div class='inline'><p>
|
819
|
+
a hash of params to be passed to the service
|
820
|
+
</p>
|
821
|
+
</div>
|
822
|
+
|
823
|
+
</li>
|
824
|
+
|
825
|
+
<li>
|
826
|
+
|
827
|
+
<span class='name'>headers</span>
|
828
|
+
|
829
|
+
|
830
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
831
|
+
|
832
|
+
|
833
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
834
|
+
|
835
|
+
|
836
|
+
—
|
837
|
+
<div class='inline'><p>
|
838
|
+
additional http headers
|
839
|
+
</p>
|
840
|
+
</div>
|
841
|
+
|
842
|
+
</li>
|
843
|
+
|
844
|
+
</ul>
|
845
|
+
|
846
|
+
|
847
|
+
|
848
|
+
|
849
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
850
|
+
<ul class="option">
|
851
|
+
|
852
|
+
<li>
|
853
|
+
<span class="name">id</span>
|
854
|
+
<span class="type">(<tt>String</tt>)</span>
|
855
|
+
<span class="default">
|
856
|
+
|
857
|
+
</span>
|
858
|
+
|
859
|
+
— <div class='inline'><p>
|
860
|
+
content view id
|
861
|
+
</p>
|
862
|
+
</div>
|
863
|
+
|
864
|
+
</li>
|
865
|
+
|
866
|
+
<li>
|
867
|
+
<span class="name">environment_id</span>
|
868
|
+
<span class="type">(<tt>String</tt>)</span>
|
869
|
+
<span class="default">
|
870
|
+
|
871
|
+
</span>
|
872
|
+
|
873
|
+
— <div class='inline'><p>
|
874
|
+
environment id
|
875
|
+
</p>
|
876
|
+
</div>
|
877
|
+
|
878
|
+
</li>
|
879
|
+
|
880
|
+
</ul>
|
881
|
+
|
882
|
+
|
883
|
+
|
884
|
+
|
885
|
+
<p class="tag_title">Returns:</p>
|
886
|
+
<ul class="return">
|
887
|
+
|
888
|
+
<li>
|
889
|
+
|
890
|
+
|
891
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
892
|
+
|
893
|
+
|
894
|
+
|
895
|
+
—
|
896
|
+
<div class='inline'><p>
|
897
|
+
First item: parsed data; second item: raw body
|
898
|
+
</p>
|
899
|
+
</div>
|
900
|
+
|
901
|
+
</li>
|
902
|
+
|
903
|
+
</ul>
|
904
|
+
|
905
|
+
</div><table class="source_code">
|
906
|
+
<tr>
|
907
|
+
<td>
|
908
|
+
<pre class="lines">
|
909
|
+
|
910
|
+
|
911
|
+
27
|
912
|
+
28
|
913
|
+
29</pre>
|
914
|
+
</td>
|
915
|
+
<td>
|
916
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_view.rb', line 27</span>
|
917
|
+
|
918
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_show identifier id'>show</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
919
|
+
<span class='rubyid_perform_call identifier id'>perform_call</span><span class='lparen token'>(</span><span class='rubyid___method__ identifier id'>__method__</span><span class='comma token'>,</span> <span class='rubyid_params identifier id'>params</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span><span class='rparen token'>)</span>
|
920
|
+
<span class='rubyid_end end kw'>end</span>
|
921
|
+
</pre>
|
922
|
+
</td>
|
923
|
+
</tr>
|
924
|
+
</table>
|
925
|
+
</div>
|
926
|
+
|
927
|
+
</div>
|
928
|
+
|
929
|
+
</div>
|
930
|
+
|
931
|
+
<div id="footer">
|
932
|
+
Generated on Mon Mar 18 14:17:48 2013 by
|
933
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
934
|
+
0.8.5.2 (ruby-1.8.7).
|
935
|
+
</div>
|
936
|
+
|
937
|
+
</body>
|
938
|
+
</html>
|