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::Role
|
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>
|
@@ -359,10 +353,9 @@ First item: parsed data; second item: raw body.
|
|
359
353
|
<td>
|
360
354
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line 4</span>
|
361
355
|
|
362
|
-
<span class='
|
363
|
-
<span class='
|
364
|
-
<span class='
|
365
|
-
</pre>
|
356
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
357
|
+
<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'>roles</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
358
|
+
<span class='kw'>end</span></pre>
|
366
359
|
</td>
|
367
360
|
</tr>
|
368
361
|
</table>
|
@@ -385,9 +378,8 @@ First item: parsed data; second item: raw body.
|
|
385
378
|
|
386
379
|
</h3><div class="docstring">
|
387
380
|
<div class="discussion">
|
388
|
-
|
389
|
-
First item: parsed data; second item: raw body
|
390
|
-
</p>
|
381
|
+
|
382
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
391
383
|
|
392
384
|
|
393
385
|
</div>
|
@@ -408,9 +400,8 @@ First item: parsed data; second item: raw body
|
|
408
400
|
|
409
401
|
|
410
402
|
—
|
411
|
-
<div class='inline'
|
412
|
-
a hash of params to be passed to the service
|
413
|
-
</p>
|
403
|
+
<div class='inline'>
|
404
|
+
<p>a hash of params to be passed to the service</p>
|
414
405
|
</div>
|
415
406
|
|
416
407
|
</li>
|
@@ -427,9 +418,8 @@ a hash of params to be passed to the service
|
|
427
418
|
|
428
419
|
|
429
420
|
—
|
430
|
-
<div class='inline'
|
431
|
-
additional http headers
|
432
|
-
</p>
|
421
|
+
<div class='inline'>
|
422
|
+
<p>additional http headers</p>
|
433
423
|
</div>
|
434
424
|
|
435
425
|
</li>
|
@@ -449,9 +439,8 @@ additional http headers
|
|
449
439
|
|
450
440
|
</span>
|
451
441
|
|
452
|
-
— <div class='inline'
|
453
|
-
with this option specified the listed tags are scoped to the organization
|
454
|
-
</p>
|
442
|
+
— <div class='inline'>
|
443
|
+
<p>with this option specified the listed tags are scoped to the organization.</p>
|
455
444
|
</div>
|
456
445
|
|
457
446
|
</li>
|
@@ -472,9 +461,8 @@ with this option specified the listed tags are scoped to the organization.
|
|
472
461
|
|
473
462
|
|
474
463
|
—
|
475
|
-
<div class='inline'
|
476
|
-
First item: parsed data; second item: raw body
|
477
|
-
</p>
|
464
|
+
<div class='inline'>
|
465
|
+
<p>First item: parsed data; second item: raw body</p>
|
478
466
|
</div>
|
479
467
|
|
480
468
|
</li>
|
@@ -487,17 +475,16 @@ First item: parsed data; second item: raw body
|
|
487
475
|
<pre class="lines">
|
488
476
|
|
489
477
|
|
490
|
-
|
491
|
-
|
492
|
-
|
478
|
+
65
|
479
|
+
66
|
480
|
+
67</pre>
|
493
481
|
</td>
|
494
482
|
<td>
|
495
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line
|
483
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line 65</span>
|
496
484
|
|
497
|
-
<span class='
|
498
|
-
<span class='
|
499
|
-
<span class='
|
500
|
-
</pre>
|
485
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_available_verbs'>available_verbs</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>
|
486
|
+
<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>
|
487
|
+
<span class='kw'>end</span></pre>
|
501
488
|
</td>
|
502
489
|
</tr>
|
503
490
|
</table>
|
@@ -514,9 +501,8 @@ First item: parsed data; second item: raw body
|
|
514
501
|
|
515
502
|
</h3><div class="docstring">
|
516
503
|
<div class="discussion">
|
517
|
-
|
518
|
-
First item: parsed data; second item: raw body
|
519
|
-
</p>
|
504
|
+
|
505
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
520
506
|
|
521
507
|
|
522
508
|
</div>
|
@@ -537,9 +523,8 @@ First item: parsed data; second item: raw body
|
|
537
523
|
|
538
524
|
|
539
525
|
—
|
540
|
-
<div class='inline'
|
541
|
-
a hash of params to be passed to the service
|
542
|
-
</p>
|
526
|
+
<div class='inline'>
|
527
|
+
<p>a hash of params to be passed to the service</p>
|
543
528
|
</div>
|
544
529
|
|
545
530
|
</li>
|
@@ -556,9 +541,8 @@ a hash of params to be passed to the service
|
|
556
541
|
|
557
542
|
|
558
543
|
—
|
559
|
-
<div class='inline'
|
560
|
-
additional http headers
|
561
|
-
</p>
|
544
|
+
<div class='inline'>
|
545
|
+
<p>additional http headers</p>
|
562
546
|
</div>
|
563
547
|
|
564
548
|
</li>
|
@@ -571,20 +555,6 @@ additional http headers
|
|
571
555
|
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
572
556
|
<ul class="option">
|
573
557
|
|
574
|
-
<li>
|
575
|
-
<span class="name">user_id</span>
|
576
|
-
<span class="type">(<tt>Object</tt>)</span>
|
577
|
-
<span class="default">
|
578
|
-
|
579
|
-
</span>
|
580
|
-
|
581
|
-
— <div class='inline'><p>
|
582
|
-
Part of <tt>/api/users/:user_id/roles</tt> path
|
583
|
-
</p>
|
584
|
-
</div>
|
585
|
-
|
586
|
-
</li>
|
587
|
-
|
588
558
|
<li>
|
589
559
|
<span class="name">role</span>
|
590
560
|
<span class="type">(<tt>Hash</tt>)</span>
|
@@ -592,17 +562,13 @@ Part of <tt>/api/users/:user_id/roles</tt> path
|
|
592
562
|
|
593
563
|
</span>
|
594
564
|
|
595
|
-
— <div class='inline'
|
596
|
-
allowed keys are
|
597
|
-
|
598
|
-
<
|
599
|
-
|
600
|
-
|
601
|
-
</li>
|
602
|
-
<li>name [String]
|
603
|
-
|
604
|
-
</li>
|
605
|
-
</ul>
|
565
|
+
— <div class='inline'>
|
566
|
+
<p>allowed keys are:</p>
|
567
|
+
<ul><li>
|
568
|
+
<p>description [String, nil]</p>
|
569
|
+
</li><li>
|
570
|
+
<p>name [String]</p>
|
571
|
+
</li></ul>
|
606
572
|
</div>
|
607
573
|
|
608
574
|
</li>
|
@@ -623,9 +589,8 @@ allowed keys are:
|
|
623
589
|
|
624
590
|
|
625
591
|
—
|
626
|
-
<div class='inline'
|
627
|
-
First item: parsed data; second item: raw body
|
628
|
-
</p>
|
592
|
+
<div class='inline'>
|
593
|
+
<p>First item: parsed data; second item: raw body</p>
|
629
594
|
</div>
|
630
595
|
|
631
596
|
</li>
|
@@ -638,17 +603,16 @@ First item: parsed data; second item: raw body
|
|
638
603
|
<pre class="lines">
|
639
604
|
|
640
605
|
|
641
|
-
|
642
|
-
|
643
|
-
|
606
|
+
34
|
607
|
+
35
|
608
|
+
36</pre>
|
644
609
|
</td>
|
645
610
|
<td>
|
646
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line
|
611
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line 34</span>
|
647
612
|
|
648
|
-
<span class='
|
649
|
-
<span class='
|
650
|
-
<span class='
|
651
|
-
</pre>
|
613
|
+
<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>
|
614
|
+
<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>
|
615
|
+
<span class='kw'>end</span></pre>
|
652
616
|
</td>
|
653
617
|
</tr>
|
654
618
|
</table>
|
@@ -665,9 +629,8 @@ First item: parsed data; second item: raw body
|
|
665
629
|
|
666
630
|
</h3><div class="docstring">
|
667
631
|
<div class="discussion">
|
668
|
-
|
669
|
-
First item: parsed data; second item: raw body
|
670
|
-
</p>
|
632
|
+
|
633
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
671
634
|
|
672
635
|
|
673
636
|
</div>
|
@@ -688,9 +651,8 @@ First item: parsed data; second item: raw body
|
|
688
651
|
|
689
652
|
|
690
653
|
—
|
691
|
-
<div class='inline'
|
692
|
-
a hash of params to be passed to the service
|
693
|
-
</p>
|
654
|
+
<div class='inline'>
|
655
|
+
<p>a hash of params to be passed to the service</p>
|
694
656
|
</div>
|
695
657
|
|
696
658
|
</li>
|
@@ -707,9 +669,8 @@ a hash of params to be passed to the service
|
|
707
669
|
|
708
670
|
|
709
671
|
—
|
710
|
-
<div class='inline'
|
711
|
-
additional http headers
|
712
|
-
</p>
|
672
|
+
<div class='inline'>
|
673
|
+
<p>additional http headers</p>
|
713
674
|
</div>
|
714
675
|
|
715
676
|
</li>
|
@@ -729,23 +690,8 @@ additional http headers
|
|
729
690
|
|
730
691
|
</span>
|
731
692
|
|
732
|
-
— <div class='inline'
|
733
|
-
Part of <tt>/api/roles/:id</tt> path
|
734
|
-
</p>
|
735
|
-
</div>
|
736
|
-
|
737
|
-
</li>
|
738
|
-
|
739
|
-
<li>
|
740
|
-
<span class="name">user_id</span>
|
741
|
-
<span class="type">(<tt>Object</tt>)</span>
|
742
|
-
<span class="default">
|
743
|
-
|
744
|
-
</span>
|
745
|
-
|
746
|
-
— <div class='inline'><p>
|
747
|
-
Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
748
|
-
</p>
|
693
|
+
— <div class='inline'>
|
694
|
+
<p>Part of <tt>/api/roles/:id</tt> path</p>
|
749
695
|
</div>
|
750
696
|
|
751
697
|
</li>
|
@@ -766,9 +712,8 @@ Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
|
766
712
|
|
767
713
|
|
768
714
|
—
|
769
|
-
<div class='inline'
|
770
|
-
First item: parsed data; second item: raw body
|
771
|
-
</p>
|
715
|
+
<div class='inline'>
|
716
|
+
<p>First item: parsed data; second item: raw body</p>
|
772
717
|
</div>
|
773
718
|
|
774
719
|
</li>
|
@@ -781,17 +726,16 @@ First item: parsed data; second item: raw body
|
|
781
726
|
<pre class="lines">
|
782
727
|
|
783
728
|
|
784
|
-
|
785
|
-
|
786
|
-
|
729
|
+
56
|
730
|
+
57
|
731
|
+
58</pre>
|
787
732
|
</td>
|
788
733
|
<td>
|
789
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line
|
734
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line 56</span>
|
790
735
|
|
791
|
-
<span class='
|
792
|
-
<span class='
|
793
|
-
<span class='
|
794
|
-
</pre>
|
736
|
+
<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>
|
737
|
+
<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>
|
738
|
+
<span class='kw'>end</span></pre>
|
795
739
|
</td>
|
796
740
|
</tr>
|
797
741
|
</table>
|
@@ -808,9 +752,8 @@ First item: parsed data; second item: raw body
|
|
808
752
|
|
809
753
|
</h3><div class="docstring">
|
810
754
|
<div class="discussion">
|
811
|
-
|
812
|
-
First item: parsed data; second item: raw body
|
813
|
-
</p>
|
755
|
+
|
756
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
814
757
|
|
815
758
|
|
816
759
|
</div>
|
@@ -831,9 +774,8 @@ First item: parsed data; second item: raw body
|
|
831
774
|
|
832
775
|
|
833
776
|
—
|
834
|
-
<div class='inline'
|
835
|
-
a hash of params to be passed to the service
|
836
|
-
</p>
|
777
|
+
<div class='inline'>
|
778
|
+
<p>a hash of params to be passed to the service</p>
|
837
779
|
</div>
|
838
780
|
|
839
781
|
</li>
|
@@ -850,9 +792,8 @@ a hash of params to be passed to the service
|
|
850
792
|
|
851
793
|
|
852
794
|
—
|
853
|
-
<div class='inline'
|
854
|
-
additional http headers
|
855
|
-
</p>
|
795
|
+
<div class='inline'>
|
796
|
+
<p>additional http headers</p>
|
856
797
|
</div>
|
857
798
|
|
858
799
|
</li>
|
@@ -865,20 +806,6 @@ additional http headers
|
|
865
806
|
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
866
807
|
<ul class="option">
|
867
808
|
|
868
|
-
<li>
|
869
|
-
<span class="name">user_id</span>
|
870
|
-
<span class="type">(<tt>Object</tt>)</span>
|
871
|
-
<span class="default">
|
872
|
-
|
873
|
-
</span>
|
874
|
-
|
875
|
-
— <div class='inline'><p>
|
876
|
-
Part of <tt>/api/users/:user_id/roles</tt> path
|
877
|
-
</p>
|
878
|
-
</div>
|
879
|
-
|
880
|
-
</li>
|
881
|
-
|
882
809
|
<li>
|
883
810
|
<span class="name">name</span>
|
884
811
|
<span class="type">(<tt>String</tt>)</span>
|
@@ -904,9 +831,8 @@ Part of <tt>/api/users/:user_id/roles</tt> path
|
|
904
831
|
|
905
832
|
|
906
833
|
—
|
907
|
-
<div class='inline'
|
908
|
-
First item: parsed data; second item: raw body
|
909
|
-
</p>
|
834
|
+
<div class='inline'>
|
835
|
+
<p>First item: parsed data; second item: raw body</p>
|
910
836
|
</div>
|
911
837
|
|
912
838
|
</li>
|
@@ -919,17 +845,16 @@ First item: parsed data; second item: raw body
|
|
919
845
|
<pre class="lines">
|
920
846
|
|
921
847
|
|
848
|
+
13
|
922
849
|
14
|
923
|
-
15
|
924
|
-
16</pre>
|
850
|
+
15</pre>
|
925
851
|
</td>
|
926
852
|
<td>
|
927
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line
|
853
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line 13</span>
|
928
854
|
|
929
|
-
<span class='
|
930
|
-
<span class='
|
931
|
-
<span class='
|
932
|
-
</pre>
|
855
|
+
<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>
|
856
|
+
<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>
|
857
|
+
<span class='kw'>end</span></pre>
|
933
858
|
</td>
|
934
859
|
</tr>
|
935
860
|
</table>
|
@@ -946,9 +871,8 @@ First item: parsed data; second item: raw body
|
|
946
871
|
|
947
872
|
</h3><div class="docstring">
|
948
873
|
<div class="discussion">
|
949
|
-
|
950
|
-
First item: parsed data; second item: raw body
|
951
|
-
</p>
|
874
|
+
|
875
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
952
876
|
|
953
877
|
|
954
878
|
</div>
|
@@ -969,9 +893,8 @@ First item: parsed data; second item: raw body
|
|
969
893
|
|
970
894
|
|
971
895
|
—
|
972
|
-
<div class='inline'
|
973
|
-
a hash of params to be passed to the service
|
974
|
-
</p>
|
896
|
+
<div class='inline'>
|
897
|
+
<p>a hash of params to be passed to the service</p>
|
975
898
|
</div>
|
976
899
|
|
977
900
|
</li>
|
@@ -988,9 +911,8 @@ a hash of params to be passed to the service
|
|
988
911
|
|
989
912
|
|
990
913
|
—
|
991
|
-
<div class='inline'
|
992
|
-
additional http headers
|
993
|
-
</p>
|
914
|
+
<div class='inline'>
|
915
|
+
<p>additional http headers</p>
|
994
916
|
</div>
|
995
917
|
|
996
918
|
</li>
|
@@ -1010,23 +932,8 @@ additional http headers
|
|
1010
932
|
|
1011
933
|
</span>
|
1012
934
|
|
1013
|
-
— <div class='inline'
|
1014
|
-
Part of <tt>/api/roles/:id</tt> path
|
1015
|
-
</p>
|
1016
|
-
</div>
|
1017
|
-
|
1018
|
-
</li>
|
1019
|
-
|
1020
|
-
<li>
|
1021
|
-
<span class="name">user_id</span>
|
1022
|
-
<span class="type">(<tt>Object</tt>)</span>
|
1023
|
-
<span class="default">
|
1024
|
-
|
1025
|
-
</span>
|
1026
|
-
|
1027
|
-
— <div class='inline'><p>
|
1028
|
-
Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
1029
|
-
</p>
|
935
|
+
— <div class='inline'>
|
936
|
+
<p>Part of <tt>/api/roles/:id</tt> path</p>
|
1030
937
|
</div>
|
1031
938
|
|
1032
939
|
</li>
|
@@ -1047,9 +954,8 @@ Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
|
1047
954
|
|
1048
955
|
|
1049
956
|
—
|
1050
|
-
<div class='inline'
|
1051
|
-
First item: parsed data; second item: raw body
|
1052
|
-
</p>
|
957
|
+
<div class='inline'>
|
958
|
+
<p>First item: parsed data; second item: raw body</p>
|
1053
959
|
</div>
|
1054
960
|
|
1055
961
|
</li>
|
@@ -1062,17 +968,16 @@ First item: parsed data; second item: raw body
|
|
1062
968
|
<pre class="lines">
|
1063
969
|
|
1064
970
|
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
971
|
+
22
|
972
|
+
23
|
973
|
+
24</pre>
|
1068
974
|
</td>
|
1069
975
|
<td>
|
1070
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line
|
976
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line 22</span>
|
1071
977
|
|
1072
|
-
<span class='
|
1073
|
-
<span class='
|
1074
|
-
<span class='
|
1075
|
-
</pre>
|
978
|
+
<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>
|
979
|
+
<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>
|
980
|
+
<span class='kw'>end</span></pre>
|
1076
981
|
</td>
|
1077
982
|
</tr>
|
1078
983
|
</table>
|
@@ -1089,9 +994,8 @@ First item: parsed data; second item: raw body
|
|
1089
994
|
|
1090
995
|
</h3><div class="docstring">
|
1091
996
|
<div class="discussion">
|
1092
|
-
|
1093
|
-
First item: parsed data; second item: raw body
|
1094
|
-
</p>
|
997
|
+
|
998
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1095
999
|
|
1096
1000
|
|
1097
1001
|
</div>
|
@@ -1112,9 +1016,8 @@ First item: parsed data; second item: raw body
|
|
1112
1016
|
|
1113
1017
|
|
1114
1018
|
—
|
1115
|
-
<div class='inline'
|
1116
|
-
a hash of params to be passed to the service
|
1117
|
-
</p>
|
1019
|
+
<div class='inline'>
|
1020
|
+
<p>a hash of params to be passed to the service</p>
|
1118
1021
|
</div>
|
1119
1022
|
|
1120
1023
|
</li>
|
@@ -1131,9 +1034,8 @@ a hash of params to be passed to the service
|
|
1131
1034
|
|
1132
1035
|
|
1133
1036
|
—
|
1134
|
-
<div class='inline'
|
1135
|
-
additional http headers
|
1136
|
-
</p>
|
1037
|
+
<div class='inline'>
|
1038
|
+
<p>additional http headers</p>
|
1137
1039
|
</div>
|
1138
1040
|
|
1139
1041
|
</li>
|
@@ -1153,23 +1055,8 @@ additional http headers
|
|
1153
1055
|
|
1154
1056
|
</span>
|
1155
1057
|
|
1156
|
-
— <div class='inline'
|
1157
|
-
Part of <tt>/api/roles/:id</tt> path
|
1158
|
-
</p>
|
1159
|
-
</div>
|
1160
|
-
|
1161
|
-
</li>
|
1162
|
-
|
1163
|
-
<li>
|
1164
|
-
<span class="name">user_id</span>
|
1165
|
-
<span class="type">(<tt>Object</tt>)</span>
|
1166
|
-
<span class="default">
|
1167
|
-
|
1168
|
-
</span>
|
1169
|
-
|
1170
|
-
— <div class='inline'><p>
|
1171
|
-
Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
1172
|
-
</p>
|
1058
|
+
— <div class='inline'>
|
1059
|
+
<p>Part of <tt>/api/roles/:id</tt> path</p>
|
1173
1060
|
</div>
|
1174
1061
|
|
1175
1062
|
</li>
|
@@ -1181,17 +1068,13 @@ Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
|
1181
1068
|
|
1182
1069
|
</span>
|
1183
1070
|
|
1184
|
-
— <div class='inline'
|
1185
|
-
allowed keys are
|
1186
|
-
|
1187
|
-
<
|
1188
|
-
|
1189
|
-
|
1190
|
-
</li>
|
1191
|
-
<li>name [String]
|
1192
|
-
|
1193
|
-
</li>
|
1194
|
-
</ul>
|
1071
|
+
— <div class='inline'>
|
1072
|
+
<p>allowed keys are:</p>
|
1073
|
+
<ul><li>
|
1074
|
+
<p>description [String, nil]</p>
|
1075
|
+
</li><li>
|
1076
|
+
<p>name [String]</p>
|
1077
|
+
</li></ul>
|
1195
1078
|
</div>
|
1196
1079
|
|
1197
1080
|
</li>
|
@@ -1212,9 +1095,8 @@ allowed keys are:
|
|
1212
1095
|
|
1213
1096
|
|
1214
1097
|
—
|
1215
|
-
<div class='inline'
|
1216
|
-
First item: parsed data; second item: raw body
|
1217
|
-
</p>
|
1098
|
+
<div class='inline'>
|
1099
|
+
<p>First item: parsed data; second item: raw body</p>
|
1218
1100
|
</div>
|
1219
1101
|
|
1220
1102
|
</li>
|
@@ -1227,17 +1109,16 @@ First item: parsed data; second item: raw body
|
|
1227
1109
|
<pre class="lines">
|
1228
1110
|
|
1229
1111
|
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1112
|
+
47
|
1113
|
+
48
|
1114
|
+
49</pre>
|
1233
1115
|
</td>
|
1234
1116
|
<td>
|
1235
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line
|
1117
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/role.rb', line 47</span>
|
1236
1118
|
|
1237
|
-
<span class='
|
1238
|
-
<span class='
|
1239
|
-
<span class='
|
1240
|
-
</pre>
|
1119
|
+
<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>
|
1120
|
+
<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>
|
1121
|
+
<span class='kw'>end</span></pre>
|
1241
1122
|
</td>
|
1242
1123
|
</tr>
|
1243
1124
|
</table>
|
@@ -1248,9 +1129,9 @@ First item: parsed data; second item: raw body
|
|
1248
1129
|
</div>
|
1249
1130
|
|
1250
1131
|
<div id="footer">
|
1251
|
-
Generated on
|
1132
|
+
Generated on Wed Jan 15 20:45:13 2014 by
|
1252
1133
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1253
|
-
0.8.
|
1134
|
+
0.8.7.3 (ruby-1.9.3).
|
1254
1135
|
</div>
|
1255
1136
|
|
1256
1137
|
</body>
|