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.
Files changed (115) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +3 -0
  3. data/Gemfile +1 -1
  4. data/README.rdoc +22 -13
  5. data/Rakefile +0 -1
  6. data/doc/KatelloApi/Base.html +102 -116
  7. data/doc/KatelloApi/Generator/Base.html +65 -80
  8. data/doc/KatelloApi/Generator.html +5 -5
  9. data/doc/KatelloApi/Resources/About.html +360 -0
  10. data/doc/KatelloApi/Resources/ActivationKey.html +190 -304
  11. data/doc/KatelloApi/Resources/Architecture.html +89 -129
  12. data/doc/KatelloApi/Resources/Changeset.html +156 -399
  13. data/doc/KatelloApi/Resources/ChangesetsContent.html +97 -2215
  14. data/doc/KatelloApi/Resources/ComputeResource.html +131 -189
  15. data/doc/KatelloApi/Resources/ConfigTemplate.html +143 -208
  16. data/doc/KatelloApi/Resources/ContentUpload.html +1046 -0
  17. data/doc/KatelloApi/Resources/ContentView.html +229 -117
  18. data/doc/KatelloApi/Resources/ContentViewDefinition.html +1190 -323
  19. data/doc/KatelloApi/Resources/Crl.html +21 -28
  20. data/doc/KatelloApi/Resources/CustomInfo.html +1110 -0
  21. data/doc/KatelloApi/Resources/Distribution.html +40 -56
  22. data/doc/KatelloApi/Resources/Distributor.html +406 -469
  23. data/doc/KatelloApi/Resources/Domain.html +107 -155
  24. data/doc/KatelloApi/Resources/Environment.html +211 -539
  25. data/doc/KatelloApi/Resources/Erratum.html +56 -90
  26. data/doc/KatelloApi/Resources/Filter.html +1533 -0
  27. data/doc/KatelloApi/Resources/FilterRule.html +591 -0
  28. data/doc/KatelloApi/Resources/GpgKey.html +230 -196
  29. data/doc/KatelloApi/Resources/HardwareModel.html +101 -147
  30. data/doc/KatelloApi/Resources/Organization.html +647 -158
  31. data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +803 -0
  32. data/doc/KatelloApi/Resources/Package.html +57 -81
  33. data/doc/KatelloApi/Resources/Permission.html +109 -197
  34. data/doc/KatelloApi/Resources/Ping.html +37 -179
  35. data/doc/KatelloApi/Resources/Product.html +289 -462
  36. data/doc/KatelloApi/Resources/Provider.html +397 -424
  37. data/doc/KatelloApi/Resources/PuppetModule.html +704 -0
  38. data/doc/KatelloApi/Resources/Repository.html +302 -958
  39. data/doc/KatelloApi/Resources/RepositorySet.html +64 -104
  40. data/doc/KatelloApi/Resources/Role.html +131 -250
  41. data/doc/KatelloApi/Resources/RoleLdapGroup.html +74 -95
  42. data/doc/KatelloApi/Resources/SmartProxy.html +97 -143
  43. data/doc/KatelloApi/Resources/Statu.html +21 -28
  44. data/doc/KatelloApi/Resources/Status.html +360 -0
  45. data/doc/KatelloApi/Resources/Subnet.html +89 -129
  46. data/doc/KatelloApi/Resources/Subscription.html +486 -162
  47. data/doc/KatelloApi/Resources/Sync.html +85 -155
  48. data/doc/KatelloApi/Resources/SyncPlan.html +127 -220
  49. data/doc/KatelloApi/Resources/System.html +913 -925
  50. data/doc/KatelloApi/Resources/SystemErratum.html +557 -0
  51. data/doc/KatelloApi/Resources/SystemGroup.html +634 -408
  52. data/doc/KatelloApi/Resources/SystemGroupErratum.html +47 -66
  53. data/doc/KatelloApi/Resources/SystemGroupPackage.html +77 -108
  54. data/doc/KatelloApi/Resources/SystemPackage.html +734 -108
  55. data/doc/KatelloApi/Resources/SystemsBulkAction.html +1706 -0
  56. data/doc/KatelloApi/Resources/Task.html +38 -53
  57. data/doc/KatelloApi/Resources/Template.html +159 -233
  58. data/doc/KatelloApi/Resources/TemplatesContent.html +214 -312
  59. data/doc/KatelloApi/Resources/Uebercert.html +25 -34
  60. data/doc/KatelloApi/Resources/User.html +204 -433
  61. data/doc/KatelloApi/Resources.html +7 -7
  62. data/doc/KatelloApi.html +21 -26
  63. data/doc/_index.html +87 -9
  64. data/doc/class_list.html +3 -2
  65. data/doc/css/style.css +1 -1
  66. data/doc/file.README.html +60 -54
  67. data/doc/file_list.html +2 -1
  68. data/doc/frames.html +5 -7
  69. data/doc/index.html +60 -54
  70. data/doc/js/app.js +7 -2
  71. data/doc/js/full_list.js +7 -2
  72. data/doc/method_list.html +854 -1225
  73. data/doc/top-level-namespace.html +5 -5
  74. data/katello_api.gemspec +7 -5
  75. data/lib/katello_api/base.rb +9 -8
  76. data/lib/katello_api/documentation.json +1 -1
  77. data/lib/katello_api/resources/about.rb +18 -0
  78. data/lib/katello_api/resources/activation_key.rb +11 -13
  79. data/lib/katello_api/resources/changeset.rb +4 -15
  80. data/lib/katello_api/resources/changesets_content.rb +6 -130
  81. data/lib/katello_api/resources/content_upload.rb +61 -0
  82. data/lib/katello_api/resources/content_view.rb +10 -1
  83. data/lib/katello_api/resources/content_view_definition.rb +65 -3
  84. data/lib/katello_api/resources/custom_info.rb +70 -0
  85. data/lib/katello_api/resources/distributor.rb +33 -18
  86. data/lib/katello_api/resources/environment.rb +20 -41
  87. data/lib/katello_api/resources/erratum.rb +3 -4
  88. data/lib/katello_api/resources/filter.rb +93 -0
  89. data/lib/katello_api/resources/filter_rule.rb +36 -0
  90. data/lib/katello_api/resources/gpg_key.rb +18 -14
  91. data/lib/katello_api/resources/organization.rb +43 -8
  92. data/lib/katello_api/resources/organization_default_info.rb +48 -0
  93. data/lib/katello_api/resources/permission.rb +10 -7
  94. data/lib/katello_api/resources/ping.rb +1 -9
  95. data/lib/katello_api/resources/product.rb +26 -30
  96. data/lib/katello_api/resources/provider.rb +21 -20
  97. data/lib/katello_api/resources/puppet_module.rb +39 -0
  98. data/lib/katello_api/resources/repository.rb +28 -62
  99. data/lib/katello_api/resources/repository_set.rb +1 -2
  100. data/lib/katello_api/resources/role.rb +0 -5
  101. data/lib/katello_api/resources/role_ldap_group.rb +3 -1
  102. data/lib/katello_api/resources/status.rb +18 -0
  103. data/lib/katello_api/resources/subscription.rb +33 -7
  104. data/lib/katello_api/resources/sync.rb +9 -12
  105. data/lib/katello_api/resources/sync_plan.rb +2 -5
  106. data/lib/katello_api/resources/system.rb +95 -73
  107. data/lib/katello_api/resources/system_erratum.rb +30 -0
  108. data/lib/katello_api/resources/system_group.rb +40 -27
  109. data/lib/katello_api/resources/system_group_erratum.rb +1 -1
  110. data/lib/katello_api/resources/system_group_package.rb +6 -6
  111. data/lib/katello_api/resources/system_package.rb +46 -5
  112. data/lib/katello_api/resources/systems_bulk_action.rb +140 -0
  113. data/lib/katello_api/resources/user.rb +14 -18
  114. data/lib/katello_api/version.rb +1 -1
  115. metadata +26 -14
