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.
Files changed (111) hide show
  1. data/.gitignore +2 -0
  2. data/Gemfile +2 -0
  3. data/README.rdoc +0 -4
  4. data/doc/KatelloApi/Base.html +831 -0
  5. data/doc/KatelloApi/Generator/Base.html +671 -0
  6. data/doc/KatelloApi/Generator.html +115 -0
  7. data/doc/KatelloApi/Resources/ActivationKey.html +1757 -0
  8. data/doc/KatelloApi/Resources/Architecture.html +1007 -0
  9. data/doc/KatelloApi/Resources/Changeset.html +1413 -0
  10. data/doc/KatelloApi/Resources/ChangesetsContent.html +2674 -0
  11. data/doc/KatelloApi/Resources/ComputeResource.html +1067 -0
  12. data/doc/KatelloApi/Resources/ConfigTemplate.html +1361 -0
  13. data/doc/KatelloApi/Resources/ContentView.html +938 -0
  14. data/doc/KatelloApi/Resources/ContentViewDefinition.html +1629 -0
  15. data/doc/KatelloApi/Resources/Crl.html +367 -0
  16. data/doc/KatelloApi/Resources/Distribution.html +560 -0
  17. data/doc/KatelloApi/Resources/Distributor.html +1892 -0
  18. data/doc/KatelloApi/Resources/Domain.html +1066 -0
  19. data/doc/KatelloApi/Resources/Environment.html +1645 -0
  20. data/doc/KatelloApi/Resources/Erratum.html +632 -0
  21. data/doc/KatelloApi/Resources/GpgKey.html +1220 -0
  22. data/doc/KatelloApi/Resources/HardwareModel.html +1025 -0
  23. data/doc/KatelloApi/Resources/Organization.html +1062 -0
  24. data/doc/KatelloApi/Resources/Package.html +728 -0
  25. data/doc/KatelloApi/Resources/Permission.html +1021 -0
  26. data/doc/KatelloApi/Resources/Ping.html +625 -0
  27. data/doc/KatelloApi/Resources/Product.html +1845 -0
  28. data/doc/KatelloApi/Resources/Provider.html +2237 -0
  29. data/doc/KatelloApi/Resources/Repository.html +1976 -0
  30. data/doc/KatelloApi/Resources/RepositorySet.html +770 -0
  31. data/doc/KatelloApi/Resources/Role.html +1257 -0
  32. data/doc/KatelloApi/Resources/RoleLdapGroup.html +728 -0
  33. data/doc/KatelloApi/Resources/SmartProxy.html +1054 -0
  34. data/doc/KatelloApi/Resources/Statu.html +367 -0
  35. data/doc/KatelloApi/Resources/Subnet.html +1007 -0
  36. data/doc/KatelloApi/Resources/Subscription.html +1064 -0
  37. data/doc/KatelloApi/Resources/Sync.html +826 -0
  38. data/doc/KatelloApi/Resources/SyncPlan.html +1148 -0
  39. data/doc/KatelloApi/Resources/System.html +3576 -0
  40. data/doc/KatelloApi/Resources/SystemGroup.html +2006 -0
  41. data/doc/KatelloApi/Resources/SystemGroupErratum.html +602 -0
  42. data/doc/KatelloApi/Resources/SystemGroupPackage.html +826 -0
  43. data/doc/KatelloApi/Resources/SystemPackage.html +770 -0
  44. data/doc/KatelloApi/Resources/Task.html +546 -0
  45. data/doc/KatelloApi/Resources/Template.html +1573 -0
  46. data/doc/KatelloApi/Resources/TemplatesContent.html +2268 -0
  47. data/doc/KatelloApi/Resources/Uebercert.html +406 -0
  48. data/doc/KatelloApi/Resources/User.html +1846 -0
  49. data/doc/KatelloApi/Resources.html +117 -0
  50. data/doc/KatelloApi.html +365 -0
  51. data/doc/_index.html +539 -0
  52. data/doc/class_list.html +53 -0
  53. data/doc/css/common.css +1 -0
  54. data/doc/css/full_list.css +57 -0
  55. data/doc/css/style.css +338 -0
  56. data/doc/file.README.html +127 -0
  57. data/doc/file_list.html +55 -0
  58. data/doc/frames.html +28 -0
  59. data/doc/index.html +127 -0
  60. data/doc/js/app.js +214 -0
  61. data/doc/js/full_list.js +173 -0
  62. data/doc/js/jquery.js +4 -0
  63. data/doc/method_list.html +2548 -0
  64. data/doc/top-level-namespace.html +112 -0
  65. data/lib/katello_api/base.rb +61 -6
  66. data/lib/katello_api/documentation.json +1 -0
  67. data/lib/katello_api/resources/activation_key.rb +51 -48
  68. data/lib/katello_api/resources/architecture.rb +19 -24
  69. data/lib/katello_api/resources/changeset.rb +39 -37
  70. data/lib/katello_api/resources/changesets_content.rb +64 -57
  71. data/lib/katello_api/resources/compute_resource.rb +37 -42
  72. data/lib/katello_api/resources/config_template.rb +40 -44
  73. data/lib/katello_api/resources/content_view.rb +14 -17
  74. data/lib/katello_api/resources/content_view_definition.rb +34 -42
  75. data/lib/katello_api/resources/crl.rb +3 -4
  76. data/lib/katello_api/resources/distribution.rb +8 -8
  77. data/lib/katello_api/resources/distributor.rb +35 -37
  78. data/lib/katello_api/resources/domain.rb +28 -32
  79. data/lib/katello_api/resources/environment.rb +38 -44
  80. data/lib/katello_api/resources/erratum.rb +9 -8
  81. data/lib/katello_api/resources/gpg_key.rb +28 -33
  82. data/lib/katello_api/resources/hardware_model.rb +25 -30
  83. data/lib/katello_api/resources/organization.rb +24 -26
  84. data/lib/katello_api/resources/package.rb +9 -12
  85. data/lib/katello_api/resources/permission.rb +21 -19
  86. data/lib/katello_api/resources/ping.rb +9 -12
  87. data/lib/katello_api/resources/product.rb +34 -43
  88. data/lib/katello_api/resources/provider.rb +55 -66
  89. data/lib/katello_api/resources/repository.rb +44 -55
  90. data/lib/katello_api/resources/repository_set.rb +9 -12
  91. data/lib/katello_api/resources/role.rb +35 -33
  92. data/lib/katello_api/resources/role_ldap_group.rb +10 -12
  93. data/lib/katello_api/resources/smart_proxy.rb +24 -28
  94. data/lib/katello_api/resources/statu.rb +3 -4
  95. data/lib/katello_api/resources/subnet.rb +19 -24
  96. data/lib/katello_api/resources/subscription.rb +16 -21
  97. data/lib/katello_api/resources/sync.rb +9 -12
  98. data/lib/katello_api/resources/sync_plan.rb +28 -33
  99. data/lib/katello_api/resources/system.rb +81 -90
  100. data/lib/katello_api/resources/system_group.rb +47 -57
  101. data/lib/katello_api/resources/system_group_erratum.rb +6 -8
  102. data/lib/katello_api/resources/system_group_package.rb +15 -18
  103. data/lib/katello_api/resources/system_package.rb +12 -15
  104. data/lib/katello_api/resources/task.rb +6 -8
  105. data/lib/katello_api/resources/template.rb +39 -47
  106. data/lib/katello_api/resources/templates_content.rb +40 -52
  107. data/lib/katello_api/resources/uebercert.rb +4 -4
  108. data/lib/katello_api/resources/user.rb +47 -50
  109. data/lib/katello_api/version.rb +1 -1
  110. data/lib/katello_api.rb +0 -13
  111. metadata +68 -4
