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,1573 @@
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::Template
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 (T)</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">Template</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::Template
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::Template</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/template.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="#export-instance_method" title="#export (instance method)">- (Array) <strong>export</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="#import-instance_method" title="#import (instance method)">- (Array) <strong>import</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="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</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="#update-instance_method" title="#update (instance method)">- (Array) <strong>update</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="#validate-instance_method" title="#validate (instance method)">- (Array) <strong>validate</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/template.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;templates&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">environment_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
+ environment numeric identifier
504
+ </p>
505
+ </div>
506
+
507
+ </li>
508
+
509
+ <li>
510
+ <span class="name">template</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>parent_id [String, nil] parent template numeric identifier
521
+
522
+ </li>
523
+ <li>description [String, nil] template description
524
+
525
+ </li>
526
+ <li>name [String] new template name
527
+
528
+ </li>
529
+ </ul>
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
+ 37
566
+ 38
567
+ 39</pre>
568
+ </td>
569
+ <td>
570
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 37</span>
571
+
572
+ <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>
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="destroy-instance_method">
583
+
584
+ - (<tt>Array</tt>) <strong>destroy</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>String</tt>)</span>
652
+ <span class="default">
653
+
654
+ </span>
655
+
656
+ &mdash; <div class='inline'><p>
657
+ template numeric identifier
658
+ </p>
659
+ </div>
660
+
661
+ </li>
662
+
663
+ </ul>
664
+
665
+
666
+
667
+
668
+ <p class="tag_title">Returns:</p>
669
+ <ul class="return">
670
+
671
+ <li>
672
+
673
+
674
+ <span class='type'>(<tt>Array</tt>)</span>
675
+
676
+
677
+
678
+ &mdash;
679
+ <div class='inline'><p>
680
+ First item: parsed data; second item: raw body
681
+ </p>
682
+ </div>
683
+
684
+ </li>
685
+
686
+ </ul>
687
+
688
+ </div><table class="source_code">
689
+ <tr>
690
+ <td>
691
+ <pre class="lines">
692
+
693
+
694
+ 60
695
+ 61
696
+ 62</pre>
697
+ </td>
698
+ <td>
699
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 60</span>
700
+
701
+ <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>
702
+ <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>
703
+ <span class='rubyid_end end kw'>end</span>
704
+ </pre>
705
+ </td>
706
+ </tr>
707
+ </table>
708
+ </div>
709
+
710
+ <div class="method_details ">
711
+ <h3 class="signature " id="export-instance_method">
712
+
713
+ - (<tt>Array</tt>) <strong>export</strong>(params = {}, headers = {})
714
+
715
+
716
+
717
+
718
+
719
+ </h3><div class="docstring">
720
+ <div class="discussion">
721
+ <p>
722
+ First item: parsed data; second item: raw body
723
+ </p>
724
+
725
+
726
+ </div>
727
+ </div>
728
+ <div class="tags">
729
+ <p class="tag_title">Parameters:</p>
730
+ <ul class="param">
731
+
732
+ <li>
733
+
734
+ <span class='name'>params</span>
735
+
736
+
737
+ <span class='type'>(<tt>Hash</tt>)</span>
738
+
739
+
740
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
741
+
742
+
743
+ &mdash;
744
+ <div class='inline'><p>
745
+ a hash of params to be passed to the service
746
+ </p>
747
+ </div>
748
+
749
+ </li>
750
+
751
+ <li>
752
+
753
+ <span class='name'>headers</span>
754
+
755
+
756
+ <span class='type'>(<tt>Hash</tt>)</span>
757
+
758
+
759
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
760
+
761
+
762
+ &mdash;
763
+ <div class='inline'><p>
764
+ additional http headers
765
+ </p>
766
+ </div>
767
+
768
+ </li>
769
+
770
+ </ul>
771
+
772
+
773
+
774
+
775
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
776
+ <ul class="option">
777
+
778
+ <li>
779
+ <span class="name">id</span>
780
+ <span class="type">(<tt>String</tt>)</span>
781
+ <span class="default">
782
+
783
+ </span>
784
+
785
+ &mdash; <div class='inline'><p>
786
+ template numeric identifier
787
+ </p>
788
+ </div>
789
+
790
+ </li>
791
+
792
+ </ul>
793
+
794
+
795
+
796
+
797
+ <p class="tag_title">Returns:</p>
798
+ <ul class="return">
799
+
800
+ <li>
801
+
802
+
803
+ <span class='type'>(<tt>Array</tt>)</span>
804
+
805
+
806
+
807
+ &mdash;
808
+ <div class='inline'><p>
809
+ First item: parsed data; second item: raw body
810
+ </p>
811
+ </div>
812
+
813
+ </li>
814
+
815
+ </ul>
816
+
817
+ </div><table class="source_code">
818
+ <tr>
819
+ <td>
820
+ <pre class="lines">
821
+
822
+
823
+ 93
824
+ 94
825
+ 95</pre>
826
+ </td>
827
+ <td>
828
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 93</span>
829
+
830
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_export identifier id'>export</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>
831
+ <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>
832
+ <span class='rubyid_end end kw'>end</span>
833
+ </pre>
834
+ </td>
835
+ </tr>
836
+ </table>
837
+ </div>
838
+
839
+ <div class="method_details ">
840
+ <h3 class="signature " id="import-instance_method">
841
+
842
+ - (<tt>Array</tt>) <strong>import</strong>(params = {}, headers = {})
843
+
844
+
845
+
846
+
847
+
848
+ </h3><div class="docstring">
849
+ <div class="discussion">
850
+ <p>
851
+ First item: parsed data; second item: raw body
852
+ </p>
853
+
854
+
855
+ </div>
856
+ </div>
857
+ <div class="tags">
858
+ <p class="tag_title">Parameters:</p>
859
+ <ul class="param">
860
+
861
+ <li>
862
+
863
+ <span class='name'>params</span>
864
+
865
+
866
+ <span class='type'>(<tt>Hash</tt>)</span>
867
+
868
+
869
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
870
+
871
+
872
+ &mdash;
873
+ <div class='inline'><p>
874
+ a hash of params to be passed to the service
875
+ </p>
876
+ </div>
877
+
878
+ </li>
879
+
880
+ <li>
881
+
882
+ <span class='name'>headers</span>
883
+
884
+
885
+ <span class='type'>(<tt>Hash</tt>)</span>
886
+
887
+
888
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
889
+
890
+
891
+ &mdash;
892
+ <div class='inline'><p>
893
+ additional http headers
894
+ </p>
895
+ </div>
896
+
897
+ </li>
898
+
899
+ </ul>
900
+
901
+
902
+
903
+
904
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
905
+ <ul class="option">
906
+
907
+ <li>
908
+ <span class="name">environment_id</span>
909
+ <span class="type">(<tt>String</tt>)</span>
910
+ <span class="default">
911
+
912
+ </span>
913
+
914
+ &mdash; <div class='inline'><p>
915
+ environment numeric identifier
916
+ </p>
917
+ </div>
918
+
919
+ </li>
920
+
921
+ <li>
922
+ <span class="name">template</span>
923
+ <span class="type">(<tt>Hash</tt>)</span>
924
+ <span class="default">
925
+
926
+ </span>
927
+
928
+ &mdash; <div class='inline'><p>
929
+ allowed keys are:
930
+ </p>
931
+ <ul>
932
+ <li>parent_id [String, nil] parent template numeric identifier
933
+
934
+ </li>
935
+ <li>description [String, nil] template description
936
+
937
+ </li>
938
+ <li>name [String] new template name
939
+
940
+ </li>
941
+ </ul>
942
+ </div>
943
+
944
+ </li>
945
+
946
+ <li>
947
+ <span class="name">template_file</span>
948
+ <span class="type">(<tt>String</tt>)</span>
949
+ <span class="default">
950
+
951
+ </span>
952
+
953
+ &mdash; <div class='inline'><p>
954
+ template file to import
955
+ </p>
956
+ </div>
957
+
958
+ </li>
959
+
960
+ </ul>
961
+
962
+
963
+
964
+
965
+ <p class="tag_title">Returns:</p>
966
+ <ul class="return">
967
+
968
+ <li>
969
+
970
+
971
+ <span class='type'>(<tt>Array</tt>)</span>
972
+
973
+
974
+
975
+ &mdash;
976
+ <div class='inline'><p>
977
+ First item: parsed data; second item: raw body
978
+ </p>
979
+ </div>
980
+
981
+ </li>
982
+
983
+ </ul>
984
+
985
+ </div><table class="source_code">
986
+ <tr>
987
+ <td>
988
+ <pre class="lines">
989
+
990
+
991
+ 75
992
+ 76
993
+ 77</pre>
994
+ </td>
995
+ <td>
996
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 75</span>
997
+
998
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_import identifier id'>import</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>
999
+ <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>
1000
+ <span class='rubyid_end end kw'>end</span>
1001
+ </pre>
1002
+ </td>
1003
+ </tr>
1004
+ </table>
1005
+ </div>
1006
+
1007
+ <div class="method_details ">
1008
+ <h3 class="signature " id="index-instance_method">
1009
+
1010
+ - (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
1011
+
1012
+
1013
+
1014
+
1015
+
1016
+ </h3><div class="docstring">
1017
+ <div class="discussion">
1018
+ <p>
1019
+ First item: parsed data; second item: raw body
1020
+ </p>
1021
+
1022
+
1023
+ </div>
1024
+ </div>
1025
+ <div class="tags">
1026
+ <p class="tag_title">Parameters:</p>
1027
+ <ul class="param">
1028
+
1029
+ <li>
1030
+
1031
+ <span class='name'>params</span>
1032
+
1033
+
1034
+ <span class='type'>(<tt>Hash</tt>)</span>
1035
+
1036
+
1037
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1038
+
1039
+
1040
+ &mdash;
1041
+ <div class='inline'><p>
1042
+ a hash of params to be passed to the service
1043
+ </p>
1044
+ </div>
1045
+
1046
+ </li>
1047
+
1048
+ <li>
1049
+
1050
+ <span class='name'>headers</span>
1051
+
1052
+
1053
+ <span class='type'>(<tt>Hash</tt>)</span>
1054
+
1055
+
1056
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1057
+
1058
+
1059
+ &mdash;
1060
+ <div class='inline'><p>
1061
+ additional http headers
1062
+ </p>
1063
+ </div>
1064
+
1065
+ </li>
1066
+
1067
+ </ul>
1068
+
1069
+
1070
+
1071
+
1072
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1073
+ <ul class="option">
1074
+
1075
+ <li>
1076
+ <span class="name">environment_id</span>
1077
+ <span class="type">(<tt>String</tt>)</span>
1078
+ <span class="default">
1079
+
1080
+ </span>
1081
+
1082
+ &mdash; <div class='inline'><p>
1083
+ environment numeric identifier
1084
+ </p>
1085
+ </div>
1086
+
1087
+ </li>
1088
+
1089
+ <li>
1090
+ <span class="name">name</span>
1091
+ <span class="type">(<tt>String</tt>)</span>
1092
+ <span class="default">
1093
+
1094
+ </span>
1095
+
1096
+ &mdash; <div class='inline'><p>
1097
+ system template identifier
1098
+ </p>
1099
+ </div>
1100
+
1101
+ </li>
1102
+
1103
+ </ul>
1104
+
1105
+
1106
+
1107
+
1108
+ <p class="tag_title">Returns:</p>
1109
+ <ul class="return">
1110
+
1111
+ <li>
1112
+
1113
+
1114
+ <span class='type'>(<tt>Array</tt>)</span>
1115
+
1116
+
1117
+
1118
+ &mdash;
1119
+ <div class='inline'><p>
1120
+ First item: parsed data; second item: raw body
1121
+ </p>
1122
+ </div>
1123
+
1124
+ </li>
1125
+
1126
+ </ul>
1127
+
1128
+ </div><table class="source_code">
1129
+ <tr>
1130
+ <td>
1131
+ <pre class="lines">
1132
+
1133
+
1134
+ 14
1135
+ 15
1136
+ 16</pre>
1137
+ </td>
1138
+ <td>
1139
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 14</span>
1140
+
1141
+ <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>
1142
+ <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>
1143
+ <span class='rubyid_end end kw'>end</span>
1144
+ </pre>
1145
+ </td>
1146
+ </tr>
1147
+ </table>
1148
+ </div>
1149
+
1150
+ <div class="method_details ">
1151
+ <h3 class="signature " id="show-instance_method">
1152
+
1153
+ - (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+ </h3><div class="docstring">
1160
+ <div class="discussion">
1161
+ <p>
1162
+ First item: parsed data; second item: raw body
1163
+ </p>
1164
+
1165
+
1166
+ </div>
1167
+ </div>
1168
+ <div class="tags">
1169
+ <p class="tag_title">Parameters:</p>
1170
+ <ul class="param">
1171
+
1172
+ <li>
1173
+
1174
+ <span class='name'>params</span>
1175
+
1176
+
1177
+ <span class='type'>(<tt>Hash</tt>)</span>
1178
+
1179
+
1180
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1181
+
1182
+
1183
+ &mdash;
1184
+ <div class='inline'><p>
1185
+ a hash of params to be passed to the service
1186
+ </p>
1187
+ </div>
1188
+
1189
+ </li>
1190
+
1191
+ <li>
1192
+
1193
+ <span class='name'>headers</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
+ additional http headers
1205
+ </p>
1206
+ </div>
1207
+
1208
+ </li>
1209
+
1210
+ </ul>
1211
+
1212
+
1213
+
1214
+
1215
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1216
+ <ul class="option">
1217
+
1218
+ <li>
1219
+ <span class="name">id</span>
1220
+ <span class="type">(<tt>String</tt>)</span>
1221
+ <span class="default">
1222
+
1223
+ </span>
1224
+
1225
+ &mdash; <div class='inline'><p>
1226
+ system template numeric identifier
1227
+ </p>
1228
+ </div>
1229
+
1230
+ </li>
1231
+
1232
+ </ul>
1233
+
1234
+
1235
+
1236
+
1237
+ <p class="tag_title">Returns:</p>
1238
+ <ul class="return">
1239
+
1240
+ <li>
1241
+
1242
+
1243
+ <span class='type'>(<tt>Array</tt>)</span>
1244
+
1245
+
1246
+
1247
+ &mdash;
1248
+ <div class='inline'><p>
1249
+ First item: parsed data; second item: raw body
1250
+ </p>
1251
+ </div>
1252
+
1253
+ </li>
1254
+
1255
+ </ul>
1256
+
1257
+ </div><table class="source_code">
1258
+ <tr>
1259
+ <td>
1260
+ <pre class="lines">
1261
+
1262
+
1263
+ 23
1264
+ 24
1265
+ 25</pre>
1266
+ </td>
1267
+ <td>
1268
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 23</span>
1269
+
1270
+ <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>
1271
+ <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>
1272
+ <span class='rubyid_end end kw'>end</span>
1273
+ </pre>
1274
+ </td>
1275
+ </tr>
1276
+ </table>
1277
+ </div>
1278
+
1279
+ <div class="method_details ">
1280
+ <h3 class="signature " id="update-instance_method">
1281
+
1282
+ - (<tt>Array</tt>) <strong>update</strong>(params = {}, headers = {})
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+ </h3><div class="docstring">
1289
+ <div class="discussion">
1290
+ <p>
1291
+ First item: parsed data; second item: raw body
1292
+ </p>
1293
+
1294
+
1295
+ </div>
1296
+ </div>
1297
+ <div class="tags">
1298
+ <p class="tag_title">Parameters:</p>
1299
+ <ul class="param">
1300
+
1301
+ <li>
1302
+
1303
+ <span class='name'>params</span>
1304
+
1305
+
1306
+ <span class='type'>(<tt>Hash</tt>)</span>
1307
+
1308
+
1309
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1310
+
1311
+
1312
+ &mdash;
1313
+ <div class='inline'><p>
1314
+ a hash of params to be passed to the service
1315
+ </p>
1316
+ </div>
1317
+
1318
+ </li>
1319
+
1320
+ <li>
1321
+
1322
+ <span class='name'>headers</span>
1323
+
1324
+
1325
+ <span class='type'>(<tt>Hash</tt>)</span>
1326
+
1327
+
1328
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1329
+
1330
+
1331
+ &mdash;
1332
+ <div class='inline'><p>
1333
+ additional http headers
1334
+ </p>
1335
+ </div>
1336
+
1337
+ </li>
1338
+
1339
+ </ul>
1340
+
1341
+
1342
+
1343
+
1344
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1345
+ <ul class="option">
1346
+
1347
+ <li>
1348
+ <span class="name">id</span>
1349
+ <span class="type">(<tt>String</tt>)</span>
1350
+ <span class="default">
1351
+
1352
+ </span>
1353
+
1354
+ &mdash; <div class='inline'><p>
1355
+ template numeric identifier
1356
+ </p>
1357
+ </div>
1358
+
1359
+ </li>
1360
+
1361
+ <li>
1362
+ <span class="name">template</span>
1363
+ <span class="type">(<tt>Hash</tt>)</span>
1364
+ <span class="default">
1365
+
1366
+ </span>
1367
+
1368
+ &mdash; <div class='inline'><p>
1369
+ allowed keys are:
1370
+ </p>
1371
+ <ul>
1372
+ <li>parent_id [String, nil] parent template numeric identifier
1373
+
1374
+ </li>
1375
+ <li>description [String, nil] template description
1376
+
1377
+ </li>
1378
+ <li>name [String] new template name
1379
+
1380
+ </li>
1381
+ </ul>
1382
+ </div>
1383
+
1384
+ </li>
1385
+
1386
+ </ul>
1387
+
1388
+
1389
+
1390
+
1391
+ <p class="tag_title">Returns:</p>
1392
+ <ul class="return">
1393
+
1394
+ <li>
1395
+
1396
+
1397
+ <span class='type'>(<tt>Array</tt>)</span>
1398
+
1399
+
1400
+
1401
+ &mdash;
1402
+ <div class='inline'><p>
1403
+ First item: parsed data; second item: raw body
1404
+ </p>
1405
+ </div>
1406
+
1407
+ </li>
1408
+
1409
+ </ul>
1410
+
1411
+ </div><table class="source_code">
1412
+ <tr>
1413
+ <td>
1414
+ <pre class="lines">
1415
+
1416
+
1417
+ 51
1418
+ 52
1419
+ 53</pre>
1420
+ </td>
1421
+ <td>
1422
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 51</span>
1423
+
1424
+ <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>
1425
+ <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>
1426
+ <span class='rubyid_end end kw'>end</span>
1427
+ </pre>
1428
+ </td>
1429
+ </tr>
1430
+ </table>
1431
+ </div>
1432
+
1433
+ <div class="method_details ">
1434
+ <h3 class="signature " id="validate-instance_method">
1435
+
1436
+ - (<tt>Array</tt>) <strong>validate</strong>(params = {}, headers = {})
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+ </h3><div class="docstring">
1443
+ <div class="discussion">
1444
+ <p>
1445
+ First item: parsed data; second item: raw body
1446
+ </p>
1447
+
1448
+
1449
+ </div>
1450
+ </div>
1451
+ <div class="tags">
1452
+ <p class="tag_title">Parameters:</p>
1453
+ <ul class="param">
1454
+
1455
+ <li>
1456
+
1457
+ <span class='name'>params</span>
1458
+
1459
+
1460
+ <span class='type'>(<tt>Hash</tt>)</span>
1461
+
1462
+
1463
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1464
+
1465
+
1466
+ &mdash;
1467
+ <div class='inline'><p>
1468
+ a hash of params to be passed to the service
1469
+ </p>
1470
+ </div>
1471
+
1472
+ </li>
1473
+
1474
+ <li>
1475
+
1476
+ <span class='name'>headers</span>
1477
+
1478
+
1479
+ <span class='type'>(<tt>Hash</tt>)</span>
1480
+
1481
+
1482
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1483
+
1484
+
1485
+ &mdash;
1486
+ <div class='inline'><p>
1487
+ additional http headers
1488
+ </p>
1489
+ </div>
1490
+
1491
+ </li>
1492
+
1493
+ </ul>
1494
+
1495
+
1496
+
1497
+
1498
+ <p class="tag_title">Options Hash (<tt>params</tt>):</p>
1499
+ <ul class="option">
1500
+
1501
+ <li>
1502
+ <span class="name">id</span>
1503
+ <span class="type">(<tt>String</tt>)</span>
1504
+ <span class="default">
1505
+
1506
+ </span>
1507
+
1508
+ &mdash; <div class='inline'><p>
1509
+ template numeric identifier
1510
+ </p>
1511
+ </div>
1512
+
1513
+ </li>
1514
+
1515
+ </ul>
1516
+
1517
+
1518
+
1519
+
1520
+ <p class="tag_title">Returns:</p>
1521
+ <ul class="return">
1522
+
1523
+ <li>
1524
+
1525
+
1526
+ <span class='type'>(<tt>Array</tt>)</span>
1527
+
1528
+
1529
+
1530
+ &mdash;
1531
+ <div class='inline'><p>
1532
+ First item: parsed data; second item: raw body
1533
+ </p>
1534
+ </div>
1535
+
1536
+ </li>
1537
+
1538
+ </ul>
1539
+
1540
+ </div><table class="source_code">
1541
+ <tr>
1542
+ <td>
1543
+ <pre class="lines">
1544
+
1545
+
1546
+ 84
1547
+ 85
1548
+ 86</pre>
1549
+ </td>
1550
+ <td>
1551
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 84</span>
1552
+
1553
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_validate identifier id'>validate</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>
1554
+ <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>
1555
+ <span class='rubyid_end end kw'>end</span>
1556
+ </pre>
1557
+ </td>
1558
+ </tr>
1559
+ </table>
1560
+ </div>
1561
+
1562
+ </div>
1563
+
1564
+ </div>
1565
+
1566
+ <div id="footer">
1567
+ Generated on Mon Mar 18 14:17:44 2013 by
1568
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1569
+ 0.8.5.2 (ruby-1.8.7).
1570
+ </div>
1571
+
1572
+ </body>
1573
+ </html>