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,1645 @@
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::Environment
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 (E)</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">Environment</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::Environment
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::Environment</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/environment.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'><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="#destroy-instance_method" title="#destroy (instance method)">- (Array) <strong>destroy</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="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</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="#releases-instance_method" title="#releases (instance method)">- (Array) <strong>releases</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="#repositories-instance_method" title="#repositories (instance method)">- (Array) <strong>repositories</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="#rhsm_index-instance_method" title="#rhsm_index (instance method)">- (Array) <strong>rhsm_index</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="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</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="#update-instance_method" title="#update (instance method)">- (Array) <strong>update</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
+ </ul>
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="KatelloApi::Base (class)">Base</a></span></h3>
377
+ <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>
378
+ <div id="constructor_details" class="method_details_list">
379
+ <h2>Constructor Details</h2>
380
+
381
+ <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>
382
+
383
+ </div>
384
+
385
+
386
+ <div id="class_method_details" class="method_details_list">
387
+ <h2>Class Method Details</h2>
388
+
389
+
390
+ <div class="method_details first">
391
+ <h3 class="signature first" id="doc-class_method">
392
+
393
+ + (<tt>Object</tt>) <strong>doc</strong>
394
+
395
+
396
+
397
+
398
+
399
+ </h3><table class="source_code">
400
+ <tr>
401
+ <td>
402
+ <pre class="lines">
403
+
404
+
405
+ 4
406
+ 5
407
+ 6</pre>
408
+ </td>
409
+ <td>
410
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/environment.rb', line 4</span>
411
+
412
+ <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>
413
+ <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;environments&quot;</span><span class='rbrack token'>]</span>
414
+ <span class='rubyid_end end kw'>end</span>
415
+ </pre>
416
+ </td>
417
+ </tr>
418
+ </table>
419
+ </div>
420
+
421
+ </div>
422
+
423
+ <div id="instance_method_details" class="method_details_list">
424
+ <h2>Instance Method Details</h2>
425
+
426
+
427
+ <div class="method_details first">
428
+ <h3 class="signature first" id="create-instance_method">
429
+
430
+ - (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
431
+
432
+
433
+
434
+
435
+
436
+ </h3><div class="docstring">
437
+ <div class="discussion">
438
+ <p>
439
+ First item: parsed data; second item: raw body
440
+ </p>
441
+
442
+
443
+ </div>
444
+ </div>
445
+ <div class="tags">
446
+ <p class="tag_title">Parameters:</p>
447
+ <ul class="param">
448
+
449
+ <li>
450
+
451
+ <span class='name'>params</span>
452
+
453
+
454
+ <span class='type'>(<tt>Hash</tt>)</span>
455
+
456
+
457
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
458
+
459
+
460
+ &mdash;
461
+ <div class='inline'><p>
462
+ a hash of params to be passed to the service
463
+ </p>
464
+ </div>
465
+
466
+ </li>
467
+
468
+ <li>
469
+
470
+ <span class='name'>headers</span>
471
+
472
+
473
+ <span class='type'>(<tt>Hash</tt>)</span>
474
+
475
+
476
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
477
+
478
+
479
+ &mdash;
480
+ <div class='inline'><p>
481
+ additional http headers
482
+ </p>
483
+ </div>
484
+
485
+ </li>
486
+
487
+ </ul>
488
+
489
+
490
+
491
+
492
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
493
+ <ul class="option">
494
+
495
+ <li>
496
+ <span class="name">organization_id</span>
497
+ <span class="type">(<tt>String</tt>)</span>
498
+ <span class="default">
499
+
500
+ </span>
501
+
502
+ &mdash; <div class='inline'><p>
503
+ organization identifier
504
+ </p>
505
+ </div>
506
+
507
+ </li>
508
+
509
+ <li>
510
+ <span class="name">environment</span>
511
+ <span class="type">(<tt>Hash</tt>)</span>
512
+ <span class="default">
513
+
514
+ </span>
515
+
516
+ &mdash; <div class='inline'><p>
517
+ allowed keys are:
518
+ </p>
519
+ <ul>
520
+ <li>description [String, nil]
521
+
522
+ </li>
523
+ <li>name [String] name of the environment (identifier)
524
+
525
+ </li>
526
+ <li>prior [String] identifier of an environment that is prior the new
527
+ environment in the chain, it has to be either library or an environment at
528
+ the end of the chain
529
+
530
+ </li>
531
+ </ul>
532
+ </div>
533
+
534
+ </li>
535
+
536
+ </ul>
537
+
538
+
539
+
540
+
541
+ <p class="tag_title">Returns:</p>
542
+ <ul class="return">
543
+
544
+ <li>
545
+
546
+
547
+ <span class='type'>(<tt>Array</tt>)</span>
548
+
549
+
550
+
551
+ &mdash;
552
+ <div class='inline'><p>
553
+ First item: parsed data; second item: raw body
554
+ </p>
555
+ </div>
556
+
557
+ </li>
558
+
559
+ </ul>
560
+
561
+ </div><table class="source_code">
562
+ <tr>
563
+ <td>
564
+ <pre class="lines">
565
+
566
+
567
+ 50
568
+ 51
569
+ 52</pre>
570
+ </td>
571
+ <td>
572
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/environment.rb', line 50</span>
573
+
574
+ <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>
575
+ <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>
576
+ <span class='rubyid_end end kw'>end</span>
577
+ </pre>
578
+ </td>
579
+ </tr>
580
+ </table>
581
+ </div>
582
+
583
+ <div class="method_details ">
584
+ <h3 class="signature " id="destroy-instance_method">
585
+
586
+ - (<tt>Array</tt>) <strong>destroy</strong>(params = {}, headers = {})
587
+
588
+
589
+
590
+
591
+
592
+ </h3><div class="docstring">
593
+ <div class="discussion">
594
+ <p>
595
+ First item: parsed data; second item: raw body
596
+ </p>
597
+
598
+
599
+ </div>
600
+ </div>
601
+ <div class="tags">
602
+ <p class="tag_title">Parameters:</p>
603
+ <ul class="param">
604
+
605
+ <li>
606
+
607
+ <span class='name'>params</span>
608
+
609
+
610
+ <span class='type'>(<tt>Hash</tt>)</span>
611
+
612
+
613
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
614
+
615
+
616
+ &mdash;
617
+ <div class='inline'><p>
618
+ a hash of params to be passed to the service
619
+ </p>
620
+ </div>
621
+
622
+ </li>
623
+
624
+ <li>
625
+
626
+ <span class='name'>headers</span>
627
+
628
+
629
+ <span class='type'>(<tt>Hash</tt>)</span>
630
+
631
+
632
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
633
+
634
+
635
+ &mdash;
636
+ <div class='inline'><p>
637
+ additional http headers
638
+ </p>
639
+ </div>
640
+
641
+ </li>
642
+
643
+ </ul>
644
+
645
+
646
+
647
+
648
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
649
+ <ul class="option">
650
+
651
+ <li>
652
+ <span class="name">id</span>
653
+ <span class="type">(<tt>String</tt>)</span>
654
+ <span class="default">
655
+
656
+ </span>
657
+
658
+ &mdash; <div class='inline'><p>
659
+ environment identifier
660
+ </p>
661
+ </div>
662
+
663
+ </li>
664
+
665
+ <li>
666
+ <span class="name">organization_id</span>
667
+ <span class="type">(<tt>String</tt>)</span>
668
+ <span class="default">
669
+
670
+ </span>
671
+
672
+ &mdash; <div class='inline'><p>
673
+ organization identifier
674
+ </p>
675
+ </div>
676
+
677
+ </li>
678
+
679
+ </ul>
680
+
681
+
682
+
683
+
684
+ <p class="tag_title">Returns:</p>
685
+ <ul class="return">
686
+
687
+ <li>
688
+
689
+
690
+ <span class='type'>(<tt>Array</tt>)</span>
691
+
692
+
693
+
694
+ &mdash;
695
+ <div class='inline'><p>
696
+ First item: parsed data; second item: raw body
697
+ </p>
698
+ </div>
699
+
700
+ </li>
701
+
702
+ </ul>
703
+
704
+ </div><table class="source_code">
705
+ <tr>
706
+ <td>
707
+ <pre class="lines">
708
+
709
+
710
+ 74
711
+ 75
712
+ 76</pre>
713
+ </td>
714
+ <td>
715
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/environment.rb', line 74</span>
716
+
717
+ <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>
718
+ <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>
719
+ <span class='rubyid_end end kw'>end</span>
720
+ </pre>
721
+ </td>
722
+ </tr>
723
+ </table>
724
+ </div>
725
+
726
+ <div class="method_details ">
727
+ <h3 class="signature " id="index-instance_method">
728
+
729
+ - (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
730
+
731
+
732
+
733
+
734
+
735
+ </h3><div class="docstring">
736
+ <div class="discussion">
737
+ <p>
738
+ First item: parsed data; second item: raw body
739
+ </p>
740
+
741
+
742
+ </div>
743
+ </div>
744
+ <div class="tags">
745
+ <p class="tag_title">Parameters:</p>
746
+ <ul class="param">
747
+
748
+ <li>
749
+
750
+ <span class='name'>params</span>
751
+
752
+
753
+ <span class='type'>(<tt>Hash</tt>)</span>
754
+
755
+
756
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
757
+
758
+
759
+ &mdash;
760
+ <div class='inline'><p>
761
+ a hash of params to be passed to the service
762
+ </p>
763
+ </div>
764
+
765
+ </li>
766
+
767
+ <li>
768
+
769
+ <span class='name'>headers</span>
770
+
771
+
772
+ <span class='type'>(<tt>Hash</tt>)</span>
773
+
774
+
775
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
776
+
777
+
778
+ &mdash;
779
+ <div class='inline'><p>
780
+ additional http headers
781
+ </p>
782
+ </div>
783
+
784
+ </li>
785
+
786
+ </ul>
787
+
788
+
789
+
790
+
791
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
792
+ <ul class="option">
793
+
794
+ <li>
795
+ <span class="name">organization_id</span>
796
+ <span class="type">(<tt>String</tt>)</span>
797
+ <span class="default">
798
+
799
+ </span>
800
+
801
+ &mdash; <div class='inline'><p>
802
+ organization identifier
803
+ </p>
804
+ </div>
805
+
806
+ </li>
807
+
808
+ <li>
809
+ <span class="name">library</span>
810
+ <span class="type">(<tt>String</tt>)</span>
811
+ <span class="default">
812
+
813
+ </span>
814
+
815
+ &mdash; <div class='inline'><p>
816
+ set true if you want to see only library environment
817
+ </p>
818
+ </div>
819
+
820
+ </li>
821
+
822
+ <li>
823
+ <span class="name">name</span>
824
+ <span class="type">(<tt>String</tt>)</span>
825
+ <span class="default">
826
+
827
+ </span>
828
+
829
+ &mdash; <div class='inline'><p>
830
+ filter only environments with this identifier
831
+ </p>
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
+ 15
868
+ 16
869
+ 17</pre>
870
+ </td>
871
+ <td>
872
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/environment.rb', line 15</span>
873
+
874
+ <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>
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="releases-instance_method">
885
+
886
+ - (<tt>Array</tt>) <strong>releases</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>String</tt>)</span>
954
+ <span class="default">
955
+
956
+ </span>
957
+
958
+ &mdash; <div class='inline'><p>
959
+ environment identifier
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
+ 94
997
+ 95
998
+ 96</pre>
999
+ </td>
1000
+ <td>
1001
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/environment.rb', line 94</span>
1002
+
1003
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_releases identifier id'>releases</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="repositories-instance_method">
1014
+
1015
+ - (<tt>Array</tt>) <strong>repositories</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">id</span>
1082
+ <span class="type">(<tt>String</tt>)</span>
1083
+ <span class="default">
1084
+
1085
+ </span>
1086
+
1087
+ &mdash; <div class='inline'><p>
1088
+ environment identifier
1089
+ </p>
1090
+ </div>
1091
+
1092
+ </li>
1093
+
1094
+ <li>
1095
+ <span class="name">organization_id</span>
1096
+ <span class="type">(<tt>String</tt>)</span>
1097
+ <span class="default">
1098
+
1099
+ </span>
1100
+
1101
+ &mdash; <div class='inline'><p>
1102
+ organization identifier
1103
+ </p>
1104
+ </div>
1105
+
1106
+ </li>
1107
+
1108
+ <li>
1109
+ <span class="name">include_disabled</span>
1110
+ <span class="type">(<tt>String</tt>)</span>
1111
+ <span class="default">
1112
+
1113
+ </span>
1114
+
1115
+ &mdash; <div class='inline'><p>
1116
+ set to true if you want to see also disabled repositories
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
+ 85
1154
+ 86
1155
+ 87</pre>
1156
+ </td>
1157
+ <td>
1158
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/environment.rb', line 85</span>
1159
+
1160
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_repositories identifier id'>repositories</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="rhsm_index-instance_method">
1171
+
1172
+ - (<tt>Array</tt>) <strong>rhsm_index</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">organization_id</span>
1239
+ <span class="type">(<tt>String</tt>)</span>
1240
+ <span class="default">
1241
+
1242
+ </span>
1243
+
1244
+ &mdash; <div class='inline'><p>
1245
+ organization identifier
1246
+ </p>
1247
+ </div>
1248
+
1249
+ </li>
1250
+
1251
+ <li>
1252
+ <span class="name">library</span>
1253
+ <span class="type">(<tt>String</tt>)</span>
1254
+ <span class="default">
1255
+
1256
+ </span>
1257
+
1258
+ &mdash; <div class='inline'><p>
1259
+ set true if you want to see only library environment
1260
+ </p>
1261
+ </div>
1262
+
1263
+ </li>
1264
+
1265
+ <li>
1266
+ <span class="name">name</span>
1267
+ <span class="type">(<tt>String</tt>)</span>
1268
+ <span class="default">
1269
+
1270
+ </span>
1271
+
1272
+ &mdash; <div class='inline'><p>
1273
+ filter only environments with this identifier
1274
+ </p>
1275
+ </div>
1276
+
1277
+ </li>
1278
+
1279
+ </ul>
1280
+
1281
+
1282
+
1283
+
1284
+ <p class="tag_title">Returns:</p>
1285
+ <ul class="return">
1286
+
1287
+ <li>
1288
+
1289
+
1290
+ <span class='type'>(<tt>Array</tt>)</span>
1291
+
1292
+
1293
+
1294
+ &mdash;
1295
+ <div class='inline'><p>
1296
+ First item: parsed data; second item: raw body
1297
+ </p>
1298
+ </div>
1299
+
1300
+ </li>
1301
+
1302
+ </ul>
1303
+
1304
+ </div><table class="source_code">
1305
+ <tr>
1306
+ <td>
1307
+ <pre class="lines">
1308
+
1309
+
1310
+ 26
1311
+ 27
1312
+ 28</pre>
1313
+ </td>
1314
+ <td>
1315
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/environment.rb', line 26</span>
1316
+
1317
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_rhsm_index identifier id'>rhsm_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>
1318
+ <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>
1319
+ <span class='rubyid_end end kw'>end</span>
1320
+ </pre>
1321
+ </td>
1322
+ </tr>
1323
+ </table>
1324
+ </div>
1325
+
1326
+ <div class="method_details ">
1327
+ <h3 class="signature " id="show-instance_method">
1328
+
1329
+ - (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+ </h3><div class="docstring">
1336
+ <div class="discussion">
1337
+ <p>
1338
+ First item: parsed data; second item: raw body
1339
+ </p>
1340
+
1341
+
1342
+ </div>
1343
+ </div>
1344
+ <div class="tags">
1345
+ <p class="tag_title">Parameters:</p>
1346
+ <ul class="param">
1347
+
1348
+ <li>
1349
+
1350
+ <span class='name'>params</span>
1351
+
1352
+
1353
+ <span class='type'>(<tt>Hash</tt>)</span>
1354
+
1355
+
1356
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1357
+
1358
+
1359
+ &mdash;
1360
+ <div class='inline'><p>
1361
+ a hash of params to be passed to the service
1362
+ </p>
1363
+ </div>
1364
+
1365
+ </li>
1366
+
1367
+ <li>
1368
+
1369
+ <span class='name'>headers</span>
1370
+
1371
+
1372
+ <span class='type'>(<tt>Hash</tt>)</span>
1373
+
1374
+
1375
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1376
+
1377
+
1378
+ &mdash;
1379
+ <div class='inline'><p>
1380
+ additional http headers
1381
+ </p>
1382
+ </div>
1383
+
1384
+ </li>
1385
+
1386
+ </ul>
1387
+
1388
+
1389
+
1390
+
1391
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1392
+ <ul class="option">
1393
+
1394
+ <li>
1395
+ <span class="name">id</span>
1396
+ <span class="type">(<tt>String</tt>)</span>
1397
+ <span class="default">
1398
+
1399
+ </span>
1400
+
1401
+ &mdash; <div class='inline'><p>
1402
+ environment identifier
1403
+ </p>
1404
+ </div>
1405
+
1406
+ </li>
1407
+
1408
+ <li>
1409
+ <span class="name">organization_id</span>
1410
+ <span class="type">(<tt>String</tt>)</span>
1411
+ <span class="default">
1412
+
1413
+ </span>
1414
+
1415
+ &mdash; <div class='inline'><p>
1416
+ organization identifier
1417
+ </p>
1418
+ </div>
1419
+
1420
+ </li>
1421
+
1422
+ </ul>
1423
+
1424
+
1425
+
1426
+
1427
+ <p class="tag_title">Returns:</p>
1428
+ <ul class="return">
1429
+
1430
+ <li>
1431
+
1432
+
1433
+ <span class='type'>(<tt>Array</tt>)</span>
1434
+
1435
+
1436
+
1437
+ &mdash;
1438
+ <div class='inline'><p>
1439
+ First item: parsed data; second item: raw body
1440
+ </p>
1441
+ </div>
1442
+
1443
+ </li>
1444
+
1445
+ </ul>
1446
+
1447
+ </div><table class="source_code">
1448
+ <tr>
1449
+ <td>
1450
+ <pre class="lines">
1451
+
1452
+
1453
+ 36
1454
+ 37
1455
+ 38</pre>
1456
+ </td>
1457
+ <td>
1458
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/environment.rb', line 36</span>
1459
+
1460
+ <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>
1461
+ <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>
1462
+ <span class='rubyid_end end kw'>end</span>
1463
+ </pre>
1464
+ </td>
1465
+ </tr>
1466
+ </table>
1467
+ </div>
1468
+
1469
+ <div class="method_details ">
1470
+ <h3 class="signature " id="update-instance_method">
1471
+
1472
+ - (<tt>Array</tt>) <strong>update</strong>(params = {}, headers = {})
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+ </h3><div class="docstring">
1479
+ <div class="discussion">
1480
+ <p>
1481
+ First item: parsed data; second item: raw body
1482
+ </p>
1483
+
1484
+
1485
+ </div>
1486
+ </div>
1487
+ <div class="tags">
1488
+ <p class="tag_title">Parameters:</p>
1489
+ <ul class="param">
1490
+
1491
+ <li>
1492
+
1493
+ <span class='name'>params</span>
1494
+
1495
+
1496
+ <span class='type'>(<tt>Hash</tt>)</span>
1497
+
1498
+
1499
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1500
+
1501
+
1502
+ &mdash;
1503
+ <div class='inline'><p>
1504
+ a hash of params to be passed to the service
1505
+ </p>
1506
+ </div>
1507
+
1508
+ </li>
1509
+
1510
+ <li>
1511
+
1512
+ <span class='name'>headers</span>
1513
+
1514
+
1515
+ <span class='type'>(<tt>Hash</tt>)</span>
1516
+
1517
+
1518
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1519
+
1520
+
1521
+ &mdash;
1522
+ <div class='inline'><p>
1523
+ additional http headers
1524
+ </p>
1525
+ </div>
1526
+
1527
+ </li>
1528
+
1529
+ </ul>
1530
+
1531
+
1532
+
1533
+
1534
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1535
+ <ul class="option">
1536
+
1537
+ <li>
1538
+ <span class="name">id</span>
1539
+ <span class="type">(<tt>Object</tt>)</span>
1540
+ <span class="default">
1541
+
1542
+ </span>
1543
+
1544
+ &mdash; <div class='inline'><p>
1545
+ Part of <tt>/api/environments/:id</tt> path
1546
+ </p>
1547
+ </div>
1548
+
1549
+ </li>
1550
+
1551
+ <li>
1552
+ <span class="name">organization_id</span>
1553
+ <span class="type">(<tt>Object</tt>)</span>
1554
+ <span class="default">
1555
+
1556
+ </span>
1557
+
1558
+ &mdash; <div class='inline'><p>
1559
+ Part of <tt>/api/organizations/:organization_id/environments/:id</tt> path
1560
+ </p>
1561
+ </div>
1562
+
1563
+ </li>
1564
+
1565
+ <li>
1566
+ <span class="name">environment</span>
1567
+ <span class="type">(<tt>Hash</tt>)</span>
1568
+ <span class="default">
1569
+
1570
+ </span>
1571
+
1572
+ &mdash; <div class='inline'><p>
1573
+ allowed keys are:
1574
+ </p>
1575
+ <ul>
1576
+ <li>description [String, nil]
1577
+
1578
+ </li>
1579
+ <li>name [String] name of the environment (identifier)
1580
+
1581
+ </li>
1582
+ </ul>
1583
+ </div>
1584
+
1585
+ </li>
1586
+
1587
+ </ul>
1588
+
1589
+
1590
+
1591
+
1592
+ <p class="tag_title">Returns:</p>
1593
+ <ul class="return">
1594
+
1595
+ <li>
1596
+
1597
+
1598
+ <span class='type'>(<tt>Array</tt>)</span>
1599
+
1600
+
1601
+
1602
+ &mdash;
1603
+ <div class='inline'><p>
1604
+ First item: parsed data; second item: raw body
1605
+ </p>
1606
+ </div>
1607
+
1608
+ </li>
1609
+
1610
+ </ul>
1611
+
1612
+ </div><table class="source_code">
1613
+ <tr>
1614
+ <td>
1615
+ <pre class="lines">
1616
+
1617
+
1618
+ 64
1619
+ 65
1620
+ 66</pre>
1621
+ </td>
1622
+ <td>
1623
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/environment.rb', line 64</span>
1624
+
1625
+ <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>
1626
+ <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>
1627
+ <span class='rubyid_end end kw'>end</span>
1628
+ </pre>
1629
+ </td>
1630
+ </tr>
1631
+ </table>
1632
+ </div>
1633
+
1634
+ </div>
1635
+
1636
+ </div>
1637
+
1638
+ <div id="footer">
1639
+ Generated on Mon Mar 18 14:17:46 2013 by
1640
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1641
+ 0.8.5.2 (ruby-1.8.7).
1642
+ </div>
1643
+
1644
+ </body>
1645
+ </html>