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,1757 @@
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::ActivationKey
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 (A)</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">ActivationKey</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::ActivationKey
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::ActivationKey</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/activation_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="#add_pool-instance_method" title="#add_pool (instance method)">- (Array) <strong>add_pool</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="#add_system_groups-instance_method" title="#add_system_groups (instance method)">- (Array) <strong>add_system_groups</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="#create-instance_method" title="#create (instance method)">- (Array) <strong>create</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="#destroy-instance_method" title="#destroy (instance method)">- (Array) <strong>destroy</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="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</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="#remove_pool-instance_method" title="#remove_pool (instance method)">- (Array) <strong>remove_pool</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
+ <li class="public ">
315
+ <span class="summary_signature">
316
+
317
+ <a href="#remove_system_groups-instance_method" title="#remove_system_groups (instance method)">- (Array) <strong>remove_system_groups</strong>(params = {}, headers = {}) </a>
318
+
319
+
320
+
321
+ </span>
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+
331
+ <span class="summary_desc"><div class='inline'><p>
332
+ First item: parsed data; second item: raw body.
333
+ </p>
334
+ </div></span>
335
+
336
+ </li>
337
+
338
+
339
+ <li class="public ">
340
+ <span class="summary_signature">
341
+
342
+ <a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
343
+
344
+
345
+
346
+ </span>
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+ <span class="summary_desc"><div class='inline'><p>
357
+ First item: parsed data; second item: raw body.
358
+ </p>
359
+ </div></span>
360
+
361
+ </li>
362
+
363
+
364
+ <li class="public ">
365
+ <span class="summary_signature">
366
+
367
+ <a href="#update-instance_method" title="#update (instance method)">- (Array) <strong>update</strong>(params = {}, headers = {}) </a>
368
+
369
+
370
+
371
+ </span>
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+ <span class="summary_desc"><div class='inline'><p>
382
+ First item: parsed data; second item: raw body.
383
+ </p>
384
+ </div></span>
385
+
386
+ </li>
387
+
388
+
389
+ </ul>
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
402
+ <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>
403
+ <div id="constructor_details" class="method_details_list">
404
+ <h2>Constructor Details</h2>
405
+
406
+ <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>
407
+
408
+ </div>
409
+
410
+
411
+ <div id="class_method_details" class="method_details_list">
412
+ <h2>Class Method Details</h2>
413
+
414
+
415
+ <div class="method_details first">
416
+ <h3 class="signature first" id="doc-class_method">
417
+
418
+ + (<tt>Object</tt>) <strong>doc</strong>
419
+
420
+
421
+
422
+
423
+
424
+ </h3><table class="source_code">
425
+ <tr>
426
+ <td>
427
+ <pre class="lines">
428
+
429
+
430
+ 4
431
+ 5
432
+ 6</pre>
433
+ </td>
434
+ <td>
435
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 4</span>
436
+
437
+ <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>
438
+ <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;activation_keys&quot;</span><span class='rbrack token'>]</span>
439
+ <span class='rubyid_end end kw'>end</span>
440
+ </pre>
441
+ </td>
442
+ </tr>
443
+ </table>
444
+ </div>
445
+
446
+ </div>
447
+
448
+ <div id="instance_method_details" class="method_details_list">
449
+ <h2>Instance Method Details</h2>
450
+
451
+
452
+ <div class="method_details first">
453
+ <h3 class="signature first" id="add_pool-instance_method">
454
+
455
+ - (<tt>Array</tt>) <strong>add_pool</strong>(params = {}, headers = {})
456
+
457
+
458
+
459
+
460
+
461
+ </h3><div class="docstring">
462
+ <div class="discussion">
463
+ <p>
464
+ First item: parsed data; second item: raw body
465
+ </p>
466
+
467
+
468
+ </div>
469
+ </div>
470
+ <div class="tags">
471
+ <p class="tag_title">Parameters:</p>
472
+ <ul class="param">
473
+
474
+ <li>
475
+
476
+ <span class='name'>params</span>
477
+
478
+
479
+ <span class='type'>(<tt>Hash</tt>)</span>
480
+
481
+
482
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
483
+
484
+
485
+ &mdash;
486
+ <div class='inline'><p>
487
+ a hash of params to be passed to the service
488
+ </p>
489
+ </div>
490
+
491
+ </li>
492
+
493
+ <li>
494
+
495
+ <span class='name'>headers</span>
496
+
497
+
498
+ <span class='type'>(<tt>Hash</tt>)</span>
499
+
500
+
501
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
502
+
503
+
504
+ &mdash;
505
+ <div class='inline'><p>
506
+ additional http headers
507
+ </p>
508
+ </div>
509
+
510
+ </li>
511
+
512
+ </ul>
513
+
514
+
515
+
516
+
517
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
518
+ <ul class="option">
519
+
520
+ <li>
521
+ <span class="name">id</span>
522
+ <span class="type">(<tt>Object</tt>)</span>
523
+ <span class="default">
524
+
525
+ </span>
526
+
527
+ &mdash; <div class='inline'><p>
528
+ Part of <tt>/api/activation_keys/:id/pools</tt> path
529
+ </p>
530
+ </div>
531
+
532
+ </li>
533
+
534
+ </ul>
535
+
536
+
537
+
538
+
539
+ <p class="tag_title">Returns:</p>
540
+ <ul class="return">
541
+
542
+ <li>
543
+
544
+
545
+ <span class='type'>(<tt>Array</tt>)</span>
546
+
547
+
548
+
549
+ &mdash;
550
+ <div class='inline'><p>
551
+ First item: parsed data; second item: raw body
552
+ </p>
553
+ </div>
554
+
555
+ </li>
556
+
557
+ </ul>
558
+
559
+ </div><table class="source_code">
560
+ <tr>
561
+ <td>
562
+ <pre class="lines">
563
+
564
+
565
+ 62
566
+ 63
567
+ 64</pre>
568
+ </td>
569
+ <td>
570
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 62</span>
571
+
572
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_add_pool identifier id'>add_pool</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>
573
+ <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>
574
+ <span class='rubyid_end end kw'>end</span>
575
+ </pre>
576
+ </td>
577
+ </tr>
578
+ </table>
579
+ </div>
580
+
581
+ <div class="method_details ">
582
+ <h3 class="signature " id="add_system_groups-instance_method">
583
+
584
+ - (<tt>Array</tt>) <strong>add_system_groups</strong>(params = {}, headers = {})
585
+
586
+
587
+
588
+
589
+
590
+ </h3><div class="docstring">
591
+ <div class="discussion">
592
+ <p>
593
+ First item: parsed data; second item: raw body
594
+ </p>
595
+
596
+
597
+ </div>
598
+ </div>
599
+ <div class="tags">
600
+ <p class="tag_title">Parameters:</p>
601
+ <ul class="param">
602
+
603
+ <li>
604
+
605
+ <span class='name'>params</span>
606
+
607
+
608
+ <span class='type'>(<tt>Hash</tt>)</span>
609
+
610
+
611
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
612
+
613
+
614
+ &mdash;
615
+ <div class='inline'><p>
616
+ a hash of params to be passed to the service
617
+ </p>
618
+ </div>
619
+
620
+ </li>
621
+
622
+ <li>
623
+
624
+ <span class='name'>headers</span>
625
+
626
+
627
+ <span class='type'>(<tt>Hash</tt>)</span>
628
+
629
+
630
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
631
+
632
+
633
+ &mdash;
634
+ <div class='inline'><p>
635
+ additional http headers
636
+ </p>
637
+ </div>
638
+
639
+ </li>
640
+
641
+ </ul>
642
+
643
+
644
+
645
+
646
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
647
+ <ul class="option">
648
+
649
+ <li>
650
+ <span class="name">id</span>
651
+ <span class="type">(<tt>Object</tt>)</span>
652
+ <span class="default">
653
+
654
+ </span>
655
+
656
+ &mdash; <div class='inline'><p>
657
+ Part of
658
+ <tt>/api/organizations/:organization_id/activation_keys/:id/system_groups</tt>
659
+ path
660
+ </p>
661
+ </div>
662
+
663
+ </li>
664
+
665
+ <li>
666
+ <span class="name">organization_id</span>
667
+ <span class="type">(<tt>Object</tt>)</span>
668
+ <span class="default">
669
+
670
+ </span>
671
+
672
+ &mdash; <div class='inline'><p>
673
+ Part of
674
+ <tt>/api/organizations/:organization_id/activation_keys/:id/system_groups</tt>
675
+ path
676
+ </p>
677
+ </div>
678
+
679
+ </li>
680
+
681
+ </ul>
682
+
683
+
684
+
685
+
686
+ <p class="tag_title">Returns:</p>
687
+ <ul class="return">
688
+
689
+ <li>
690
+
691
+
692
+ <span class='type'>(<tt>Array</tt>)</span>
693
+
694
+
695
+
696
+ &mdash;
697
+ <div class='inline'><p>
698
+ First item: parsed data; second item: raw body
699
+ </p>
700
+ </div>
701
+
702
+ </li>
703
+
704
+ </ul>
705
+
706
+ </div><table class="source_code">
707
+ <tr>
708
+ <td>
709
+ <pre class="lines">
710
+
711
+
712
+ 91
713
+ 92
714
+ 93</pre>
715
+ </td>
716
+ <td>
717
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 91</span>
718
+
719
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_add_system_groups identifier id'>add_system_groups</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>
720
+ <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>
721
+ <span class='rubyid_end end kw'>end</span>
722
+ </pre>
723
+ </td>
724
+ </tr>
725
+ </table>
726
+ </div>
727
+
728
+ <div class="method_details ">
729
+ <h3 class="signature " id="create-instance_method">
730
+
731
+ - (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
732
+
733
+
734
+
735
+
736
+
737
+ </h3><div class="docstring">
738
+ <div class="discussion">
739
+ <p>
740
+ First item: parsed data; second item: raw body
741
+ </p>
742
+
743
+
744
+ </div>
745
+ </div>
746
+ <div class="tags">
747
+ <p class="tag_title">Parameters:</p>
748
+ <ul class="param">
749
+
750
+ <li>
751
+
752
+ <span class='name'>params</span>
753
+
754
+
755
+ <span class='type'>(<tt>Hash</tt>)</span>
756
+
757
+
758
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
759
+
760
+
761
+ &mdash;
762
+ <div class='inline'><p>
763
+ a hash of params to be passed to the service
764
+ </p>
765
+ </div>
766
+
767
+ </li>
768
+
769
+ <li>
770
+
771
+ <span class='name'>headers</span>
772
+
773
+
774
+ <span class='type'>(<tt>Hash</tt>)</span>
775
+
776
+
777
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
778
+
779
+
780
+ &mdash;
781
+ <div class='inline'><p>
782
+ additional http headers
783
+ </p>
784
+ </div>
785
+
786
+ </li>
787
+
788
+ </ul>
789
+
790
+
791
+
792
+
793
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
794
+ <ul class="option">
795
+
796
+ <li>
797
+ <span class="name">environment_id</span>
798
+ <span class="type">(<tt>Object</tt>)</span>
799
+ <span class="default">
800
+
801
+ </span>
802
+
803
+ &mdash; <div class='inline'><p>
804
+ Part of <tt>/api/environments/:environment_id/activation_keys</tt> path
805
+ </p>
806
+ </div>
807
+
808
+ </li>
809
+
810
+ <li>
811
+ <span class="name">activation_key</span>
812
+ <span class="type">(<tt>Hash</tt>)</span>
813
+ <span class="default">
814
+
815
+ </span>
816
+
817
+ &mdash; <div class='inline'><p>
818
+ allowed keys are:
819
+ </p>
820
+ <ul>
821
+ <li>content_view_id [String, nil] content view id
822
+
823
+ </li>
824
+ <li>description [String, nil]
825
+
826
+ </li>
827
+ <li>name [String] activation key identifier (alphanum characters, space, _ and
828
+ -)
829
+
830
+ </li>
831
+ </ul>
832
+ </div>
833
+
834
+ </li>
835
+
836
+ </ul>
837
+
838
+
839
+
840
+
841
+ <p class="tag_title">Returns:</p>
842
+ <ul class="return">
843
+
844
+ <li>
845
+
846
+
847
+ <span class='type'>(<tt>Array</tt>)</span>
848
+
849
+
850
+
851
+ &mdash;
852
+ <div class='inline'><p>
853
+ First item: parsed data; second item: raw body
854
+ </p>
855
+ </div>
856
+
857
+ </li>
858
+
859
+ </ul>
860
+
861
+ </div><table class="source_code">
862
+ <tr>
863
+ <td>
864
+ <pre class="lines">
865
+
866
+
867
+ 38
868
+ 39
869
+ 40</pre>
870
+ </td>
871
+ <td>
872
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 38</span>
873
+
874
+ <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>
875
+ <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>
876
+ <span class='rubyid_end end kw'>end</span>
877
+ </pre>
878
+ </td>
879
+ </tr>
880
+ </table>
881
+ </div>
882
+
883
+ <div class="method_details ">
884
+ <h3 class="signature " id="destroy-instance_method">
885
+
886
+ - (<tt>Array</tt>) <strong>destroy</strong>(params = {}, headers = {})
887
+
888
+
889
+
890
+
891
+
892
+ </h3><div class="docstring">
893
+ <div class="discussion">
894
+ <p>
895
+ First item: parsed data; second item: raw body
896
+ </p>
897
+
898
+
899
+ </div>
900
+ </div>
901
+ <div class="tags">
902
+ <p class="tag_title">Parameters:</p>
903
+ <ul class="param">
904
+
905
+ <li>
906
+
907
+ <span class='name'>params</span>
908
+
909
+
910
+ <span class='type'>(<tt>Hash</tt>)</span>
911
+
912
+
913
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
914
+
915
+
916
+ &mdash;
917
+ <div class='inline'><p>
918
+ a hash of params to be passed to the service
919
+ </p>
920
+ </div>
921
+
922
+ </li>
923
+
924
+ <li>
925
+
926
+ <span class='name'>headers</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'><p>
937
+ additional http headers
938
+ </p>
939
+ </div>
940
+
941
+ </li>
942
+
943
+ </ul>
944
+
945
+
946
+
947
+
948
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
949
+ <ul class="option">
950
+
951
+ <li>
952
+ <span class="name">id</span>
953
+ <span class="type">(<tt>Object</tt>)</span>
954
+ <span class="default">
955
+
956
+ </span>
957
+
958
+ &mdash; <div class='inline'><p>
959
+ Part of <tt>/api/activation_keys/:id</tt> path
960
+ </p>
961
+ </div>
962
+
963
+ </li>
964
+
965
+ </ul>
966
+
967
+
968
+
969
+
970
+ <p class="tag_title">Returns:</p>
971
+ <ul class="return">
972
+
973
+ <li>
974
+
975
+
976
+ <span class='type'>(<tt>Array</tt>)</span>
977
+
978
+
979
+
980
+ &mdash;
981
+ <div class='inline'><p>
982
+ First item: parsed data; second item: raw body
983
+ </p>
984
+ </div>
985
+
986
+ </li>
987
+
988
+ </ul>
989
+
990
+ </div><table class="source_code">
991
+ <tr>
992
+ <td>
993
+ <pre class="lines">
994
+
995
+
996
+ 81
997
+ 82
998
+ 83</pre>
999
+ </td>
1000
+ <td>
1001
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 81</span>
1002
+
1003
+ <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>
1004
+ <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>
1005
+ <span class='rubyid_end end kw'>end</span>
1006
+ </pre>
1007
+ </td>
1008
+ </tr>
1009
+ </table>
1010
+ </div>
1011
+
1012
+ <div class="method_details ">
1013
+ <h3 class="signature " id="index-instance_method">
1014
+
1015
+ - (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+ </h3><div class="docstring">
1022
+ <div class="discussion">
1023
+ <p>
1024
+ First item: parsed data; second item: raw body
1025
+ </p>
1026
+
1027
+
1028
+ </div>
1029
+ </div>
1030
+ <div class="tags">
1031
+ <p class="tag_title">Parameters:</p>
1032
+ <ul class="param">
1033
+
1034
+ <li>
1035
+
1036
+ <span class='name'>params</span>
1037
+
1038
+
1039
+ <span class='type'>(<tt>Hash</tt>)</span>
1040
+
1041
+
1042
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1043
+
1044
+
1045
+ &mdash;
1046
+ <div class='inline'><p>
1047
+ a hash of params to be passed to the service
1048
+ </p>
1049
+ </div>
1050
+
1051
+ </li>
1052
+
1053
+ <li>
1054
+
1055
+ <span class='name'>headers</span>
1056
+
1057
+
1058
+ <span class='type'>(<tt>Hash</tt>)</span>
1059
+
1060
+
1061
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1062
+
1063
+
1064
+ &mdash;
1065
+ <div class='inline'><p>
1066
+ additional http headers
1067
+ </p>
1068
+ </div>
1069
+
1070
+ </li>
1071
+
1072
+ </ul>
1073
+
1074
+
1075
+
1076
+
1077
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1078
+ <ul class="option">
1079
+
1080
+ <li>
1081
+ <span class="name">environment_id</span>
1082
+ <span class="type">(<tt>Object</tt>)</span>
1083
+ <span class="default">
1084
+
1085
+ </span>
1086
+
1087
+ &mdash; <div class='inline'><p>
1088
+ Part of <tt>/api/environments/:environment_id/activation_keys</tt> path
1089
+ </p>
1090
+ </div>
1091
+
1092
+ </li>
1093
+
1094
+ <li>
1095
+ <span class="name">organization_id</span>
1096
+ <span class="type">(<tt>Object</tt>)</span>
1097
+ <span class="default">
1098
+
1099
+ </span>
1100
+
1101
+ &mdash; <div class='inline'><p>
1102
+ Part of <tt>/api/organizations/:organization_id/activation_keys</tt> path
1103
+ </p>
1104
+ </div>
1105
+
1106
+ </li>
1107
+
1108
+ <li>
1109
+ <span class="name">name</span>
1110
+ <span class="type">(<tt>String</tt>)</span>
1111
+ <span class="default">
1112
+
1113
+ </span>
1114
+
1115
+ &mdash; <div class='inline'><p>
1116
+ lists by activation key name
1117
+ </p>
1118
+ </div>
1119
+
1120
+ </li>
1121
+
1122
+ </ul>
1123
+
1124
+
1125
+
1126
+
1127
+ <p class="tag_title">Returns:</p>
1128
+ <ul class="return">
1129
+
1130
+ <li>
1131
+
1132
+
1133
+ <span class='type'>(<tt>Array</tt>)</span>
1134
+
1135
+
1136
+
1137
+ &mdash;
1138
+ <div class='inline'><p>
1139
+ First item: parsed data; second item: raw body
1140
+ </p>
1141
+ </div>
1142
+
1143
+ </li>
1144
+
1145
+ </ul>
1146
+
1147
+ </div><table class="source_code">
1148
+ <tr>
1149
+ <td>
1150
+ <pre class="lines">
1151
+
1152
+
1153
+ 15
1154
+ 16
1155
+ 17</pre>
1156
+ </td>
1157
+ <td>
1158
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 15</span>
1159
+
1160
+ <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>
1161
+ <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>
1162
+ <span class='rubyid_end end kw'>end</span>
1163
+ </pre>
1164
+ </td>
1165
+ </tr>
1166
+ </table>
1167
+ </div>
1168
+
1169
+ <div class="method_details ">
1170
+ <h3 class="signature " id="remove_pool-instance_method">
1171
+
1172
+ - (<tt>Array</tt>) <strong>remove_pool</strong>(params = {}, headers = {})
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+ </h3><div class="docstring">
1179
+ <div class="discussion">
1180
+ <p>
1181
+ First item: parsed data; second item: raw body
1182
+ </p>
1183
+
1184
+
1185
+ </div>
1186
+ </div>
1187
+ <div class="tags">
1188
+ <p class="tag_title">Parameters:</p>
1189
+ <ul class="param">
1190
+
1191
+ <li>
1192
+
1193
+ <span class='name'>params</span>
1194
+
1195
+
1196
+ <span class='type'>(<tt>Hash</tt>)</span>
1197
+
1198
+
1199
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1200
+
1201
+
1202
+ &mdash;
1203
+ <div class='inline'><p>
1204
+ a hash of params to be passed to the service
1205
+ </p>
1206
+ </div>
1207
+
1208
+ </li>
1209
+
1210
+ <li>
1211
+
1212
+ <span class='name'>headers</span>
1213
+
1214
+
1215
+ <span class='type'>(<tt>Hash</tt>)</span>
1216
+
1217
+
1218
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1219
+
1220
+
1221
+ &mdash;
1222
+ <div class='inline'><p>
1223
+ additional http headers
1224
+ </p>
1225
+ </div>
1226
+
1227
+ </li>
1228
+
1229
+ </ul>
1230
+
1231
+
1232
+
1233
+
1234
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1235
+ <ul class="option">
1236
+
1237
+ <li>
1238
+ <span class="name">id</span>
1239
+ <span class="type">(<tt>Object</tt>)</span>
1240
+ <span class="default">
1241
+
1242
+ </span>
1243
+
1244
+ &mdash; <div class='inline'><p>
1245
+ Part of <tt>/api/activation_keys/:id/pools/:poolid</tt> path
1246
+ </p>
1247
+ </div>
1248
+
1249
+ </li>
1250
+
1251
+ <li>
1252
+ <span class="name">poolid</span>
1253
+ <span class="type">(<tt>Object</tt>)</span>
1254
+ <span class="default">
1255
+
1256
+ </span>
1257
+
1258
+ &mdash; <div class='inline'><p>
1259
+ Part of <tt>/api/activation_keys/:id/pools/:poolid</tt> path
1260
+ </p>
1261
+ </div>
1262
+
1263
+ </li>
1264
+
1265
+ </ul>
1266
+
1267
+
1268
+
1269
+
1270
+ <p class="tag_title">Returns:</p>
1271
+ <ul class="return">
1272
+
1273
+ <li>
1274
+
1275
+
1276
+ <span class='type'>(<tt>Array</tt>)</span>
1277
+
1278
+
1279
+
1280
+ &mdash;
1281
+ <div class='inline'><p>
1282
+ First item: parsed data; second item: raw body
1283
+ </p>
1284
+ </div>
1285
+
1286
+ </li>
1287
+
1288
+ </ul>
1289
+
1290
+ </div><table class="source_code">
1291
+ <tr>
1292
+ <td>
1293
+ <pre class="lines">
1294
+
1295
+
1296
+ 72
1297
+ 73
1298
+ 74</pre>
1299
+ </td>
1300
+ <td>
1301
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 72</span>
1302
+
1303
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_remove_pool identifier id'>remove_pool</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>
1304
+ <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>
1305
+ <span class='rubyid_end end kw'>end</span>
1306
+ </pre>
1307
+ </td>
1308
+ </tr>
1309
+ </table>
1310
+ </div>
1311
+
1312
+ <div class="method_details ">
1313
+ <h3 class="signature " id="remove_system_groups-instance_method">
1314
+
1315
+ - (<tt>Array</tt>) <strong>remove_system_groups</strong>(params = {}, headers = {})
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+ </h3><div class="docstring">
1322
+ <div class="discussion">
1323
+ <p>
1324
+ First item: parsed data; second item: raw body
1325
+ </p>
1326
+
1327
+
1328
+ </div>
1329
+ </div>
1330
+ <div class="tags">
1331
+ <p class="tag_title">Parameters:</p>
1332
+ <ul class="param">
1333
+
1334
+ <li>
1335
+
1336
+ <span class='name'>params</span>
1337
+
1338
+
1339
+ <span class='type'>(<tt>Hash</tt>)</span>
1340
+
1341
+
1342
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1343
+
1344
+
1345
+ &mdash;
1346
+ <div class='inline'><p>
1347
+ a hash of params to be passed to the service
1348
+ </p>
1349
+ </div>
1350
+
1351
+ </li>
1352
+
1353
+ <li>
1354
+
1355
+ <span class='name'>headers</span>
1356
+
1357
+
1358
+ <span class='type'>(<tt>Hash</tt>)</span>
1359
+
1360
+
1361
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1362
+
1363
+
1364
+ &mdash;
1365
+ <div class='inline'><p>
1366
+ additional http headers
1367
+ </p>
1368
+ </div>
1369
+
1370
+ </li>
1371
+
1372
+ </ul>
1373
+
1374
+
1375
+
1376
+
1377
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1378
+ <ul class="option">
1379
+
1380
+ <li>
1381
+ <span class="name">id</span>
1382
+ <span class="type">(<tt>Object</tt>)</span>
1383
+ <span class="default">
1384
+
1385
+ </span>
1386
+
1387
+ &mdash; <div class='inline'><p>
1388
+ Part of
1389
+ <tt>/api/organizations/:organization_id/activation_keys/:id/system_groups</tt>
1390
+ path
1391
+ </p>
1392
+ </div>
1393
+
1394
+ </li>
1395
+
1396
+ <li>
1397
+ <span class="name">organization_id</span>
1398
+ <span class="type">(<tt>Object</tt>)</span>
1399
+ <span class="default">
1400
+
1401
+ </span>
1402
+
1403
+ &mdash; <div class='inline'><p>
1404
+ Part of
1405
+ <tt>/api/organizations/:organization_id/activation_keys/:id/system_groups</tt>
1406
+ path
1407
+ </p>
1408
+ </div>
1409
+
1410
+ </li>
1411
+
1412
+ </ul>
1413
+
1414
+
1415
+
1416
+
1417
+ <p class="tag_title">Returns:</p>
1418
+ <ul class="return">
1419
+
1420
+ <li>
1421
+
1422
+
1423
+ <span class='type'>(<tt>Array</tt>)</span>
1424
+
1425
+
1426
+
1427
+ &mdash;
1428
+ <div class='inline'><p>
1429
+ First item: parsed data; second item: raw body
1430
+ </p>
1431
+ </div>
1432
+
1433
+ </li>
1434
+
1435
+ </ul>
1436
+
1437
+ </div><table class="source_code">
1438
+ <tr>
1439
+ <td>
1440
+ <pre class="lines">
1441
+
1442
+
1443
+ 101
1444
+ 102
1445
+ 103</pre>
1446
+ </td>
1447
+ <td>
1448
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 101</span>
1449
+
1450
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_remove_system_groups identifier id'>remove_system_groups</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>
1451
+ <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>
1452
+ <span class='rubyid_end end kw'>end</span>
1453
+ </pre>
1454
+ </td>
1455
+ </tr>
1456
+ </table>
1457
+ </div>
1458
+
1459
+ <div class="method_details ">
1460
+ <h3 class="signature " id="show-instance_method">
1461
+
1462
+ - (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
1463
+
1464
+
1465
+
1466
+
1467
+
1468
+ </h3><div class="docstring">
1469
+ <div class="discussion">
1470
+ <p>
1471
+ First item: parsed data; second item: raw body
1472
+ </p>
1473
+
1474
+
1475
+ </div>
1476
+ </div>
1477
+ <div class="tags">
1478
+ <p class="tag_title">Parameters:</p>
1479
+ <ul class="param">
1480
+
1481
+ <li>
1482
+
1483
+ <span class='name'>params</span>
1484
+
1485
+
1486
+ <span class='type'>(<tt>Hash</tt>)</span>
1487
+
1488
+
1489
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1490
+
1491
+
1492
+ &mdash;
1493
+ <div class='inline'><p>
1494
+ a hash of params to be passed to the service
1495
+ </p>
1496
+ </div>
1497
+
1498
+ </li>
1499
+
1500
+ <li>
1501
+
1502
+ <span class='name'>headers</span>
1503
+
1504
+
1505
+ <span class='type'>(<tt>Hash</tt>)</span>
1506
+
1507
+
1508
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1509
+
1510
+
1511
+ &mdash;
1512
+ <div class='inline'><p>
1513
+ additional http headers
1514
+ </p>
1515
+ </div>
1516
+
1517
+ </li>
1518
+
1519
+ </ul>
1520
+
1521
+
1522
+
1523
+
1524
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1525
+ <ul class="option">
1526
+
1527
+ <li>
1528
+ <span class="name">id</span>
1529
+ <span class="type">(<tt>Object</tt>)</span>
1530
+ <span class="default">
1531
+
1532
+ </span>
1533
+
1534
+ &mdash; <div class='inline'><p>
1535
+ Part of <tt>/api/activation_keys/:id</tt> path
1536
+ </p>
1537
+ </div>
1538
+
1539
+ </li>
1540
+
1541
+ </ul>
1542
+
1543
+
1544
+
1545
+
1546
+ <p class="tag_title">Returns:</p>
1547
+ <ul class="return">
1548
+
1549
+ <li>
1550
+
1551
+
1552
+ <span class='type'>(<tt>Array</tt>)</span>
1553
+
1554
+
1555
+
1556
+ &mdash;
1557
+ <div class='inline'><p>
1558
+ First item: parsed data; second item: raw body
1559
+ </p>
1560
+ </div>
1561
+
1562
+ </li>
1563
+
1564
+ </ul>
1565
+
1566
+ </div><table class="source_code">
1567
+ <tr>
1568
+ <td>
1569
+ <pre class="lines">
1570
+
1571
+
1572
+ 24
1573
+ 25
1574
+ 26</pre>
1575
+ </td>
1576
+ <td>
1577
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 24</span>
1578
+
1579
+ <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>
1580
+ <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>
1581
+ <span class='rubyid_end end kw'>end</span>
1582
+ </pre>
1583
+ </td>
1584
+ </tr>
1585
+ </table>
1586
+ </div>
1587
+
1588
+ <div class="method_details ">
1589
+ <h3 class="signature " id="update-instance_method">
1590
+
1591
+ - (<tt>Array</tt>) <strong>update</strong>(params = {}, headers = {})
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+ </h3><div class="docstring">
1598
+ <div class="discussion">
1599
+ <p>
1600
+ First item: parsed data; second item: raw body
1601
+ </p>
1602
+
1603
+
1604
+ </div>
1605
+ </div>
1606
+ <div class="tags">
1607
+ <p class="tag_title">Parameters:</p>
1608
+ <ul class="param">
1609
+
1610
+ <li>
1611
+
1612
+ <span class='name'>params</span>
1613
+
1614
+
1615
+ <span class='type'>(<tt>Hash</tt>)</span>
1616
+
1617
+
1618
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1619
+
1620
+
1621
+ &mdash;
1622
+ <div class='inline'><p>
1623
+ a hash of params to be passed to the service
1624
+ </p>
1625
+ </div>
1626
+
1627
+ </li>
1628
+
1629
+ <li>
1630
+
1631
+ <span class='name'>headers</span>
1632
+
1633
+
1634
+ <span class='type'>(<tt>Hash</tt>)</span>
1635
+
1636
+
1637
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1638
+
1639
+
1640
+ &mdash;
1641
+ <div class='inline'><p>
1642
+ additional http headers
1643
+ </p>
1644
+ </div>
1645
+
1646
+ </li>
1647
+
1648
+ </ul>
1649
+
1650
+
1651
+
1652
+
1653
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1654
+ <ul class="option">
1655
+
1656
+ <li>
1657
+ <span class="name">id</span>
1658
+ <span class="type">(<tt>Object</tt>)</span>
1659
+ <span class="default">
1660
+
1661
+ </span>
1662
+
1663
+ &mdash; <div class='inline'><p>
1664
+ Part of <tt>/api/activation_keys/:id</tt> path
1665
+ </p>
1666
+ </div>
1667
+
1668
+ </li>
1669
+
1670
+ <li>
1671
+ <span class="name">activation_key</span>
1672
+ <span class="type">(<tt>Hash</tt>)</span>
1673
+ <span class="default">
1674
+
1675
+ </span>
1676
+
1677
+ &mdash; <div class='inline'><p>
1678
+ allowed keys are:
1679
+ </p>
1680
+ <ul>
1681
+ <li>content_view_id [String, nil] content view id
1682
+
1683
+ </li>
1684
+ <li>environment_id [String, nil]
1685
+
1686
+ </li>
1687
+ <li>description [String, nil]
1688
+
1689
+ </li>
1690
+ <li>name [String] activation key identifier (alphanum characters, space, _ and
1691
+ -)
1692
+
1693
+ </li>
1694
+ </ul>
1695
+ </div>
1696
+
1697
+ </li>
1698
+
1699
+ </ul>
1700
+
1701
+
1702
+
1703
+
1704
+ <p class="tag_title">Returns:</p>
1705
+ <ul class="return">
1706
+
1707
+ <li>
1708
+
1709
+
1710
+ <span class='type'>(<tt>Array</tt>)</span>
1711
+
1712
+
1713
+
1714
+ &mdash;
1715
+ <div class='inline'><p>
1716
+ First item: parsed data; second item: raw body
1717
+ </p>
1718
+ </div>
1719
+
1720
+ </li>
1721
+
1722
+ </ul>
1723
+
1724
+ </div><table class="source_code">
1725
+ <tr>
1726
+ <td>
1727
+ <pre class="lines">
1728
+
1729
+
1730
+ 53
1731
+ 54
1732
+ 55</pre>
1733
+ </td>
1734
+ <td>
1735
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/activation_key.rb', line 53</span>
1736
+
1737
+ <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>
1738
+ <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>
1739
+ <span class='rubyid_end end kw'>end</span>
1740
+ </pre>
1741
+ </td>
1742
+ </tr>
1743
+ </table>
1744
+ </div>
1745
+
1746
+ </div>
1747
+
1748
+ </div>
1749
+
1750
+ <div id="footer">
1751
+ Generated on Mon Mar 18 14:17:48 2013 by
1752
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1753
+ 0.8.5.2 (ruby-1.8.7).
1754
+ </div>
1755
+
1756
+ </body>
1757
+ </html>