katello_api 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +3 -0
- data/Gemfile +1 -1
- data/README.rdoc +22 -13
- data/Rakefile +0 -1
- data/doc/KatelloApi/Base.html +102 -116
- data/doc/KatelloApi/Generator/Base.html +65 -80
- data/doc/KatelloApi/Generator.html +5 -5
- data/doc/KatelloApi/Resources/About.html +360 -0
- data/doc/KatelloApi/Resources/ActivationKey.html +190 -304
- data/doc/KatelloApi/Resources/Architecture.html +89 -129
- data/doc/KatelloApi/Resources/Changeset.html +156 -399
- data/doc/KatelloApi/Resources/ChangesetsContent.html +97 -2215
- data/doc/KatelloApi/Resources/ComputeResource.html +131 -189
- data/doc/KatelloApi/Resources/ConfigTemplate.html +143 -208
- data/doc/KatelloApi/Resources/ContentUpload.html +1046 -0
- data/doc/KatelloApi/Resources/ContentView.html +229 -117
- data/doc/KatelloApi/Resources/ContentViewDefinition.html +1190 -323
- data/doc/KatelloApi/Resources/Crl.html +21 -28
- data/doc/KatelloApi/Resources/CustomInfo.html +1110 -0
- data/doc/KatelloApi/Resources/Distribution.html +40 -56
- data/doc/KatelloApi/Resources/Distributor.html +406 -469
- data/doc/KatelloApi/Resources/Domain.html +107 -155
- data/doc/KatelloApi/Resources/Environment.html +211 -539
- data/doc/KatelloApi/Resources/Erratum.html +56 -90
- data/doc/KatelloApi/Resources/Filter.html +1533 -0
- data/doc/KatelloApi/Resources/FilterRule.html +591 -0
- data/doc/KatelloApi/Resources/GpgKey.html +230 -196
- data/doc/KatelloApi/Resources/HardwareModel.html +101 -147
- data/doc/KatelloApi/Resources/Organization.html +647 -158
- data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +803 -0
- data/doc/KatelloApi/Resources/Package.html +57 -81
- data/doc/KatelloApi/Resources/Permission.html +109 -197
- data/doc/KatelloApi/Resources/Ping.html +37 -179
- data/doc/KatelloApi/Resources/Product.html +289 -462
- data/doc/KatelloApi/Resources/Provider.html +397 -424
- data/doc/KatelloApi/Resources/PuppetModule.html +704 -0
- data/doc/KatelloApi/Resources/Repository.html +302 -958
- data/doc/KatelloApi/Resources/RepositorySet.html +64 -104
- data/doc/KatelloApi/Resources/Role.html +131 -250
- data/doc/KatelloApi/Resources/RoleLdapGroup.html +74 -95
- data/doc/KatelloApi/Resources/SmartProxy.html +97 -143
- data/doc/KatelloApi/Resources/Statu.html +21 -28
- data/doc/KatelloApi/Resources/Status.html +360 -0
- data/doc/KatelloApi/Resources/Subnet.html +89 -129
- data/doc/KatelloApi/Resources/Subscription.html +486 -162
- data/doc/KatelloApi/Resources/Sync.html +85 -155
- data/doc/KatelloApi/Resources/SyncPlan.html +127 -220
- data/doc/KatelloApi/Resources/System.html +913 -925
- data/doc/KatelloApi/Resources/SystemErratum.html +557 -0
- data/doc/KatelloApi/Resources/SystemGroup.html +634 -408
- data/doc/KatelloApi/Resources/SystemGroupErratum.html +47 -66
- data/doc/KatelloApi/Resources/SystemGroupPackage.html +77 -108
- data/doc/KatelloApi/Resources/SystemPackage.html +734 -108
- data/doc/KatelloApi/Resources/SystemsBulkAction.html +1706 -0
- data/doc/KatelloApi/Resources/Task.html +38 -53
- data/doc/KatelloApi/Resources/Template.html +159 -233
- data/doc/KatelloApi/Resources/TemplatesContent.html +214 -312
- data/doc/KatelloApi/Resources/Uebercert.html +25 -34
- data/doc/KatelloApi/Resources/User.html +204 -433
- data/doc/KatelloApi/Resources.html +7 -7
- data/doc/KatelloApi.html +21 -26
- data/doc/_index.html +87 -9
- data/doc/class_list.html +3 -2
- data/doc/css/style.css +1 -1
- data/doc/file.README.html +60 -54
- data/doc/file_list.html +2 -1
- data/doc/frames.html +5 -7
- data/doc/index.html +60 -54
- data/doc/js/app.js +7 -2
- data/doc/js/full_list.js +7 -2
- data/doc/method_list.html +854 -1225
- data/doc/top-level-namespace.html +5 -5
- data/katello_api.gemspec +7 -5
- data/lib/katello_api/base.rb +9 -8
- data/lib/katello_api/documentation.json +1 -1
- data/lib/katello_api/resources/about.rb +18 -0
- data/lib/katello_api/resources/activation_key.rb +11 -13
- data/lib/katello_api/resources/changeset.rb +4 -15
- data/lib/katello_api/resources/changesets_content.rb +6 -130
- data/lib/katello_api/resources/content_upload.rb +61 -0
- data/lib/katello_api/resources/content_view.rb +10 -1
- data/lib/katello_api/resources/content_view_definition.rb +65 -3
- data/lib/katello_api/resources/custom_info.rb +70 -0
- data/lib/katello_api/resources/distributor.rb +33 -18
- data/lib/katello_api/resources/environment.rb +20 -41
- data/lib/katello_api/resources/erratum.rb +3 -4
- data/lib/katello_api/resources/filter.rb +93 -0
- data/lib/katello_api/resources/filter_rule.rb +36 -0
- data/lib/katello_api/resources/gpg_key.rb +18 -14
- data/lib/katello_api/resources/organization.rb +43 -8
- data/lib/katello_api/resources/organization_default_info.rb +48 -0
- data/lib/katello_api/resources/permission.rb +10 -7
- data/lib/katello_api/resources/ping.rb +1 -9
- data/lib/katello_api/resources/product.rb +26 -30
- data/lib/katello_api/resources/provider.rb +21 -20
- data/lib/katello_api/resources/puppet_module.rb +39 -0
- data/lib/katello_api/resources/repository.rb +28 -62
- data/lib/katello_api/resources/repository_set.rb +1 -2
- data/lib/katello_api/resources/role.rb +0 -5
- data/lib/katello_api/resources/role_ldap_group.rb +3 -1
- data/lib/katello_api/resources/status.rb +18 -0
- data/lib/katello_api/resources/subscription.rb +33 -7
- data/lib/katello_api/resources/sync.rb +9 -12
- data/lib/katello_api/resources/sync_plan.rb +2 -5
- data/lib/katello_api/resources/system.rb +95 -73
- data/lib/katello_api/resources/system_erratum.rb +30 -0
- data/lib/katello_api/resources/system_group.rb +40 -27
- data/lib/katello_api/resources/system_group_erratum.rb +1 -1
- data/lib/katello_api/resources/system_group_package.rb +6 -6
- data/lib/katello_api/resources/system_package.rb +46 -5
- data/lib/katello_api/resources/systems_bulk_action.rb +140 -0
- data/lib/katello_api/resources/user.rb +14 -18
- data/lib/katello_api/version.rb +1 -1
- metadata +26 -14
@@ -6,13 +6,13 @@
|
|
6
6
|
<title>
|
7
7
|
Class: KatelloApi::Resources::Template
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
@@ -178,9 +178,8 @@
|
|
178
178
|
|
179
179
|
|
180
180
|
|
181
|
-
<span class="summary_desc"><div class='inline'
|
182
|
-
First item: parsed data; second item: raw body
|
183
|
-
</p>
|
181
|
+
<span class="summary_desc"><div class='inline'>
|
182
|
+
<p>First item: parsed data; second item: raw body.</p>
|
184
183
|
</div></span>
|
185
184
|
|
186
185
|
</li>
|
@@ -203,9 +202,8 @@ First item: parsed data; second item: raw body.
|
|
203
202
|
|
204
203
|
|
205
204
|
|
206
|
-
<span class="summary_desc"><div class='inline'
|
207
|
-
First item: parsed data; second item: raw body
|
208
|
-
</p>
|
205
|
+
<span class="summary_desc"><div class='inline'>
|
206
|
+
<p>First item: parsed data; second item: raw body.</p>
|
209
207
|
</div></span>
|
210
208
|
|
211
209
|
</li>
|
@@ -228,9 +226,8 @@ First item: parsed data; second item: raw body.
|
|
228
226
|
|
229
227
|
|
230
228
|
|
231
|
-
<span class="summary_desc"><div class='inline'
|
232
|
-
First item: parsed data; second item: raw body
|
233
|
-
</p>
|
229
|
+
<span class="summary_desc"><div class='inline'>
|
230
|
+
<p>First item: parsed data; second item: raw body.</p>
|
234
231
|
</div></span>
|
235
232
|
|
236
233
|
</li>
|
@@ -253,9 +250,8 @@ First item: parsed data; second item: raw body.
|
|
253
250
|
|
254
251
|
|
255
252
|
|
256
|
-
<span class="summary_desc"><div class='inline'
|
257
|
-
First item: parsed data; second item: raw body
|
258
|
-
</p>
|
253
|
+
<span class="summary_desc"><div class='inline'>
|
254
|
+
<p>First item: parsed data; second item: raw body.</p>
|
259
255
|
</div></span>
|
260
256
|
|
261
257
|
</li>
|
@@ -278,9 +274,8 @@ First item: parsed data; second item: raw body.
|
|
278
274
|
|
279
275
|
|
280
276
|
|
281
|
-
<span class="summary_desc"><div class='inline'
|
282
|
-
First item: parsed data; second item: raw body
|
283
|
-
</p>
|
277
|
+
<span class="summary_desc"><div class='inline'>
|
278
|
+
<p>First item: parsed data; second item: raw body.</p>
|
284
279
|
</div></span>
|
285
280
|
|
286
281
|
</li>
|
@@ -303,9 +298,8 @@ First item: parsed data; second item: raw body.
|
|
303
298
|
|
304
299
|
|
305
300
|
|
306
|
-
<span class="summary_desc"><div class='inline'
|
307
|
-
First item: parsed data; second item: raw body
|
308
|
-
</p>
|
301
|
+
<span class="summary_desc"><div class='inline'>
|
302
|
+
<p>First item: parsed data; second item: raw body.</p>
|
309
303
|
</div></span>
|
310
304
|
|
311
305
|
</li>
|
@@ -328,9 +322,8 @@ First item: parsed data; second item: raw body.
|
|
328
322
|
|
329
323
|
|
330
324
|
|
331
|
-
<span class="summary_desc"><div class='inline'
|
332
|
-
First item: parsed data; second item: raw body
|
333
|
-
</p>
|
325
|
+
<span class="summary_desc"><div class='inline'>
|
326
|
+
<p>First item: parsed data; second item: raw body.</p>
|
334
327
|
</div></span>
|
335
328
|
|
336
329
|
</li>
|
@@ -353,9 +346,8 @@ First item: parsed data; second item: raw body.
|
|
353
346
|
|
354
347
|
|
355
348
|
|
356
|
-
<span class="summary_desc"><div class='inline'
|
357
|
-
First item: parsed data; second item: raw body
|
358
|
-
</p>
|
349
|
+
<span class="summary_desc"><div class='inline'>
|
350
|
+
<p>First item: parsed data; second item: raw body.</p>
|
359
351
|
</div></span>
|
360
352
|
|
361
353
|
</li>
|
@@ -409,10 +401,9 @@ First item: parsed data; second item: raw body.
|
|
409
401
|
<td>
|
410
402
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 4</span>
|
411
403
|
|
412
|
-
<span class='
|
413
|
-
<span class='
|
414
|
-
<span class='
|
415
|
-
</pre>
|
404
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
405
|
+
<span class='ivar'>@doc</span> <span class='op'>||=</span> <span class='const'>KatelloApi</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>resources</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>templates</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
406
|
+
<span class='kw'>end</span></pre>
|
416
407
|
</td>
|
417
408
|
</tr>
|
418
409
|
</table>
|
@@ -435,9 +426,8 @@ First item: parsed data; second item: raw body.
|
|
435
426
|
|
436
427
|
</h3><div class="docstring">
|
437
428
|
<div class="discussion">
|
438
|
-
|
439
|
-
First item: parsed data; second item: raw body
|
440
|
-
</p>
|
429
|
+
|
430
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
441
431
|
|
442
432
|
|
443
433
|
</div>
|
@@ -458,9 +448,8 @@ First item: parsed data; second item: raw body
|
|
458
448
|
|
459
449
|
|
460
450
|
—
|
461
|
-
<div class='inline'
|
462
|
-
a hash of params to be passed to the service
|
463
|
-
</p>
|
451
|
+
<div class='inline'>
|
452
|
+
<p>a hash of params to be passed to the service</p>
|
464
453
|
</div>
|
465
454
|
|
466
455
|
</li>
|
@@ -477,9 +466,8 @@ a hash of params to be passed to the service
|
|
477
466
|
|
478
467
|
|
479
468
|
—
|
480
|
-
<div class='inline'
|
481
|
-
additional http headers
|
482
|
-
</p>
|
469
|
+
<div class='inline'>
|
470
|
+
<p>additional http headers</p>
|
483
471
|
</div>
|
484
472
|
|
485
473
|
</li>
|
@@ -499,9 +487,8 @@ additional http headers
|
|
499
487
|
|
500
488
|
</span>
|
501
489
|
|
502
|
-
— <div class='inline'
|
503
|
-
environment numeric identifier
|
504
|
-
</p>
|
490
|
+
— <div class='inline'>
|
491
|
+
<p>environment numeric identifier</p>
|
505
492
|
</div>
|
506
493
|
|
507
494
|
</li>
|
@@ -513,20 +500,15 @@ environment numeric identifier
|
|
513
500
|
|
514
501
|
</span>
|
515
502
|
|
516
|
-
— <div class='inline'
|
517
|
-
allowed keys are
|
518
|
-
|
519
|
-
<
|
520
|
-
|
521
|
-
|
522
|
-
</li>
|
523
|
-
<
|
524
|
-
|
525
|
-
</li>
|
526
|
-
<li>name [String] new template name
|
527
|
-
|
528
|
-
</li>
|
529
|
-
</ul>
|
503
|
+
— <div class='inline'>
|
504
|
+
<p>allowed keys are:</p>
|
505
|
+
<ul><li>
|
506
|
+
<p>parent_id [String, nil] parent template numeric identifier</p>
|
507
|
+
</li><li>
|
508
|
+
<p>description [String, nil] template description</p>
|
509
|
+
</li><li>
|
510
|
+
<p>name [String] new template name</p>
|
511
|
+
</li></ul>
|
530
512
|
</div>
|
531
513
|
|
532
514
|
</li>
|
@@ -547,9 +529,8 @@ allowed keys are:
|
|
547
529
|
|
548
530
|
|
549
531
|
—
|
550
|
-
<div class='inline'
|
551
|
-
First item: parsed data; second item: raw body
|
552
|
-
</p>
|
532
|
+
<div class='inline'>
|
533
|
+
<p>First item: parsed data; second item: raw body</p>
|
553
534
|
</div>
|
554
535
|
|
555
536
|
</li>
|
@@ -569,10 +550,9 @@ First item: parsed data; second item: raw body
|
|
569
550
|
<td>
|
570
551
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 37</span>
|
571
552
|
|
572
|
-
<span class='
|
573
|
-
<span class='
|
574
|
-
<span class='
|
575
|
-
</pre>
|
553
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
554
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
555
|
+
<span class='kw'>end</span></pre>
|
576
556
|
</td>
|
577
557
|
</tr>
|
578
558
|
</table>
|
@@ -589,9 +569,8 @@ First item: parsed data; second item: raw body
|
|
589
569
|
|
590
570
|
</h3><div class="docstring">
|
591
571
|
<div class="discussion">
|
592
|
-
|
593
|
-
First item: parsed data; second item: raw body
|
594
|
-
</p>
|
572
|
+
|
573
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
595
574
|
|
596
575
|
|
597
576
|
</div>
|
@@ -612,9 +591,8 @@ First item: parsed data; second item: raw body
|
|
612
591
|
|
613
592
|
|
614
593
|
—
|
615
|
-
<div class='inline'
|
616
|
-
a hash of params to be passed to the service
|
617
|
-
</p>
|
594
|
+
<div class='inline'>
|
595
|
+
<p>a hash of params to be passed to the service</p>
|
618
596
|
</div>
|
619
597
|
|
620
598
|
</li>
|
@@ -631,9 +609,8 @@ a hash of params to be passed to the service
|
|
631
609
|
|
632
610
|
|
633
611
|
—
|
634
|
-
<div class='inline'
|
635
|
-
additional http headers
|
636
|
-
</p>
|
612
|
+
<div class='inline'>
|
613
|
+
<p>additional http headers</p>
|
637
614
|
</div>
|
638
615
|
|
639
616
|
</li>
|
@@ -653,9 +630,8 @@ additional http headers
|
|
653
630
|
|
654
631
|
</span>
|
655
632
|
|
656
|
-
— <div class='inline'
|
657
|
-
template numeric identifier
|
658
|
-
</p>
|
633
|
+
— <div class='inline'>
|
634
|
+
<p>template numeric identifier</p>
|
659
635
|
</div>
|
660
636
|
|
661
637
|
</li>
|
@@ -676,9 +652,8 @@ template numeric identifier
|
|
676
652
|
|
677
653
|
|
678
654
|
—
|
679
|
-
<div class='inline'
|
680
|
-
First item: parsed data; second item: raw body
|
681
|
-
</p>
|
655
|
+
<div class='inline'>
|
656
|
+
<p>First item: parsed data; second item: raw body</p>
|
682
657
|
</div>
|
683
658
|
|
684
659
|
</li>
|
@@ -698,10 +673,9 @@ First item: parsed data; second item: raw body
|
|
698
673
|
<td>
|
699
674
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 60</span>
|
700
675
|
|
701
|
-
<span class='
|
702
|
-
<span class='
|
703
|
-
<span class='
|
704
|
-
</pre>
|
676
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_destroy'>destroy</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
677
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
678
|
+
<span class='kw'>end</span></pre>
|
705
679
|
</td>
|
706
680
|
</tr>
|
707
681
|
</table>
|
@@ -718,9 +692,8 @@ First item: parsed data; second item: raw body
|
|
718
692
|
|
719
693
|
</h3><div class="docstring">
|
720
694
|
<div class="discussion">
|
721
|
-
|
722
|
-
First item: parsed data; second item: raw body
|
723
|
-
</p>
|
695
|
+
|
696
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
724
697
|
|
725
698
|
|
726
699
|
</div>
|
@@ -741,9 +714,8 @@ First item: parsed data; second item: raw body
|
|
741
714
|
|
742
715
|
|
743
716
|
—
|
744
|
-
<div class='inline'
|
745
|
-
a hash of params to be passed to the service
|
746
|
-
</p>
|
717
|
+
<div class='inline'>
|
718
|
+
<p>a hash of params to be passed to the service</p>
|
747
719
|
</div>
|
748
720
|
|
749
721
|
</li>
|
@@ -760,9 +732,8 @@ a hash of params to be passed to the service
|
|
760
732
|
|
761
733
|
|
762
734
|
—
|
763
|
-
<div class='inline'
|
764
|
-
additional http headers
|
765
|
-
</p>
|
735
|
+
<div class='inline'>
|
736
|
+
<p>additional http headers</p>
|
766
737
|
</div>
|
767
738
|
|
768
739
|
</li>
|
@@ -782,9 +753,8 @@ additional http headers
|
|
782
753
|
|
783
754
|
</span>
|
784
755
|
|
785
|
-
— <div class='inline'
|
786
|
-
template numeric identifier
|
787
|
-
</p>
|
756
|
+
— <div class='inline'>
|
757
|
+
<p>template numeric identifier</p>
|
788
758
|
</div>
|
789
759
|
|
790
760
|
</li>
|
@@ -805,9 +775,8 @@ template numeric identifier
|
|
805
775
|
|
806
776
|
|
807
777
|
—
|
808
|
-
<div class='inline'
|
809
|
-
First item: parsed data; second item: raw body
|
810
|
-
</p>
|
778
|
+
<div class='inline'>
|
779
|
+
<p>First item: parsed data; second item: raw body</p>
|
811
780
|
</div>
|
812
781
|
|
813
782
|
</li>
|
@@ -827,10 +796,9 @@ First item: parsed data; second item: raw body
|
|
827
796
|
<td>
|
828
797
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 93</span>
|
829
798
|
|
830
|
-
<span class='
|
831
|
-
<span class='
|
832
|
-
<span class='
|
833
|
-
</pre>
|
799
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_export'>export</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
800
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
801
|
+
<span class='kw'>end</span></pre>
|
834
802
|
</td>
|
835
803
|
</tr>
|
836
804
|
</table>
|
@@ -847,9 +815,8 @@ First item: parsed data; second item: raw body
|
|
847
815
|
|
848
816
|
</h3><div class="docstring">
|
849
817
|
<div class="discussion">
|
850
|
-
|
851
|
-
First item: parsed data; second item: raw body
|
852
|
-
</p>
|
818
|
+
|
819
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
853
820
|
|
854
821
|
|
855
822
|
</div>
|
@@ -870,9 +837,8 @@ First item: parsed data; second item: raw body
|
|
870
837
|
|
871
838
|
|
872
839
|
—
|
873
|
-
<div class='inline'
|
874
|
-
a hash of params to be passed to the service
|
875
|
-
</p>
|
840
|
+
<div class='inline'>
|
841
|
+
<p>a hash of params to be passed to the service</p>
|
876
842
|
</div>
|
877
843
|
|
878
844
|
</li>
|
@@ -889,9 +855,8 @@ a hash of params to be passed to the service
|
|
889
855
|
|
890
856
|
|
891
857
|
—
|
892
|
-
<div class='inline'
|
893
|
-
additional http headers
|
894
|
-
</p>
|
858
|
+
<div class='inline'>
|
859
|
+
<p>additional http headers</p>
|
895
860
|
</div>
|
896
861
|
|
897
862
|
</li>
|
@@ -911,9 +876,8 @@ additional http headers
|
|
911
876
|
|
912
877
|
</span>
|
913
878
|
|
914
|
-
— <div class='inline'
|
915
|
-
environment numeric identifier
|
916
|
-
</p>
|
879
|
+
— <div class='inline'>
|
880
|
+
<p>environment numeric identifier</p>
|
917
881
|
</div>
|
918
882
|
|
919
883
|
</li>
|
@@ -925,20 +889,15 @@ environment numeric identifier
|
|
925
889
|
|
926
890
|
</span>
|
927
891
|
|
928
|
-
— <div class='inline'
|
929
|
-
allowed keys are
|
930
|
-
|
931
|
-
<
|
932
|
-
|
933
|
-
|
934
|
-
</li>
|
935
|
-
<
|
936
|
-
|
937
|
-
</li>
|
938
|
-
<li>name [String] new template name
|
939
|
-
|
940
|
-
</li>
|
941
|
-
</ul>
|
892
|
+
— <div class='inline'>
|
893
|
+
<p>allowed keys are:</p>
|
894
|
+
<ul><li>
|
895
|
+
<p>parent_id [String, nil] parent template numeric identifier</p>
|
896
|
+
</li><li>
|
897
|
+
<p>description [String, nil] template description</p>
|
898
|
+
</li><li>
|
899
|
+
<p>name [String] new template name</p>
|
900
|
+
</li></ul>
|
942
901
|
</div>
|
943
902
|
|
944
903
|
</li>
|
@@ -950,9 +909,8 @@ allowed keys are:
|
|
950
909
|
|
951
910
|
</span>
|
952
911
|
|
953
|
-
— <div class='inline'
|
954
|
-
template file to import
|
955
|
-
</p>
|
912
|
+
— <div class='inline'>
|
913
|
+
<p>template file to import</p>
|
956
914
|
</div>
|
957
915
|
|
958
916
|
</li>
|
@@ -973,9 +931,8 @@ template file to import
|
|
973
931
|
|
974
932
|
|
975
933
|
—
|
976
|
-
<div class='inline'
|
977
|
-
First item: parsed data; second item: raw body
|
978
|
-
</p>
|
934
|
+
<div class='inline'>
|
935
|
+
<p>First item: parsed data; second item: raw body</p>
|
979
936
|
</div>
|
980
937
|
|
981
938
|
</li>
|
@@ -995,10 +952,9 @@ First item: parsed data; second item: raw body
|
|
995
952
|
<td>
|
996
953
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 75</span>
|
997
954
|
|
998
|
-
<span class='
|
999
|
-
<span class='
|
1000
|
-
<span class='
|
1001
|
-
</pre>
|
955
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_import'>import</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
956
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
957
|
+
<span class='kw'>end</span></pre>
|
1002
958
|
</td>
|
1003
959
|
</tr>
|
1004
960
|
</table>
|
@@ -1015,9 +971,8 @@ First item: parsed data; second item: raw body
|
|
1015
971
|
|
1016
972
|
</h3><div class="docstring">
|
1017
973
|
<div class="discussion">
|
1018
|
-
|
1019
|
-
First item: parsed data; second item: raw body
|
1020
|
-
</p>
|
974
|
+
|
975
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1021
976
|
|
1022
977
|
|
1023
978
|
</div>
|
@@ -1038,9 +993,8 @@ First item: parsed data; second item: raw body
|
|
1038
993
|
|
1039
994
|
|
1040
995
|
—
|
1041
|
-
<div class='inline'
|
1042
|
-
a hash of params to be passed to the service
|
1043
|
-
</p>
|
996
|
+
<div class='inline'>
|
997
|
+
<p>a hash of params to be passed to the service</p>
|
1044
998
|
</div>
|
1045
999
|
|
1046
1000
|
</li>
|
@@ -1057,9 +1011,8 @@ a hash of params to be passed to the service
|
|
1057
1011
|
|
1058
1012
|
|
1059
1013
|
—
|
1060
|
-
<div class='inline'
|
1061
|
-
additional http headers
|
1062
|
-
</p>
|
1014
|
+
<div class='inline'>
|
1015
|
+
<p>additional http headers</p>
|
1063
1016
|
</div>
|
1064
1017
|
|
1065
1018
|
</li>
|
@@ -1079,9 +1032,8 @@ additional http headers
|
|
1079
1032
|
|
1080
1033
|
</span>
|
1081
1034
|
|
1082
|
-
— <div class='inline'
|
1083
|
-
environment numeric identifier
|
1084
|
-
</p>
|
1035
|
+
— <div class='inline'>
|
1036
|
+
<p>environment numeric identifier</p>
|
1085
1037
|
</div>
|
1086
1038
|
|
1087
1039
|
</li>
|
@@ -1093,9 +1045,8 @@ environment numeric identifier
|
|
1093
1045
|
|
1094
1046
|
</span>
|
1095
1047
|
|
1096
|
-
— <div class='inline'
|
1097
|
-
system template identifier
|
1098
|
-
</p>
|
1048
|
+
— <div class='inline'>
|
1049
|
+
<p>system template identifier</p>
|
1099
1050
|
</div>
|
1100
1051
|
|
1101
1052
|
</li>
|
@@ -1116,9 +1067,8 @@ system template identifier
|
|
1116
1067
|
|
1117
1068
|
|
1118
1069
|
—
|
1119
|
-
<div class='inline'
|
1120
|
-
First item: parsed data; second item: raw body
|
1121
|
-
</p>
|
1070
|
+
<div class='inline'>
|
1071
|
+
<p>First item: parsed data; second item: raw body</p>
|
1122
1072
|
</div>
|
1123
1073
|
|
1124
1074
|
</li>
|
@@ -1138,10 +1088,9 @@ First item: parsed data; second item: raw body
|
|
1138
1088
|
<td>
|
1139
1089
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 14</span>
|
1140
1090
|
|
1141
|
-
<span class='
|
1142
|
-
<span class='
|
1143
|
-
<span class='
|
1144
|
-
</pre>
|
1091
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_index'>index</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1092
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1093
|
+
<span class='kw'>end</span></pre>
|
1145
1094
|
</td>
|
1146
1095
|
</tr>
|
1147
1096
|
</table>
|
@@ -1158,9 +1107,8 @@ First item: parsed data; second item: raw body
|
|
1158
1107
|
|
1159
1108
|
</h3><div class="docstring">
|
1160
1109
|
<div class="discussion">
|
1161
|
-
|
1162
|
-
First item: parsed data; second item: raw body
|
1163
|
-
</p>
|
1110
|
+
|
1111
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1164
1112
|
|
1165
1113
|
|
1166
1114
|
</div>
|
@@ -1181,9 +1129,8 @@ First item: parsed data; second item: raw body
|
|
1181
1129
|
|
1182
1130
|
|
1183
1131
|
—
|
1184
|
-
<div class='inline'
|
1185
|
-
a hash of params to be passed to the service
|
1186
|
-
</p>
|
1132
|
+
<div class='inline'>
|
1133
|
+
<p>a hash of params to be passed to the service</p>
|
1187
1134
|
</div>
|
1188
1135
|
|
1189
1136
|
</li>
|
@@ -1200,9 +1147,8 @@ a hash of params to be passed to the service
|
|
1200
1147
|
|
1201
1148
|
|
1202
1149
|
—
|
1203
|
-
<div class='inline'
|
1204
|
-
additional http headers
|
1205
|
-
</p>
|
1150
|
+
<div class='inline'>
|
1151
|
+
<p>additional http headers</p>
|
1206
1152
|
</div>
|
1207
1153
|
|
1208
1154
|
</li>
|
@@ -1222,9 +1168,8 @@ additional http headers
|
|
1222
1168
|
|
1223
1169
|
</span>
|
1224
1170
|
|
1225
|
-
— <div class='inline'
|
1226
|
-
system template numeric identifier
|
1227
|
-
</p>
|
1171
|
+
— <div class='inline'>
|
1172
|
+
<p>system template numeric identifier</p>
|
1228
1173
|
</div>
|
1229
1174
|
|
1230
1175
|
</li>
|
@@ -1245,9 +1190,8 @@ system template numeric identifier
|
|
1245
1190
|
|
1246
1191
|
|
1247
1192
|
—
|
1248
|
-
<div class='inline'
|
1249
|
-
First item: parsed data; second item: raw body
|
1250
|
-
</p>
|
1193
|
+
<div class='inline'>
|
1194
|
+
<p>First item: parsed data; second item: raw body</p>
|
1251
1195
|
</div>
|
1252
1196
|
|
1253
1197
|
</li>
|
@@ -1267,10 +1211,9 @@ First item: parsed data; second item: raw body
|
|
1267
1211
|
<td>
|
1268
1212
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 23</span>
|
1269
1213
|
|
1270
|
-
<span class='
|
1271
|
-
<span class='
|
1272
|
-
<span class='
|
1273
|
-
</pre>
|
1214
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_show'>show</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1215
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1216
|
+
<span class='kw'>end</span></pre>
|
1274
1217
|
</td>
|
1275
1218
|
</tr>
|
1276
1219
|
</table>
|
@@ -1287,9 +1230,8 @@ First item: parsed data; second item: raw body
|
|
1287
1230
|
|
1288
1231
|
</h3><div class="docstring">
|
1289
1232
|
<div class="discussion">
|
1290
|
-
|
1291
|
-
First item: parsed data; second item: raw body
|
1292
|
-
</p>
|
1233
|
+
|
1234
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1293
1235
|
|
1294
1236
|
|
1295
1237
|
</div>
|
@@ -1310,9 +1252,8 @@ First item: parsed data; second item: raw body
|
|
1310
1252
|
|
1311
1253
|
|
1312
1254
|
—
|
1313
|
-
<div class='inline'
|
1314
|
-
a hash of params to be passed to the service
|
1315
|
-
</p>
|
1255
|
+
<div class='inline'>
|
1256
|
+
<p>a hash of params to be passed to the service</p>
|
1316
1257
|
</div>
|
1317
1258
|
|
1318
1259
|
</li>
|
@@ -1329,9 +1270,8 @@ a hash of params to be passed to the service
|
|
1329
1270
|
|
1330
1271
|
|
1331
1272
|
—
|
1332
|
-
<div class='inline'
|
1333
|
-
additional http headers
|
1334
|
-
</p>
|
1273
|
+
<div class='inline'>
|
1274
|
+
<p>additional http headers</p>
|
1335
1275
|
</div>
|
1336
1276
|
|
1337
1277
|
</li>
|
@@ -1351,9 +1291,8 @@ additional http headers
|
|
1351
1291
|
|
1352
1292
|
</span>
|
1353
1293
|
|
1354
|
-
— <div class='inline'
|
1355
|
-
template numeric identifier
|
1356
|
-
</p>
|
1294
|
+
— <div class='inline'>
|
1295
|
+
<p>template numeric identifier</p>
|
1357
1296
|
</div>
|
1358
1297
|
|
1359
1298
|
</li>
|
@@ -1365,20 +1304,15 @@ template numeric identifier
|
|
1365
1304
|
|
1366
1305
|
</span>
|
1367
1306
|
|
1368
|
-
— <div class='inline'
|
1369
|
-
allowed keys are
|
1370
|
-
|
1371
|
-
<
|
1372
|
-
|
1373
|
-
|
1374
|
-
</li>
|
1375
|
-
<
|
1376
|
-
|
1377
|
-
</li>
|
1378
|
-
<li>name [String] new template name
|
1379
|
-
|
1380
|
-
</li>
|
1381
|
-
</ul>
|
1307
|
+
— <div class='inline'>
|
1308
|
+
<p>allowed keys are:</p>
|
1309
|
+
<ul><li>
|
1310
|
+
<p>parent_id [String, nil] parent template numeric identifier</p>
|
1311
|
+
</li><li>
|
1312
|
+
<p>description [String, nil] template description</p>
|
1313
|
+
</li><li>
|
1314
|
+
<p>name [String] new template name</p>
|
1315
|
+
</li></ul>
|
1382
1316
|
</div>
|
1383
1317
|
|
1384
1318
|
</li>
|
@@ -1399,9 +1333,8 @@ allowed keys are:
|
|
1399
1333
|
|
1400
1334
|
|
1401
1335
|
—
|
1402
|
-
<div class='inline'
|
1403
|
-
First item: parsed data; second item: raw body
|
1404
|
-
</p>
|
1336
|
+
<div class='inline'>
|
1337
|
+
<p>First item: parsed data; second item: raw body</p>
|
1405
1338
|
</div>
|
1406
1339
|
|
1407
1340
|
</li>
|
@@ -1421,10 +1354,9 @@ First item: parsed data; second item: raw body
|
|
1421
1354
|
<td>
|
1422
1355
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 51</span>
|
1423
1356
|
|
1424
|
-
<span class='
|
1425
|
-
<span class='
|
1426
|
-
<span class='
|
1427
|
-
</pre>
|
1357
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1358
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1359
|
+
<span class='kw'>end</span></pre>
|
1428
1360
|
</td>
|
1429
1361
|
</tr>
|
1430
1362
|
</table>
|
@@ -1441,9 +1373,8 @@ First item: parsed data; second item: raw body
|
|
1441
1373
|
|
1442
1374
|
</h3><div class="docstring">
|
1443
1375
|
<div class="discussion">
|
1444
|
-
|
1445
|
-
First item: parsed data; second item: raw body
|
1446
|
-
</p>
|
1376
|
+
|
1377
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1447
1378
|
|
1448
1379
|
|
1449
1380
|
</div>
|
@@ -1464,9 +1395,8 @@ First item: parsed data; second item: raw body
|
|
1464
1395
|
|
1465
1396
|
|
1466
1397
|
—
|
1467
|
-
<div class='inline'
|
1468
|
-
a hash of params to be passed to the service
|
1469
|
-
</p>
|
1398
|
+
<div class='inline'>
|
1399
|
+
<p>a hash of params to be passed to the service</p>
|
1470
1400
|
</div>
|
1471
1401
|
|
1472
1402
|
</li>
|
@@ -1483,9 +1413,8 @@ a hash of params to be passed to the service
|
|
1483
1413
|
|
1484
1414
|
|
1485
1415
|
—
|
1486
|
-
<div class='inline'
|
1487
|
-
additional http headers
|
1488
|
-
</p>
|
1416
|
+
<div class='inline'>
|
1417
|
+
<p>additional http headers</p>
|
1489
1418
|
</div>
|
1490
1419
|
|
1491
1420
|
</li>
|
@@ -1505,9 +1434,8 @@ additional http headers
|
|
1505
1434
|
|
1506
1435
|
</span>
|
1507
1436
|
|
1508
|
-
— <div class='inline'
|
1509
|
-
template numeric identifier
|
1510
|
-
</p>
|
1437
|
+
— <div class='inline'>
|
1438
|
+
<p>template numeric identifier</p>
|
1511
1439
|
</div>
|
1512
1440
|
|
1513
1441
|
</li>
|
@@ -1528,9 +1456,8 @@ template numeric identifier
|
|
1528
1456
|
|
1529
1457
|
|
1530
1458
|
—
|
1531
|
-
<div class='inline'
|
1532
|
-
First item: parsed data; second item: raw body
|
1533
|
-
</p>
|
1459
|
+
<div class='inline'>
|
1460
|
+
<p>First item: parsed data; second item: raw body</p>
|
1534
1461
|
</div>
|
1535
1462
|
|
1536
1463
|
</li>
|
@@ -1550,10 +1477,9 @@ First item: parsed data; second item: raw body
|
|
1550
1477
|
<td>
|
1551
1478
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/template.rb', line 84</span>
|
1552
1479
|
|
1553
|
-
<span class='
|
1554
|
-
<span class='
|
1555
|
-
<span class='
|
1556
|
-
</pre>
|
1480
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_validate'>validate</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1481
|
+
<span class='id identifier rubyid_perform_call'>perform_call</span><span class='lparen'>(</span><span class='id identifier rubyid___method__'>__method__</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
1482
|
+
<span class='kw'>end</span></pre>
|
1557
1483
|
</td>
|
1558
1484
|
</tr>
|
1559
1485
|
</table>
|
@@ -1564,9 +1490,9 @@ First item: parsed data; second item: raw body
|
|
1564
1490
|
</div>
|
1565
1491
|
|
1566
1492
|
<div id="footer">
|
1567
|
-
Generated on
|
1493
|
+
Generated on Wed Jan 15 20:45:16 2014 by
|
1568
1494
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1569
|
-
0.8.
|
1495
|
+
0.8.7.3 (ruby-1.9.3).
|
1570
1496
|
</div>
|
1571
1497
|
|
1572
1498
|
</body>
|