@@ -0,0 +1,1220 @@
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::GpgKey
8
+
9
+ &mdash; 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 (G)</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">GpgKey</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::GpgKey
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::GpgKey</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/gpg_key.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="#content-instance_method" title="#content (instance method)">- (Array) <strong>content</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="#create-instance_method" title="#create (instance method)">- (Array) <strong>create</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="#destroy-instance_method" title="#destroy (instance method)">- (Array) <strong>destroy</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="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</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
+ <li class="public ">
265
+ <span class="summary_signature">
266
+
267
+ <a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
268
+
269
+
270
+
271
+ </span>
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+ <span class="summary_desc"><div class='inline'><p>
282
+ First item: parsed data; second item: raw body.
283
+ </p>
284
+ </div></span>
285
+
286
+ </li>
287
+
288
+
289
+ <li class="public ">
290
+ <span class="summary_signature">
291
+
292
+ <a href="#update-instance_method" title="#update (instance method)">- (Array) <strong>update</strong>(params = {}, headers = {}) </a>
293
+
294
+
295
+
296
+ </span>
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+ <span class="summary_desc"><div class='inline'><p>
307
+ First item: parsed data; second item: raw body.
308
+ </p>
309
+ </div></span>
310
+
311
+ </li>
312
+
313
+
314
+ </ul>
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
327
+ <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>
328
+ <div id="constructor_details" class="method_details_list">
329
+ <h2>Constructor Details</h2>
330
+
331
+ <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>
332
+
333
+ </div>
334
+
335
+
336
+ <div id="class_method_details" class="method_details_list">
337
+ <h2>Class Method Details</h2>
338
+
339
+
340
+ <div class="method_details first">
341
+ <h3 class="signature first" id="doc-class_method">
342
+
343
+ + (<tt>Object</tt>) <strong>doc</strong>
344
+
345
+
346
+
347
+
348
+
349
+ </h3><table class="source_code">
350
+ <tr>
351
+ <td>
352
+ <pre class="lines">
353
+
354
+
355
+ 4
356
+ 5
357
+ 6</pre>
358
+ </td>
359
+ <td>
360
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 4</span>
361
+
362
+ <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>
363
+ <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'>&quot;gpg_keys&quot;</span><span class='rbrack token'>]</span>
364
+ <span class='rubyid_end end kw'>end</span>
365
+ </pre>
366
+ </td>
367
+ </tr>
368
+ </table>
369
+ </div>
370
+
371
+ </div>
372
+
373
+ <div id="instance_method_details" class="method_details_list">
374
+ <h2>Instance Method Details</h2>
375
+
376
+
377
+ <div class="method_details first">
378
+ <h3 class="signature first" id="content-instance_method">
379
+
380
+ - (<tt>Array</tt>) <strong>content</strong>(params = {}, headers = {})
381
+
382
+
383
+
384
+
385
+
386
+ </h3><div class="docstring">
387
+ <div class="discussion">
388
+ <p>
389
+ First item: parsed data; second item: raw body
390
+ </p>
391
+
392
+
393
+ </div>
394
+ </div>
395
+ <div class="tags">
396
+ <p class="tag_title">Parameters:</p>
397
+ <ul class="param">
398
+
399
+ <li>
400
+
401
+ <span class='name'>params</span>
402
+
403
+
404
+ <span class='type'>(<tt>Hash</tt>)</span>
405
+
406
+
407
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
408
+
409
+
410
+ &mdash;
411
+ <div class='inline'><p>
412
+ a hash of params to be passed to the service
413
+ </p>
414
+ </div>
415
+
416
+ </li>
417
+
418
+ <li>
419
+
420
+ <span class='name'>headers</span>
421
+
422
+
423
+ <span class='type'>(<tt>Hash</tt>)</span>
424
+
425
+
426
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
427
+
428
+
429
+ &mdash;
430
+ <div class='inline'><p>
431
+ additional http headers
432
+ </p>
433
+ </div>
434
+
435
+ </li>
436
+
437
+ </ul>
438
+
439
+
440
+
441
+
442
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
443
+ <ul class="option">
444
+
445
+ <li>
446
+ <span class="name">id</span>
447
+ <span class="type">(<tt>String</tt>)</span>
448
+ <span class="default">
449
+
450
+ </span>
451
+
452
+ &mdash; <div class='inline'><p>
453
+ gpg key numeric identifier
454
+ </p>
455
+ </div>
456
+
457
+ </li>
458
+
459
+ </ul>
460
+
461
+
462
+
463
+
464
+ <p class="tag_title">Returns:</p>
465
+ <ul class="return">
466
+
467
+ <li>
468
+
469
+
470
+ <span class='type'>(<tt>Array</tt>)</span>
471
+
472
+
473
+
474
+ &mdash;
475
+ <div class='inline'><p>
476
+ First item: parsed data; second item: raw body
477
+ </p>
478
+ </div>
479
+
480
+ </li>
481
+
482
+ </ul>
483
+
484
+ </div><table class="source_code">
485
+ <tr>
486
+ <td>
487
+ <pre class="lines">
488
+
489
+
490
+ 67
491
+ 68
492
+ 69</pre>
493
+ </td>
494
+ <td>
495
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 67</span>
496
+
497
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_content identifier id'>content</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>
498
+ <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>
499
+ <span class='rubyid_end end kw'>end</span>
500
+ </pre>
501
+ </td>
502
+ </tr>
503
+ </table>
504
+ </div>
505
+
506
+ <div class="method_details ">
507
+ <h3 class="signature " id="create-instance_method">
508
+
509
+ - (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
510
+
511
+
512
+
513
+
514
+
515
+ </h3><div class="docstring">
516
+ <div class="discussion">
517
+ <p>
518
+ First item: parsed data; second item: raw body
519
+ </p>
520
+
521
+
522
+ </div>
523
+ </div>
524
+ <div class="tags">
525
+ <p class="tag_title">Parameters:</p>
526
+ <ul class="param">
527
+
528
+ <li>
529
+
530
+ <span class='name'>params</span>
531
+
532
+
533
+ <span class='type'>(<tt>Hash</tt>)</span>
534
+
535
+
536
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
537
+
538
+
539
+ &mdash;
540
+ <div class='inline'><p>
541
+ a hash of params to be passed to the service
542
+ </p>
543
+ </div>
544
+
545
+ </li>
546
+
547
+ <li>
548
+
549
+ <span class='name'>headers</span>
550
+
551
+
552
+ <span class='type'>(<tt>Hash</tt>)</span>
553
+
554
+
555
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
556
+
557
+
558
+ &mdash;
559
+ <div class='inline'><p>
560
+ additional http headers
561
+ </p>
562
+ </div>
563
+
564
+ </li>
565
+
566
+ </ul>
567
+
568
+
569
+
570
+
571
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
572
+ <ul class="option">
573
+
574
+ <li>
575
+ <span class="name">organization_id</span>
576
+ <span class="type">(<tt>String</tt>)</span>
577
+ <span class="default">
578
+
579
+ </span>
580
+
581
+ &mdash; <div class='inline'><p>
582
+ organization identifier
583
+ </p>
584
+ </div>
585
+
586
+ </li>
587
+
588
+ <li>
589
+ <span class="name">gpg_key</span>
590
+ <span class="type">(<tt>Hash</tt>)</span>
591
+ <span class="default">
592
+
593
+ </span>
594
+
595
+ &mdash; <div class='inline'><p>
596
+ allowed keys are:
597
+ </p>
598
+ <ul>
599
+ <li>content [String] public key block in der encoding
600
+
601
+ </li>
602
+ <li>name [String] identifier of the gpg key
603
+
604
+ </li>
605
+ </ul>
606
+ </div>
607
+
608
+ </li>
609
+
610
+ </ul>
611
+
612
+
613
+
614
+
615
+ <p class="tag_title">Returns:</p>
616
+ <ul class="return">
617
+
618
+ <li>
619
+
620
+
621
+ <span class='type'>(<tt>Array</tt>)</span>
622
+
623
+
624
+
625
+ &mdash;
626
+ <div class='inline'><p>
627
+ First item: parsed data; second item: raw body
628
+ </p>
629
+ </div>
630
+
631
+ </li>
632
+
633
+ </ul>
634
+
635
+ </div><table class="source_code">
636
+ <tr>
637
+ <td>
638
+ <pre class="lines">
639
+
640
+
641
+ 36
642
+ 37
643
+ 38</pre>
644
+ </td>
645
+ <td>
646
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 36</span>
647
+
648
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_create identifier id'>create</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>
649
+ <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>
650
+ <span class='rubyid_end end kw'>end</span>
651
+ </pre>
652
+ </td>
653
+ </tr>
654
+ </table>
655
+ </div>
656
+
657
+ <div class="method_details ">
658
+ <h3 class="signature " id="destroy-instance_method">
659
+
660
+ - (<tt>Array</tt>) <strong>destroy</strong>(params = {}, headers = {})
661
+
662
+
663
+
664
+
665
+
666
+ </h3><div class="docstring">
667
+ <div class="discussion">
668
+ <p>
669
+ First item: parsed data; second item: raw body
670
+ </p>
671
+
672
+
673
+ </div>
674
+ </div>
675
+ <div class="tags">
676
+ <p class="tag_title">Parameters:</p>
677
+ <ul class="param">
678
+
679
+ <li>
680
+
681
+ <span class='name'>params</span>
682
+
683
+
684
+ <span class='type'>(<tt>Hash</tt>)</span>
685
+
686
+
687
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
688
+
689
+
690
+ &mdash;
691
+ <div class='inline'><p>
692
+ a hash of params to be passed to the service
693
+ </p>
694
+ </div>
695
+
696
+ </li>
697
+
698
+ <li>
699
+
700
+ <span class='name'>headers</span>
701
+
702
+
703
+ <span class='type'>(<tt>Hash</tt>)</span>
704
+
705
+
706
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
707
+
708
+
709
+ &mdash;
710
+ <div class='inline'><p>
711
+ additional http headers
712
+ </p>
713
+ </div>
714
+
715
+ </li>
716
+
717
+ </ul>
718
+
719
+
720
+
721
+
722
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
723
+ <ul class="option">
724
+
725
+ <li>
726
+ <span class="name">id</span>
727
+ <span class="type">(<tt>String</tt>)</span>
728
+ <span class="default">
729
+
730
+ </span>
731
+
732
+ &mdash; <div class='inline'><p>
733
+ gpg key numeric identifier
734
+ </p>
735
+ </div>
736
+
737
+ </li>
738
+
739
+ </ul>
740
+
741
+
742
+
743
+
744
+ <p class="tag_title">Returns:</p>
745
+ <ul class="return">
746
+
747
+ <li>
748
+
749
+
750
+ <span class='type'>(<tt>Array</tt>)</span>
751
+
752
+
753
+
754
+ &mdash;
755
+ <div class='inline'><p>
756
+ First item: parsed data; second item: raw body
757
+ </p>
758
+ </div>
759
+
760
+ </li>
761
+
762
+ </ul>
763
+
764
+ </div><table class="source_code">
765
+ <tr>
766
+ <td>
767
+ <pre class="lines">
768
+
769
+
770
+ 58
771
+ 59
772
+ 60</pre>
773
+ </td>
774
+ <td>
775
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 58</span>
776
+
777
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_destroy identifier id'>destroy</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>
778
+ <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>
779
+ <span class='rubyid_end end kw'>end</span>
780
+ </pre>
781
+ </td>
782
+ </tr>
783
+ </table>
784
+ </div>
785
+
786
+ <div class="method_details ">
787
+ <h3 class="signature " id="index-instance_method">
788
+
789
+ - (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
790
+
791
+
792
+
793
+
794
+
795
+ </h3><div class="docstring">
796
+ <div class="discussion">
797
+ <p>
798
+ First item: parsed data; second item: raw body
799
+ </p>
800
+
801
+
802
+ </div>
803
+ </div>
804
+ <div class="tags">
805
+ <p class="tag_title">Parameters:</p>
806
+ <ul class="param">
807
+
808
+ <li>
809
+
810
+ <span class='name'>params</span>
811
+
812
+
813
+ <span class='type'>(<tt>Hash</tt>)</span>
814
+
815
+
816
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
817
+
818
+
819
+ &mdash;
820
+ <div class='inline'><p>
821
+ a hash of params to be passed to the service
822
+ </p>
823
+ </div>
824
+
825
+ </li>
826
+
827
+ <li>
828
+
829
+ <span class='name'>headers</span>
830
+
831
+
832
+ <span class='type'>(<tt>Hash</tt>)</span>
833
+
834
+
835
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
836
+
837
+
838
+ &mdash;
839
+ <div class='inline'><p>
840
+ additional http headers
841
+ </p>
842
+ </div>
843
+
844
+ </li>
845
+
846
+ </ul>
847
+
848
+
849
+
850
+
851
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
852
+ <ul class="option">
853
+
854
+ <li>
855
+ <span class="name">organization_id</span>
856
+ <span class="type">(<tt>String</tt>)</span>
857
+ <span class="default">
858
+
859
+ </span>
860
+
861
+ &mdash; <div class='inline'><p>
862
+ organization identifier
863
+ </p>
864
+ </div>
865
+
866
+ </li>
867
+
868
+ <li>
869
+ <span class="name">name</span>
870
+ <span class="type">(<tt>String</tt>)</span>
871
+ <span class="default">
872
+
873
+ </span>
874
+
875
+ &mdash; <div class='inline'><p>
876
+ identifier of the gpg key
877
+ </p>
878
+ </div>
879
+
880
+ </li>
881
+
882
+ </ul>
883
+
884
+
885
+
886
+
887
+ <p class="tag_title">Returns:</p>
888
+ <ul class="return">
889
+
890
+ <li>
891
+
892
+
893
+ <span class='type'>(<tt>Array</tt>)</span>
894
+
895
+
896
+
897
+ &mdash;
898
+ <div class='inline'><p>
899
+ First item: parsed data; second item: raw body
900
+ </p>
901
+ </div>
902
+
903
+ </li>
904
+
905
+ </ul>
906
+
907
+ </div><table class="source_code">
908
+ <tr>
909
+ <td>
910
+ <pre class="lines">
911
+
912
+
913
+ 14
914
+ 15
915
+ 16</pre>
916
+ </td>
917
+ <td>
918
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 14</span>
919
+
920
+ <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>
921
+ <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>
922
+ <span class='rubyid_end end kw'>end</span>
923
+ </pre>
924
+ </td>
925
+ </tr>
926
+ </table>
927
+ </div>
928
+
929
+ <div class="method_details ">
930
+ <h3 class="signature " id="show-instance_method">
931
+
932
+ - (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
933
+
934
+
935
+
936
+
937
+
938
+ </h3><div class="docstring">
939
+ <div class="discussion">
940
+ <p>
941
+ First item: parsed data; second item: raw body
942
+ </p>
943
+
944
+
945
+ </div>
946
+ </div>
947
+ <div class="tags">
948
+ <p class="tag_title">Parameters:</p>
949
+ <ul class="param">
950
+
951
+ <li>
952
+
953
+ <span class='name'>params</span>
954
+
955
+
956
+ <span class='type'>(<tt>Hash</tt>)</span>
957
+
958
+
959
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
960
+
961
+
962
+ &mdash;
963
+ <div class='inline'><p>
964
+ a hash of params to be passed to the service
965
+ </p>
966
+ </div>
967
+
968
+ </li>
969
+
970
+ <li>
971
+
972
+ <span class='name'>headers</span>
973
+
974
+
975
+ <span class='type'>(<tt>Hash</tt>)</span>
976
+
977
+
978
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
979
+
980
+
981
+ &mdash;
982
+ <div class='inline'><p>
983
+ additional http headers
984
+ </p>
985
+ </div>
986
+
987
+ </li>
988
+
989
+ </ul>
990
+
991
+
992
+
993
+
994
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
995
+ <ul class="option">
996
+
997
+ <li>
998
+ <span class="name">id</span>
999
+ <span class="type">(<tt>String</tt>)</span>
1000
+ <span class="default">
1001
+
1002
+ </span>
1003
+
1004
+ &mdash; <div class='inline'><p>
1005
+ gpg key numeric identifier
1006
+ </p>
1007
+ </div>
1008
+
1009
+ </li>
1010
+
1011
+ </ul>
1012
+
1013
+
1014
+
1015
+
1016
+ <p class="tag_title">Returns:</p>
1017
+ <ul class="return">
1018
+
1019
+ <li>
1020
+
1021
+
1022
+ <span class='type'>(<tt>Array</tt>)</span>
1023
+
1024
+
1025
+
1026
+ &mdash;
1027
+ <div class='inline'><p>
1028
+ First item: parsed data; second item: raw body
1029
+ </p>
1030
+ </div>
1031
+
1032
+ </li>
1033
+
1034
+ </ul>
1035
+
1036
+ </div><table class="source_code">
1037
+ <tr>
1038
+ <td>
1039
+ <pre class="lines">
1040
+
1041
+
1042
+ 23
1043
+ 24
1044
+ 25</pre>
1045
+ </td>
1046
+ <td>
1047
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 23</span>
1048
+
1049
+ <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>
1050
+ <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>
1051
+ <span class='rubyid_end end kw'>end</span>
1052
+ </pre>
1053
+ </td>
1054
+ </tr>
1055
+ </table>
1056
+ </div>
1057
+
1058
+ <div class="method_details ">
1059
+ <h3 class="signature " id="update-instance_method">
1060
+
1061
+ - (<tt>Array</tt>) <strong>update</strong>(params = {}, headers = {})
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+ </h3><div class="docstring">
1068
+ <div class="discussion">
1069
+ <p>
1070
+ First item: parsed data; second item: raw body
1071
+ </p>
1072
+
1073
+
1074
+ </div>
1075
+ </div>
1076
+ <div class="tags">
1077
+ <p class="tag_title">Parameters:</p>
1078
+ <ul class="param">
1079
+
1080
+ <li>
1081
+
1082
+ <span class='name'>params</span>
1083
+
1084
+
1085
+ <span class='type'>(<tt>Hash</tt>)</span>
1086
+
1087
+
1088
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1089
+
1090
+
1091
+ &mdash;
1092
+ <div class='inline'><p>
1093
+ a hash of params to be passed to the service
1094
+ </p>
1095
+ </div>
1096
+
1097
+ </li>
1098
+
1099
+ <li>
1100
+
1101
+ <span class='name'>headers</span>
1102
+
1103
+
1104
+ <span class='type'>(<tt>Hash</tt>)</span>
1105
+
1106
+
1107
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1108
+
1109
+
1110
+ &mdash;
1111
+ <div class='inline'><p>
1112
+ additional http headers
1113
+ </p>
1114
+ </div>
1115
+
1116
+ </li>
1117
+
1118
+ </ul>
1119
+
1120
+
1121
+
1122
+
1123
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1124
+ <ul class="option">
1125
+
1126
+ <li>
1127
+ <span class="name">id</span>
1128
+ <span class="type">(<tt>Object</tt>)</span>
1129
+ <span class="default">
1130
+
1131
+ </span>
1132
+
1133
+ &mdash; <div class='inline'><p>
1134
+ Part of <tt>/api/gpg_keys/:id</tt> path
1135
+ </p>
1136
+ </div>
1137
+
1138
+ </li>
1139
+
1140
+ <li>
1141
+ <span class="name">gpg_key</span>
1142
+ <span class="type">(<tt>Hash</tt>)</span>
1143
+ <span class="default">
1144
+
1145
+ </span>
1146
+
1147
+ &mdash; <div class='inline'><p>
1148
+ allowed keys are:
1149
+ </p>
1150
+ <ul>
1151
+ <li>content [String] public key block in der encoding
1152
+
1153
+ </li>
1154
+ <li>name [String] identifier of the gpg key
1155
+
1156
+ </li>
1157
+ </ul>
1158
+ </div>
1159
+
1160
+ </li>
1161
+
1162
+ </ul>
1163
+
1164
+
1165
+
1166
+
1167
+ <p class="tag_title">Returns:</p>
1168
+ <ul class="return">
1169
+
1170
+ <li>
1171
+
1172
+
1173
+ <span class='type'>(<tt>Array</tt>)</span>
1174
+
1175
+
1176
+
1177
+ &mdash;
1178
+ <div class='inline'><p>
1179
+ First item: parsed data; second item: raw body
1180
+ </p>
1181
+ </div>
1182
+
1183
+ </li>
1184
+
1185
+ </ul>
1186
+
1187
+ </div><table class="source_code">
1188
+ <tr>
1189
+ <td>
1190
+ <pre class="lines">
1191
+
1192
+
1193
+ 49
1194
+ 50
1195
+ 51</pre>
1196
+ </td>
1197
+ <td>
1198
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 49</span>
1199
+
1200
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_update identifier id'>update</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>
1201
+ <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>
1202
+ <span class='rubyid_end end kw'>end</span>
1203
+ </pre>
1204
+ </td>
1205
+ </tr>
1206
+ </table>
1207
+ </div>
1208
+
1209
+ </div>
1210
+
1211
+ </div>
1212
+
1213
+ <div id="footer">
1214
+ Generated on Mon Mar 18 14:17:43 2013 by
1215
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1216
+ 0.8.5.2 (ruby-1.8.7).
1217
+ </div>
1218
+
1219
+ </body>
1220
+ </html>