@@ -0,0 +1,1046 @@
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::ContentUpload
8
+
9
+ &mdash; 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 (C)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../KatelloApi.html" title="KatelloApi (module)">KatelloApi</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Resources.html" title="KatelloApi::Resources (module)">Resources</a></span></span>
36
+ &raquo;
37
+ <span class="title">ContentUpload</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::ContentUpload
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::ContentUpload</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_upload.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="#import_into_repo-instance_method" title="#import_into_repo (instance method)">- (Array) <strong>import_into_repo</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="#upload_bits-instance_method" title="#upload_bits (instance method)">- (Array) <strong>upload_bits</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="#upload_file-instance_method" title="#upload_file (instance method)">- (Array) <strong>upload_file</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
+ </ul>
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
297
+ <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>
298
+ <div id="constructor_details" class="method_details_list">
299
+ <h2>Constructor Details</h2>
300
+
301
+ <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>
302
+
303
+ </div>
304
+
305
+
306
+ <div id="class_method_details" class="method_details_list">
307
+ <h2>Class Method Details</h2>
308
+
309
+
310
+ <div class="method_details first">
311
+ <h3 class="signature first" id="doc-class_method">
312
+
313
+ + (<tt>Object</tt>) <strong>doc</strong>
314
+
315
+
316
+
317
+
318
+
319
+ </h3><table class="source_code">
320
+ <tr>
321
+ <td>
322
+ <pre class="lines">
323
+
324
+
325
+ 4
326
+ 5
327
+ 6</pre>
328
+ </td>
329
+ <td>
330
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_upload.rb', line 4</span>
331
+
332
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
333
+ <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'>&quot;</span><span class='tstring_content'>content_uploads</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
334
+ <span class='kw'>end</span></pre>
335
+ </td>
336
+ </tr>
337
+ </table>
338
+ </div>
339
+
340
+ </div>
341
+
342
+ <div id="instance_method_details" class="method_details_list">
343
+ <h2>Instance Method Details</h2>
344
+
345
+
346
+ <div class="method_details first">
347
+ <h3 class="signature first" id="create-instance_method">
348
+
349
+ - (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
350
+
351
+
352
+
353
+
354
+
355
+ </h3><div class="docstring">
356
+ <div class="discussion">
357
+
358
+ <p>Returns First item: parsed data; second item: raw body</p>
359
+
360
+
361
+ </div>
362
+ </div>
363
+ <div class="tags">
364
+ <p class="tag_title">Parameters:</p>
365
+ <ul class="param">
366
+
367
+ <li>
368
+
369
+ <span class='name'>params</span>
370
+
371
+
372
+ <span class='type'>(<tt>Hash</tt>)</span>
373
+
374
+
375
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
376
+
377
+
378
+ &mdash;
379
+ <div class='inline'>
380
+ <p>a hash of params to be passed to the service</p>
381
+ </div>
382
+
383
+ </li>
384
+
385
+ <li>
386
+
387
+ <span class='name'>headers</span>
388
+
389
+
390
+ <span class='type'>(<tt>Hash</tt>)</span>
391
+
392
+
393
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
394
+
395
+
396
+ &mdash;
397
+ <div class='inline'>
398
+ <p>additional http headers</p>
399
+ </div>
400
+
401
+ </li>
402
+
403
+ </ul>
404
+
405
+
406
+
407
+
408
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
409
+ <ul class="option">
410
+
411
+ <li>
412
+ <span class="name">repo_id</span>
413
+ <span class="type">(<tt>String</tt>)</span>
414
+ <span class="default">
415
+
416
+ </span>
417
+
418
+ &mdash; <div class='inline'>
419
+ <p>repository id</p>
420
+ </div>
421
+
422
+ </li>
423
+
424
+ </ul>
425
+
426
+
427
+
428
+
429
+ <p class="tag_title">Returns:</p>
430
+ <ul class="return">
431
+
432
+ <li>
433
+
434
+
435
+ <span class='type'>(<tt>Array</tt>)</span>
436
+
437
+
438
+
439
+ &mdash;
440
+ <div class='inline'>
441
+ <p>First item: parsed data; second item: raw body</p>
442
+ </div>
443
+
444
+ </li>
445
+
446
+ </ul>
447
+
448
+ </div><table class="source_code">
449
+ <tr>
450
+ <td>
451
+ <pre class="lines">
452
+
453
+
454
+ 13
455
+ 14
456
+ 15</pre>
457
+ </td>
458
+ <td>
459
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_upload.rb', line 13</span>
460
+
461
+ <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>
462
+ <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>
463
+ <span class='kw'>end</span></pre>
464
+ </td>
465
+ </tr>
466
+ </table>
467
+ </div>
468
+
469
+ <div class="method_details ">
470
+ <h3 class="signature " id="destroy-instance_method">
471
+
472
+ - (<tt>Array</tt>) <strong>destroy</strong>(params = {}, headers = {})
473
+
474
+
475
+
476
+
477
+
478
+ </h3><div class="docstring">
479
+ <div class="discussion">
480
+
481
+ <p>Returns First item: parsed data; second item: raw body</p>
482
+
483
+
484
+ </div>
485
+ </div>
486
+ <div class="tags">
487
+ <p class="tag_title">Parameters:</p>
488
+ <ul class="param">
489
+
490
+ <li>
491
+
492
+ <span class='name'>params</span>
493
+
494
+
495
+ <span class='type'>(<tt>Hash</tt>)</span>
496
+
497
+
498
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
499
+
500
+
501
+ &mdash;
502
+ <div class='inline'>
503
+ <p>a hash of params to be passed to the service</p>
504
+ </div>
505
+
506
+ </li>
507
+
508
+ <li>
509
+
510
+ <span class='name'>headers</span>
511
+
512
+
513
+ <span class='type'>(<tt>Hash</tt>)</span>
514
+
515
+
516
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
517
+
518
+
519
+ &mdash;
520
+ <div class='inline'>
521
+ <p>additional http headers</p>
522
+ </div>
523
+
524
+ </li>
525
+
526
+ </ul>
527
+
528
+
529
+
530
+
531
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
532
+ <ul class="option">
533
+
534
+ <li>
535
+ <span class="name">id</span>
536
+ <span class="type">(<tt>String</tt>)</span>
537
+ <span class="default">
538
+
539
+ </span>
540
+
541
+ &mdash; <div class='inline'>
542
+ <p>upload request id</p>
543
+ </div>
544
+
545
+ </li>
546
+
547
+ <li>
548
+ <span class="name">repo_id</span>
549
+ <span class="type">(<tt>String</tt>)</span>
550
+ <span class="default">
551
+
552
+ </span>
553
+
554
+ &mdash; <div class='inline'>
555
+ <p>repository id</p>
556
+ </div>
557
+
558
+ </li>
559
+
560
+ </ul>
561
+
562
+
563
+
564
+
565
+ <p class="tag_title">Returns:</p>
566
+ <ul class="return">
567
+
568
+ <li>
569
+
570
+
571
+ <span class='type'>(<tt>Array</tt>)</span>
572
+
573
+
574
+
575
+ &mdash;
576
+ <div class='inline'>
577
+ <p>First item: parsed data; second item: raw body</p>
578
+ </div>
579
+
580
+ </li>
581
+
582
+ </ul>
583
+
584
+ </div><table class="source_code">
585
+ <tr>
586
+ <td>
587
+ <pre class="lines">
588
+
589
+
590
+ 35
591
+ 36
592
+ 37</pre>
593
+ </td>
594
+ <td>
595
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_upload.rb', line 35</span>
596
+
597
+ <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>
598
+ <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>
599
+ <span class='kw'>end</span></pre>
600
+ </td>
601
+ </tr>
602
+ </table>
603
+ </div>
604
+
605
+ <div class="method_details ">
606
+ <h3 class="signature " id="import_into_repo-instance_method">
607
+
608
+ - (<tt>Array</tt>) <strong>import_into_repo</strong>(params = {}, headers = {})
609
+
610
+
611
+
612
+
613
+
614
+ </h3><div class="docstring">
615
+ <div class="discussion">
616
+
617
+ <p>Returns First item: parsed data; second item: raw body</p>
618
+
619
+
620
+ </div>
621
+ </div>
622
+ <div class="tags">
623
+ <p class="tag_title">Parameters:</p>
624
+ <ul class="param">
625
+
626
+ <li>
627
+
628
+ <span class='name'>params</span>
629
+
630
+
631
+ <span class='type'>(<tt>Hash</tt>)</span>
632
+
633
+
634
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
635
+
636
+
637
+ &mdash;
638
+ <div class='inline'>
639
+ <p>a hash of params to be passed to the service</p>
640
+ </div>
641
+
642
+ </li>
643
+
644
+ <li>
645
+
646
+ <span class='name'>headers</span>
647
+
648
+
649
+ <span class='type'>(<tt>Hash</tt>)</span>
650
+
651
+
652
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
653
+
654
+
655
+ &mdash;
656
+ <div class='inline'>
657
+ <p>additional http headers</p>
658
+ </div>
659
+
660
+ </li>
661
+
662
+ </ul>
663
+
664
+
665
+
666
+
667
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
668
+ <ul class="option">
669
+
670
+ <li>
671
+ <span class="name">repo_id</span>
672
+ <span class="type">(<tt>String</tt>)</span>
673
+ <span class="default">
674
+
675
+ </span>
676
+
677
+ &mdash; <div class='inline'>
678
+ <p>repository id</p>
679
+ </div>
680
+
681
+ </li>
682
+
683
+ <li>
684
+ <span class="name">uploads</span>
685
+ <span class="type">(<tt>Array</tt>)</span>
686
+ <span class="default">
687
+
688
+ </span>
689
+
690
+ &mdash; <div class='inline'>
691
+ <p>array of uploads to import</p>
692
+ </div>
693
+
694
+ </li>
695
+
696
+ </ul>
697
+
698
+
699
+
700
+
701
+ <p class="tag_title">Returns:</p>
702
+ <ul class="return">
703
+
704
+ <li>
705
+
706
+
707
+ <span class='type'>(<tt>Array</tt>)</span>
708
+
709
+
710
+
711
+ &mdash;
712
+ <div class='inline'>
713
+ <p>First item: parsed data; second item: raw body</p>
714
+ </div>
715
+
716
+ </li>
717
+
718
+ </ul>
719
+
720
+ </div><table class="source_code">
721
+ <tr>
722
+ <td>
723
+ <pre class="lines">
724
+
725
+
726
+ 45
727
+ 46
728
+ 47</pre>
729
+ </td>
730
+ <td>
731
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_upload.rb', line 45</span>
732
+
733
+ <span class='kw'>def</span> <span class='id identifier rubyid_import_into_repo'>import_into_repo</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>
734
+ <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>
735
+ <span class='kw'>end</span></pre>
736
+ </td>
737
+ </tr>
738
+ </table>
739
+ </div>
740
+
741
+ <div class="method_details ">
742
+ <h3 class="signature " id="upload_bits-instance_method">
743
+
744
+ - (<tt>Array</tt>) <strong>upload_bits</strong>(params = {}, headers = {})
745
+
746
+
747
+
748
+
749
+
750
+ </h3><div class="docstring">
751
+ <div class="discussion">
752
+
753
+ <p>Returns First item: parsed data; second item: raw body</p>
754
+
755
+
756
+ </div>
757
+ </div>
758
+ <div class="tags">
759
+ <p class="tag_title">Parameters:</p>
760
+ <ul class="param">
761
+
762
+ <li>
763
+
764
+ <span class='name'>params</span>
765
+
766
+
767
+ <span class='type'>(<tt>Hash</tt>)</span>
768
+
769
+
770
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
771
+
772
+
773
+ &mdash;
774
+ <div class='inline'>
775
+ <p>a hash of params to be passed to the service</p>
776
+ </div>
777
+
778
+ </li>
779
+
780
+ <li>
781
+
782
+ <span class='name'>headers</span>
783
+
784
+
785
+ <span class='type'>(<tt>Hash</tt>)</span>
786
+
787
+
788
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
789
+
790
+
791
+ &mdash;
792
+ <div class='inline'>
793
+ <p>additional http headers</p>
794
+ </div>
795
+
796
+ </li>
797
+
798
+ </ul>
799
+
800
+
801
+
802
+
803
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
804
+ <ul class="option">
805
+
806
+ <li>
807
+ <span class="name">id</span>
808
+ <span class="type">(<tt>String</tt>)</span>
809
+ <span class="default">
810
+
811
+ </span>
812
+
813
+ &mdash; <div class='inline'>
814
+ <p>upload request id</p>
815
+ </div>
816
+
817
+ </li>
818
+
819
+ <li>
820
+ <span class="name">repo_id</span>
821
+ <span class="type">(<tt>String</tt>)</span>
822
+ <span class="default">
823
+
824
+ </span>
825
+
826
+ &mdash; <div class='inline'>
827
+ <p>repository id</p>
828
+ </div>
829
+
830
+ </li>
831
+
832
+ <li>
833
+ <span class="name">content</span>
834
+ <span class="type">(<tt>String</tt>)</span>
835
+ <span class="default">
836
+
837
+ </span>
838
+
839
+ &mdash; <div class='inline'>
840
+ <p>file contents</p>
841
+ </div>
842
+
843
+ </li>
844
+
845
+ <li>
846
+ <span class="name">offset</span>
847
+ <span class="type">(<tt>String</tt>)</span>
848
+ <span class="default">
849
+
850
+ </span>
851
+
852
+ &mdash; <div class='inline'>
853
+ <p>the offset at which pulp will store the file contents</p>
854
+ </div>
855
+
856
+ </li>
857
+
858
+ </ul>
859
+
860
+
861
+
862
+
863
+ <p class="tag_title">Returns:</p>
864
+ <ul class="return">
865
+
866
+ <li>
867
+
868
+
869
+ <span class='type'>(<tt>Array</tt>)</span>
870
+
871
+
872
+
873
+ &mdash;
874
+ <div class='inline'>
875
+ <p>First item: parsed data; second item: raw body</p>
876
+ </div>
877
+
878
+ </li>
879
+
880
+ </ul>
881
+
882
+ </div><table class="source_code">
883
+ <tr>
884
+ <td>
885
+ <pre class="lines">
886
+
887
+
888
+ 25
889
+ 26
890
+ 27</pre>
891
+ </td>
892
+ <td>
893
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_upload.rb', line 25</span>
894
+
895
+ <span class='kw'>def</span> <span class='id identifier rubyid_upload_bits'>upload_bits</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>
896
+ <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>
897
+ <span class='kw'>end</span></pre>
898
+ </td>
899
+ </tr>
900
+ </table>
901
+ </div>
902
+
903
+ <div class="method_details ">
904
+ <h3 class="signature " id="upload_file-instance_method">
905
+
906
+ - (<tt>Array</tt>) <strong>upload_file</strong>(params = {}, headers = {})
907
+
908
+
909
+
910
+
911
+
912
+ </h3><div class="docstring">
913
+ <div class="discussion">
914
+
915
+ <p>Returns First item: parsed data; second item: raw body</p>
916
+
917
+
918
+ </div>
919
+ </div>
920
+ <div class="tags">
921
+ <p class="tag_title">Parameters:</p>
922
+ <ul class="param">
923
+
924
+ <li>
925
+
926
+ <span class='name'>params</span>
927
+
928
+
929
+ <span class='type'>(<tt>Hash</tt>)</span>
930
+
931
+
932
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
933
+
934
+
935
+ &mdash;
936
+ <div class='inline'>
937
+ <p>a hash of params to be passed to the service</p>
938
+ </div>
939
+
940
+ </li>
941
+
942
+ <li>
943
+
944
+ <span class='name'>headers</span>
945
+
946
+
947
+ <span class='type'>(<tt>Hash</tt>)</span>
948
+
949
+
950
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
951
+
952
+
953
+ &mdash;
954
+ <div class='inline'>
955
+ <p>additional http headers</p>
956
+ </div>
957
+
958
+ </li>
959
+
960
+ </ul>
961
+
962
+
963
+
964
+
965
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
966
+ <ul class="option">
967
+
968
+ <li>
969
+ <span class="name">id</span>
970
+ <span class="type">(<tt>String</tt>)</span>
971
+ <span class="default">
972
+
973
+ </span>
974
+
975
+ </li>
976
+
977
+ <li>
978
+ <span class="name">content</span>
979
+ <span class="type">(<tt>String</tt>)</span>
980
+ <span class="default">
981
+
982
+ </span>
983
+
984
+ &mdash; <div class='inline'>
985
+ <p>file contents</p>
986
+ </div>
987
+
988
+ </li>
989
+
990
+ </ul>
991
+
992
+
993
+
994
+
995
+ <p class="tag_title">Returns:</p>
996
+ <ul class="return">
997
+
998
+ <li>
999
+
1000
+
1001
+ <span class='type'>(<tt>Array</tt>)</span>
1002
+
1003
+
1004
+
1005
+ &mdash;
1006
+ <div class='inline'>
1007
+ <p>First item: parsed data; second item: raw body</p>
1008
+ </div>
1009
+
1010
+ </li>
1011
+
1012
+ </ul>
1013
+
1014
+ </div><table class="source_code">
1015
+ <tr>
1016
+ <td>
1017
+ <pre class="lines">
1018
+
1019
+
1020
+ 55
1021
+ 56
1022
+ 57</pre>
1023
+ </td>
1024
+ <td>
1025
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/content_upload.rb', line 55</span>
1026
+
1027
+ <span class='kw'>def</span> <span class='id identifier rubyid_upload_file'>upload_file</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>
1028
+ <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>
1029
+ <span class='kw'>end</span></pre>
1030
+ </td>
1031
+ </tr>
1032
+ </table>
1033
+ </div>
1034
+
1035
+ </div>
1036
+
1037
+ </div>
1038
+
1039
+ <div id="footer">
1040
+ Generated on Wed Jan 15 20:45:19 2014 by
1041
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1042
+ 0.8.7.3 (ruby-1.9.3).
1043
+ </div>
1044
+
1045
+ </body>
1046
+ </html>