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::User
|
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,34 +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>
|
309
|
-
</div></span>
|
310
|
-
|
311
|
-
</li>
|
312
|
-
|
313
|
-
|
314
|
-
<li class="public ">
|
315
|
-
<span class="summary_signature">
|
316
|
-
|
317
|
-
<a href="#report-instance_method" title="#report (instance method)">- (Array) <strong>report</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>
|
301
|
+
<span class="summary_desc"><div class='inline'>
|
302
|
+
<p>First item: parsed data; second item: raw body.</p>
|
334
303
|
</div></span>
|
335
304
|
|
336
305
|
</li>
|
@@ -353,9 +322,8 @@ First item: parsed data; second item: raw body.
|
|
353
322
|
|
354
323
|
|
355
324
|
|
356
|
-
<span class="summary_desc"><div class='inline'
|
357
|
-
First item: parsed data; second item: raw body
|
358
|
-
</p>
|
325
|
+
<span class="summary_desc"><div class='inline'>
|
326
|
+
<p>First item: parsed data; second item: raw body.</p>
|
359
327
|
</div></span>
|
360
328
|
|
361
329
|
</li>
|
@@ -378,9 +346,8 @@ First item: parsed data; second item: raw body.
|
|
378
346
|
|
379
347
|
|
380
348
|
|
381
|
-
<span class="summary_desc"><div class='inline'
|
382
|
-
First item: parsed data; second item: raw body
|
383
|
-
</p>
|
349
|
+
<span class="summary_desc"><div class='inline'>
|
350
|
+
<p>First item: parsed data; second item: raw body.</p>
|
384
351
|
</div></span>
|
385
352
|
|
386
353
|
</li>
|
@@ -403,9 +370,8 @@ First item: parsed data; second item: raw body.
|
|
403
370
|
|
404
371
|
|
405
372
|
|
406
|
-
<span class="summary_desc"><div class='inline'
|
407
|
-
First item: parsed data; second item: raw body
|
408
|
-
</p>
|
373
|
+
<span class="summary_desc"><div class='inline'>
|
374
|
+
<p>First item: parsed data; second item: raw body.</p>
|
409
375
|
</div></span>
|
410
376
|
|
411
377
|
</li>
|
@@ -459,10 +425,9 @@ First item: parsed data; second item: raw body.
|
|
459
425
|
<td>
|
460
426
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 4</span>
|
461
427
|
|
462
|
-
<span class='
|
463
|
-
<span class='
|
464
|
-
<span class='
|
465
|
-
</pre>
|
428
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
429
|
+
<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'>users</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
430
|
+
<span class='kw'>end</span></pre>
|
466
431
|
</td>
|
467
432
|
</tr>
|
468
433
|
</table>
|
@@ -485,9 +450,8 @@ First item: parsed data; second item: raw body.
|
|
485
450
|
|
486
451
|
</h3><div class="docstring">
|
487
452
|
<div class="discussion">
|
488
|
-
|
489
|
-
First item: parsed data; second item: raw body
|
490
|
-
</p>
|
453
|
+
|
454
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
491
455
|
|
492
456
|
|
493
457
|
</div>
|
@@ -508,9 +472,8 @@ First item: parsed data; second item: raw body
|
|
508
472
|
|
509
473
|
|
510
474
|
—
|
511
|
-
<div class='inline'
|
512
|
-
a hash of params to be passed to the service
|
513
|
-
</p>
|
475
|
+
<div class='inline'>
|
476
|
+
<p>a hash of params to be passed to the service</p>
|
514
477
|
</div>
|
515
478
|
|
516
479
|
</li>
|
@@ -527,9 +490,8 @@ a hash of params to be passed to the service
|
|
527
490
|
|
528
491
|
|
529
492
|
—
|
530
|
-
<div class='inline'
|
531
|
-
additional http headers
|
532
|
-
</p>
|
493
|
+
<div class='inline'>
|
494
|
+
<p>additional http headers</p>
|
533
495
|
</div>
|
534
496
|
|
535
497
|
</li>
|
@@ -558,9 +520,8 @@ additional http headers
|
|
558
520
|
|
559
521
|
</span>
|
560
522
|
|
561
|
-
— <div class='inline'
|
562
|
-
Part of <tt>/api/users/:user_id/roles</tt> path
|
563
|
-
</p>
|
523
|
+
— <div class='inline'>
|
524
|
+
<p>Part of <tt>/api/users/:user_id/roles</tt> path</p>
|
564
525
|
</div>
|
565
526
|
|
566
527
|
</li>
|
@@ -581,9 +542,8 @@ Part of <tt>/api/users/:user_id/roles</tt> path
|
|
581
542
|
|
582
543
|
|
583
544
|
—
|
584
|
-
<div class='inline'
|
585
|
-
First item: parsed data; second item: raw body
|
586
|
-
</p>
|
545
|
+
<div class='inline'>
|
546
|
+
<p>First item: parsed data; second item: raw body</p>
|
587
547
|
</div>
|
588
548
|
|
589
549
|
</li>
|
@@ -596,17 +556,16 @@ First item: parsed data; second item: raw body
|
|
596
556
|
<pre class="lines">
|
597
557
|
|
598
558
|
|
599
|
-
|
600
|
-
|
601
|
-
|
559
|
+
90
|
560
|
+
91
|
561
|
+
92</pre>
|
602
562
|
</td>
|
603
563
|
<td>
|
604
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line
|
564
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 90</span>
|
605
565
|
|
606
|
-
<span class='
|
607
|
-
<span class='
|
608
|
-
<span class='
|
609
|
-
</pre>
|
566
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_add_role'>add_role</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>
|
567
|
+
<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>
|
568
|
+
<span class='kw'>end</span></pre>
|
610
569
|
</td>
|
611
570
|
</tr>
|
612
571
|
</table>
|
@@ -623,9 +582,8 @@ First item: parsed data; second item: raw body
|
|
623
582
|
|
624
583
|
</h3><div class="docstring">
|
625
584
|
<div class="discussion">
|
626
|
-
|
627
|
-
First item: parsed data; second item: raw body
|
628
|
-
</p>
|
585
|
+
|
586
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
629
587
|
|
630
588
|
|
631
589
|
</div>
|
@@ -646,9 +604,8 @@ First item: parsed data; second item: raw body
|
|
646
604
|
|
647
605
|
|
648
606
|
—
|
649
|
-
<div class='inline'
|
650
|
-
a hash of params to be passed to the service
|
651
|
-
</p>
|
607
|
+
<div class='inline'>
|
608
|
+
<p>a hash of params to be passed to the service</p>
|
652
609
|
</div>
|
653
610
|
|
654
611
|
</li>
|
@@ -665,9 +622,8 @@ a hash of params to be passed to the service
|
|
665
622
|
|
666
623
|
|
667
624
|
—
|
668
|
-
<div class='inline'
|
669
|
-
additional http headers
|
670
|
-
</p>
|
625
|
+
<div class='inline'>
|
626
|
+
<p>additional http headers</p>
|
671
627
|
</div>
|
672
628
|
|
673
629
|
</li>
|
@@ -681,47 +637,26 @@ additional http headers
|
|
681
637
|
<ul class="option">
|
682
638
|
|
683
639
|
<li>
|
684
|
-
<span class="name">
|
685
|
-
<span class="type">(<tt>
|
640
|
+
<span class="name">user</span>
|
641
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
686
642
|
<span class="default">
|
687
643
|
|
688
644
|
</span>
|
689
645
|
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
<span class="default">
|
705
|
-
|
706
|
-
</span>
|
707
|
-
|
708
|
-
</li>
|
709
|
-
|
710
|
-
<li>
|
711
|
-
<span class="name">password</span>
|
712
|
-
<span class="type">(<tt>String</tt>)</span>
|
713
|
-
<span class="default">
|
714
|
-
|
715
|
-
</span>
|
716
|
-
|
717
|
-
</li>
|
718
|
-
|
719
|
-
<li>
|
720
|
-
<span class="name">username</span>
|
721
|
-
<span class="type">(<tt>String</tt>)</span>
|
722
|
-
<span class="default">
|
723
|
-
|
724
|
-
</span>
|
646
|
+
— <div class='inline'>
|
647
|
+
<p>allowed keys are:</p>
|
648
|
+
<ul><li>
|
649
|
+
<p>default_environment_id [Numeric, nil]</p>
|
650
|
+
</li><li>
|
651
|
+
<p>disabled [String, nil]</p>
|
652
|
+
</li><li>
|
653
|
+
<p>email [String]</p>
|
654
|
+
</li><li>
|
655
|
+
<p>login [String]</p>
|
656
|
+
</li><li>
|
657
|
+
<p>password [String]</p>
|
658
|
+
</li></ul>
|
659
|
+
</div>
|
725
660
|
|
726
661
|
</li>
|
727
662
|
|
@@ -741,9 +676,8 @@ additional http headers
|
|
741
676
|
|
742
677
|
|
743
678
|
—
|
744
|
-
<div class='inline'
|
745
|
-
First item: parsed data; second item: raw body
|
746
|
-
</p>
|
679
|
+
<div class='inline'>
|
680
|
+
<p>First item: parsed data; second item: raw body</p>
|
747
681
|
</div>
|
748
682
|
|
749
683
|
</li>
|
@@ -756,17 +690,16 @@ First item: parsed data; second item: raw body
|
|
756
690
|
<pre class="lines">
|
757
691
|
|
758
692
|
|
759
|
-
|
760
|
-
|
761
|
-
|
693
|
+
39
|
694
|
+
40
|
695
|
+
41</pre>
|
762
696
|
</td>
|
763
697
|
<td>
|
764
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line
|
698
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 39</span>
|
765
699
|
|
766
|
-
<span class='
|
767
|
-
<span class='
|
768
|
-
<span class='
|
769
|
-
</pre>
|
700
|
+
<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>
|
701
|
+
<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>
|
702
|
+
<span class='kw'>end</span></pre>
|
770
703
|
</td>
|
771
704
|
</tr>
|
772
705
|
</table>
|
@@ -783,9 +716,8 @@ First item: parsed data; second item: raw body
|
|
783
716
|
|
784
717
|
</h3><div class="docstring">
|
785
718
|
<div class="discussion">
|
786
|
-
|
787
|
-
First item: parsed data; second item: raw body
|
788
|
-
</p>
|
719
|
+
|
720
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
789
721
|
|
790
722
|
|
791
723
|
</div>
|
@@ -806,9 +738,8 @@ First item: parsed data; second item: raw body
|
|
806
738
|
|
807
739
|
|
808
740
|
—
|
809
|
-
<div class='inline'
|
810
|
-
a hash of params to be passed to the service
|
811
|
-
</p>
|
741
|
+
<div class='inline'>
|
742
|
+
<p>a hash of params to be passed to the service</p>
|
812
743
|
</div>
|
813
744
|
|
814
745
|
</li>
|
@@ -825,9 +756,8 @@ a hash of params to be passed to the service
|
|
825
756
|
|
826
757
|
|
827
758
|
—
|
828
|
-
<div class='inline'
|
829
|
-
additional http headers
|
830
|
-
</p>
|
759
|
+
<div class='inline'>
|
760
|
+
<p>additional http headers</p>
|
831
761
|
</div>
|
832
762
|
|
833
763
|
</li>
|
@@ -847,9 +777,8 @@ additional http headers
|
|
847
777
|
|
848
778
|
</span>
|
849
779
|
|
850
|
-
— <div class='inline'
|
851
|
-
Part of <tt>/api/users/:id</tt> path
|
852
|
-
</p>
|
780
|
+
— <div class='inline'>
|
781
|
+
<p>Part of <tt>/api/users/:id</tt> path</p>
|
853
782
|
</div>
|
854
783
|
|
855
784
|
</li>
|
@@ -870,9 +799,8 @@ Part of <tt>/api/users/:id</tt> path
|
|
870
799
|
|
871
800
|
|
872
801
|
—
|
873
|
-
<div class='inline'
|
874
|
-
First item: parsed data; second item: raw body
|
875
|
-
</p>
|
802
|
+
<div class='inline'>
|
803
|
+
<p>First item: parsed data; second item: raw body</p>
|
876
804
|
</div>
|
877
805
|
|
878
806
|
</li>
|
@@ -885,17 +813,16 @@ First item: parsed data; second item: raw body
|
|
885
813
|
<pre class="lines">
|
886
814
|
|
887
815
|
|
888
|
-
|
889
|
-
|
890
|
-
|
816
|
+
63
|
817
|
+
64
|
818
|
+
65</pre>
|
891
819
|
</td>
|
892
820
|
<td>
|
893
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line
|
821
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 63</span>
|
894
822
|
|
895
|
-
<span class='
|
896
|
-
<span class='
|
897
|
-
<span class='
|
898
|
-
</pre>
|
823
|
+
<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>
|
824
|
+
<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>
|
825
|
+
<span class='kw'>end</span></pre>
|
899
826
|
</td>
|
900
827
|
</tr>
|
901
828
|
</table>
|
@@ -912,9 +839,8 @@ First item: parsed data; second item: raw body
|
|
912
839
|
|
913
840
|
</h3><div class="docstring">
|
914
841
|
<div class="discussion">
|
915
|
-
|
916
|
-
First item: parsed data; second item: raw body
|
917
|
-
</p>
|
842
|
+
|
843
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
918
844
|
|
919
845
|
|
920
846
|
</div>
|
@@ -935,9 +861,8 @@ First item: parsed data; second item: raw body
|
|
935
861
|
|
936
862
|
|
937
863
|
—
|
938
|
-
<div class='inline'
|
939
|
-
a hash of params to be passed to the service
|
940
|
-
</p>
|
864
|
+
<div class='inline'>
|
865
|
+
<p>a hash of params to be passed to the service</p>
|
941
866
|
</div>
|
942
867
|
|
943
868
|
</li>
|
@@ -954,9 +879,8 @@ a hash of params to be passed to the service
|
|
954
879
|
|
955
880
|
|
956
881
|
—
|
957
|
-
<div class='inline'
|
958
|
-
additional http headers
|
959
|
-
</p>
|
882
|
+
<div class='inline'>
|
883
|
+
<p>additional http headers</p>
|
960
884
|
</div>
|
961
885
|
|
962
886
|
</li>
|
@@ -976,9 +900,8 @@ additional http headers
|
|
976
900
|
|
977
901
|
</span>
|
978
902
|
|
979
|
-
— <div class='inline'
|
980
|
-
filter by disabled flag
|
981
|
-
</p>
|
903
|
+
— <div class='inline'>
|
904
|
+
<p>filter by disabled flag</p>
|
982
905
|
</div>
|
983
906
|
|
984
907
|
</li>
|
@@ -990,23 +913,21 @@ filter by disabled flag
|
|
990
913
|
|
991
914
|
</span>
|
992
915
|
|
993
|
-
— <div class='inline'
|
994
|
-
filter by email
|
995
|
-
</p>
|
916
|
+
— <div class='inline'>
|
917
|
+
<p>filter by email</p>
|
996
918
|
</div>
|
997
919
|
|
998
920
|
</li>
|
999
921
|
|
1000
922
|
<li>
|
1001
|
-
<span class="name">
|
923
|
+
<span class="name">login</span>
|
1002
924
|
<span class="type">(<tt>String</tt>)</span>
|
1003
925
|
<span class="default">
|
1004
926
|
|
1005
927
|
</span>
|
1006
928
|
|
1007
|
-
— <div class='inline'
|
1008
|
-
filter by
|
1009
|
-
</p>
|
929
|
+
— <div class='inline'>
|
930
|
+
<p>filter by login</p>
|
1010
931
|
</div>
|
1011
932
|
|
1012
933
|
</li>
|
@@ -1027,9 +948,8 @@ filter by username
|
|
1027
948
|
|
1028
949
|
|
1029
950
|
—
|
1030
|
-
<div class='inline'
|
1031
|
-
First item: parsed data; second item: raw body
|
1032
|
-
</p>
|
951
|
+
<div class='inline'>
|
952
|
+
<p>First item: parsed data; second item: raw body</p>
|
1033
953
|
</div>
|
1034
954
|
|
1035
955
|
</li>
|
@@ -1049,10 +969,9 @@ First item: parsed data; second item: raw body
|
|
1049
969
|
<td>
|
1050
970
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 15</span>
|
1051
971
|
|
1052
|
-
<span class='
|
1053
|
-
<span class='
|
1054
|
-
<span class='
|
1055
|
-
</pre>
|
972
|
+
<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>
|
973
|
+
<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>
|
974
|
+
<span class='kw'>end</span></pre>
|
1056
975
|
</td>
|
1057
976
|
</tr>
|
1058
977
|
</table>
|
@@ -1069,9 +988,8 @@ First item: parsed data; second item: raw body
|
|
1069
988
|
|
1070
989
|
</h3><div class="docstring">
|
1071
990
|
<div class="discussion">
|
1072
|
-
|
1073
|
-
First item: parsed data; second item: raw body
|
1074
|
-
</p>
|
991
|
+
|
992
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1075
993
|
|
1076
994
|
|
1077
995
|
</div>
|
@@ -1092,9 +1010,8 @@ First item: parsed data; second item: raw body
|
|
1092
1010
|
|
1093
1011
|
|
1094
1012
|
—
|
1095
|
-
<div class='inline'
|
1096
|
-
a hash of params to be passed to the service
|
1097
|
-
</p>
|
1013
|
+
<div class='inline'>
|
1014
|
+
<p>a hash of params to be passed to the service</p>
|
1098
1015
|
</div>
|
1099
1016
|
|
1100
1017
|
</li>
|
@@ -1111,9 +1028,8 @@ a hash of params to be passed to the service
|
|
1111
1028
|
|
1112
1029
|
|
1113
1030
|
—
|
1114
|
-
<div class='inline'
|
1115
|
-
additional http headers
|
1116
|
-
</p>
|
1031
|
+
<div class='inline'>
|
1032
|
+
<p>additional http headers</p>
|
1117
1033
|
</div>
|
1118
1034
|
|
1119
1035
|
</li>
|
@@ -1133,9 +1049,8 @@ additional http headers
|
|
1133
1049
|
|
1134
1050
|
</span>
|
1135
1051
|
|
1136
|
-
— <div class='inline'
|
1137
|
-
Part of <tt>/api/users/:user_id/roles</tt> path
|
1138
|
-
</p>
|
1052
|
+
— <div class='inline'>
|
1053
|
+
<p>Part of <tt>/api/users/:user_id/roles</tt> path</p>
|
1139
1054
|
</div>
|
1140
1055
|
|
1141
1056
|
</li>
|
@@ -1156,9 +1071,8 @@ Part of <tt>/api/users/:user_id/roles</tt> path
|
|
1156
1071
|
|
1157
1072
|
|
1158
1073
|
—
|
1159
|
-
<div class='inline'
|
1160
|
-
First item: parsed data; second item: raw body
|
1161
|
-
</p>
|
1074
|
+
<div class='inline'>
|
1075
|
+
<p>First item: parsed data; second item: raw body</p>
|
1162
1076
|
</div>
|
1163
1077
|
|
1164
1078
|
</li>
|
@@ -1171,17 +1085,16 @@ First item: parsed data; second item: raw body
|
|
1171
1085
|
<pre class="lines">
|
1172
1086
|
|
1173
1087
|
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1088
|
+
72
|
1089
|
+
73
|
1090
|
+
74</pre>
|
1177
1091
|
</td>
|
1178
1092
|
<td>
|
1179
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line
|
1093
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 72</span>
|
1180
1094
|
|
1181
|
-
<span class='
|
1182
|
-
<span class='
|
1183
|
-
<span class='
|
1184
|
-
</pre>
|
1095
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_list_roles'>list_roles</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>
|
1096
|
+
<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>
|
1097
|
+
<span class='kw'>end</span></pre>
|
1185
1098
|
</td>
|
1186
1099
|
</tr>
|
1187
1100
|
</table>
|
@@ -1198,9 +1111,8 @@ First item: parsed data; second item: raw body
|
|
1198
1111
|
|
1199
1112
|
</h3><div class="docstring">
|
1200
1113
|
<div class="discussion">
|
1201
|
-
|
1202
|
-
First item: parsed data; second item: raw body
|
1203
|
-
</p>
|
1114
|
+
|
1115
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1204
1116
|
|
1205
1117
|
|
1206
1118
|
</div>
|
@@ -1221,9 +1133,8 @@ First item: parsed data; second item: raw body
|
|
1221
1133
|
|
1222
1134
|
|
1223
1135
|
—
|
1224
|
-
<div class='inline'
|
1225
|
-
a hash of params to be passed to the service
|
1226
|
-
</p>
|
1136
|
+
<div class='inline'>
|
1137
|
+
<p>a hash of params to be passed to the service</p>
|
1227
1138
|
</div>
|
1228
1139
|
|
1229
1140
|
</li>
|
@@ -1240,9 +1151,8 @@ a hash of params to be passed to the service
|
|
1240
1151
|
|
1241
1152
|
|
1242
1153
|
—
|
1243
|
-
<div class='inline'
|
1244
|
-
additional http headers
|
1245
|
-
</p>
|
1154
|
+
<div class='inline'>
|
1155
|
+
<p>additional http headers</p>
|
1246
1156
|
</div>
|
1247
1157
|
|
1248
1158
|
</li>
|
@@ -1262,9 +1172,8 @@ additional http headers
|
|
1262
1172
|
|
1263
1173
|
</span>
|
1264
1174
|
|
1265
|
-
— <div class='inline'
|
1266
|
-
Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
1267
|
-
</p>
|
1175
|
+
— <div class='inline'>
|
1176
|
+
<p>Part of <tt>/api/users/:user_id/roles/:id</tt> path</p>
|
1268
1177
|
</div>
|
1269
1178
|
|
1270
1179
|
</li>
|
@@ -1276,9 +1185,8 @@ Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
|
1276
1185
|
|
1277
1186
|
</span>
|
1278
1187
|
|
1279
|
-
— <div class='inline'
|
1280
|
-
Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
1281
|
-
</p>
|
1188
|
+
— <div class='inline'>
|
1189
|
+
<p>Part of <tt>/api/users/:user_id/roles/:id</tt> path</p>
|
1282
1190
|
</div>
|
1283
1191
|
|
1284
1192
|
</li>
|
@@ -1299,113 +1207,8 @@ Part of <tt>/api/users/:user_id/roles/:id</tt> path
|
|
1299
1207
|
|
1300
1208
|
|
1301
1209
|
—
|
1302
|
-
<div class='inline'
|
1303
|
-
First item: parsed data; second item: raw body
|
1304
|
-
</p>
|
1305
|
-
</div>
|
1306
|
-
|
1307
|
-
</li>
|
1308
|
-
|
1309
|
-
</ul>
|
1310
|
-
|
1311
|
-
</div><table class="source_code">
|
1312
|
-
<tr>
|
1313
|
-
<td>
|
1314
|
-
<pre class="lines">
|
1315
|
-
|
1316
|
-
|
1317
|
-
96
|
1318
|
-
97
|
1319
|
-
98</pre>
|
1320
|
-
</td>
|
1321
|
-
<td>
|
1322
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 96</span>
|
1323
|
-
|
1324
|
-
<span class='rubyid_def def kw'>def</span> <span class='rubyid_remove_role identifier id'>remove_role</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>
|
1325
|
-
<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>
|
1326
|
-
<span class='rubyid_end end kw'>end</span>
|
1327
|
-
</pre>
|
1328
|
-
</td>
|
1329
|
-
</tr>
|
1330
|
-
</table>
|
1331
|
-
</div>
|
1332
|
-
|
1333
|
-
<div class="method_details ">
|
1334
|
-
<h3 class="signature " id="report-instance_method">
|
1335
|
-
|
1336
|
-
- (<tt>Array</tt>) <strong>report</strong>(params = {}, headers = {})
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
</h3><div class="docstring">
|
1343
|
-
<div class="discussion">
|
1344
|
-
<p>
|
1345
|
-
First item: parsed data; second item: raw body
|
1346
|
-
</p>
|
1347
|
-
|
1348
|
-
|
1349
|
-
</div>
|
1350
|
-
</div>
|
1351
|
-
<div class="tags">
|
1352
|
-
<p class="tag_title">Parameters:</p>
|
1353
|
-
<ul class="param">
|
1354
|
-
|
1355
|
-
<li>
|
1356
|
-
|
1357
|
-
<span class='name'>params</span>
|
1358
|
-
|
1359
|
-
|
1360
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
1361
|
-
|
1362
|
-
|
1363
|
-
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1364
|
-
|
1365
|
-
|
1366
|
-
—
|
1367
|
-
<div class='inline'><p>
|
1368
|
-
a hash of params to be passed to the service
|
1369
|
-
</p>
|
1370
|
-
</div>
|
1371
|
-
|
1372
|
-
</li>
|
1373
|
-
|
1374
|
-
<li>
|
1375
|
-
|
1376
|
-
<span class='name'>headers</span>
|
1377
|
-
|
1378
|
-
|
1379
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
1380
|
-
|
1381
|
-
|
1382
|
-
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1383
|
-
|
1384
|
-
|
1385
|
-
—
|
1386
|
-
<div class='inline'><p>
|
1387
|
-
additional http headers
|
1388
|
-
</p>
|
1389
|
-
</div>
|
1390
|
-
|
1391
|
-
</li>
|
1392
|
-
|
1393
|
-
</ul>
|
1394
|
-
|
1395
|
-
<p class="tag_title">Returns:</p>
|
1396
|
-
<ul class="return">
|
1397
|
-
|
1398
|
-
<li>
|
1399
|
-
|
1400
|
-
|
1401
|
-
<span class='type'>(<tt>Array</tt>)</span>
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
—
|
1406
|
-
<div class='inline'><p>
|
1407
|
-
First item: parsed data; second item: raw body
|
1408
|
-
</p>
|
1210
|
+
<div class='inline'>
|
1211
|
+
<p>First item: parsed data; second item: raw body</p>
|
1409
1212
|
</div>
|
1410
1213
|
|
1411
1214
|
</li>
|
@@ -1418,17 +1221,16 @@ First item: parsed data; second item: raw body
|
|
1418
1221
|
<pre class="lines">
|
1419
1222
|
|
1420
1223
|
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1224
|
+
100
|
1225
|
+
101
|
1226
|
+
102</pre>
|
1424
1227
|
</td>
|
1425
1228
|
<td>
|
1426
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line
|
1229
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 100</span>
|
1427
1230
|
|
1428
|
-
<span class='
|
1429
|
-
<span class='
|
1430
|
-
<span class='
|
1431
|
-
</pre>
|
1231
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_remove_role'>remove_role</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>
|
1232
|
+
<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>
|
1233
|
+
<span class='kw'>end</span></pre>
|
1432
1234
|
</td>
|
1433
1235
|
</tr>
|
1434
1236
|
</table>
|
@@ -1445,9 +1247,8 @@ First item: parsed data; second item: raw body
|
|
1445
1247
|
|
1446
1248
|
</h3><div class="docstring">
|
1447
1249
|
<div class="discussion">
|
1448
|
-
|
1449
|
-
First item: parsed data; second item: raw body
|
1450
|
-
</p>
|
1250
|
+
|
1251
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1451
1252
|
|
1452
1253
|
|
1453
1254
|
</div>
|
@@ -1468,9 +1269,8 @@ First item: parsed data; second item: raw body
|
|
1468
1269
|
|
1469
1270
|
|
1470
1271
|
—
|
1471
|
-
<div class='inline'
|
1472
|
-
a hash of params to be passed to the service
|
1473
|
-
</p>
|
1272
|
+
<div class='inline'>
|
1273
|
+
<p>a hash of params to be passed to the service</p>
|
1474
1274
|
</div>
|
1475
1275
|
|
1476
1276
|
</li>
|
@@ -1487,9 +1287,8 @@ a hash of params to be passed to the service
|
|
1487
1287
|
|
1488
1288
|
|
1489
1289
|
—
|
1490
|
-
<div class='inline'
|
1491
|
-
additional http headers
|
1492
|
-
</p>
|
1290
|
+
<div class='inline'>
|
1291
|
+
<p>additional http headers</p>
|
1493
1292
|
</div>
|
1494
1293
|
|
1495
1294
|
</li>
|
@@ -1509,9 +1308,8 @@ additional http headers
|
|
1509
1308
|
|
1510
1309
|
</span>
|
1511
1310
|
|
1512
|
-
— <div class='inline'
|
1513
|
-
Part of <tt>/api/users/:id</tt> path
|
1514
|
-
</p>
|
1311
|
+
— <div class='inline'>
|
1312
|
+
<p>Part of <tt>/api/users/:id</tt> path</p>
|
1515
1313
|
</div>
|
1516
1314
|
|
1517
1315
|
</li>
|
@@ -1532,9 +1330,8 @@ Part of <tt>/api/users/:id</tt> path
|
|
1532
1330
|
|
1533
1331
|
|
1534
1332
|
—
|
1535
|
-
<div class='inline'
|
1536
|
-
First item: parsed data; second item: raw body
|
1537
|
-
</p>
|
1333
|
+
<div class='inline'>
|
1334
|
+
<p>First item: parsed data; second item: raw body</p>
|
1538
1335
|
</div>
|
1539
1336
|
|
1540
1337
|
</li>
|
@@ -1554,10 +1351,9 @@ First item: parsed data; second item: raw body
|
|
1554
1351
|
<td>
|
1555
1352
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 24</span>
|
1556
1353
|
|
1557
|
-
<span class='
|
1558
|
-
<span class='
|
1559
|
-
<span class='
|
1560
|
-
</pre>
|
1354
|
+
<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>
|
1355
|
+
<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>
|
1356
|
+
<span class='kw'>end</span></pre>
|
1561
1357
|
</td>
|
1562
1358
|
</tr>
|
1563
1359
|
</table>
|
@@ -1574,9 +1370,8 @@ First item: parsed data; second item: raw body
|
|
1574
1370
|
|
1575
1371
|
</h3><div class="docstring">
|
1576
1372
|
<div class="discussion">
|
1577
|
-
|
1578
|
-
First item: parsed data; second item: raw body
|
1579
|
-
</p>
|
1373
|
+
|
1374
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1580
1375
|
|
1581
1376
|
|
1582
1377
|
</div>
|
@@ -1597,9 +1392,8 @@ First item: parsed data; second item: raw body
|
|
1597
1392
|
|
1598
1393
|
|
1599
1394
|
—
|
1600
|
-
<div class='inline'
|
1601
|
-
a hash of params to be passed to the service
|
1602
|
-
</p>
|
1395
|
+
<div class='inline'>
|
1396
|
+
<p>a hash of params to be passed to the service</p>
|
1603
1397
|
</div>
|
1604
1398
|
|
1605
1399
|
</li>
|
@@ -1616,9 +1410,8 @@ a hash of params to be passed to the service
|
|
1616
1410
|
|
1617
1411
|
|
1618
1412
|
—
|
1619
|
-
<div class='inline'
|
1620
|
-
additional http headers
|
1621
|
-
</p>
|
1413
|
+
<div class='inline'>
|
1414
|
+
<p>additional http headers</p>
|
1622
1415
|
</div>
|
1623
1416
|
|
1624
1417
|
</li>
|
@@ -1636,9 +1429,8 @@ additional http headers
|
|
1636
1429
|
|
1637
1430
|
|
1638
1431
|
—
|
1639
|
-
<div class='inline'
|
1640
|
-
First item: parsed data; second item: raw body
|
1641
|
-
</p>
|
1432
|
+
<div class='inline'>
|
1433
|
+
<p>First item: parsed data; second item: raw body</p>
|
1642
1434
|
</div>
|
1643
1435
|
|
1644
1436
|
</li>
|
@@ -1651,17 +1443,16 @@ First item: parsed data; second item: raw body
|
|
1651
1443
|
<pre class="lines">
|
1652
1444
|
|
1653
1445
|
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1446
|
+
80
|
1447
|
+
81
|
1448
|
+
82</pre>
|
1657
1449
|
</td>
|
1658
1450
|
<td>
|
1659
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line
|
1451
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 80</span>
|
1660
1452
|
|
1661
|
-
<span class='
|
1662
|
-
<span class='
|
1663
|
-
<span class='
|
1664
|
-
</pre>
|
1453
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_sync_ldap_roles'>sync_ldap_roles</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>
|
1454
|
+
<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>
|
1455
|
+
<span class='kw'>end</span></pre>
|
1665
1456
|
</td>
|
1666
1457
|
</tr>
|
1667
1458
|
</table>
|
@@ -1678,9 +1469,8 @@ First item: parsed data; second item: raw body
|
|
1678
1469
|
|
1679
1470
|
</h3><div class="docstring">
|
1680
1471
|
<div class="discussion">
|
1681
|
-
|
1682
|
-
First item: parsed data; second item: raw body
|
1683
|
-
</p>
|
1472
|
+
|
1473
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1684
1474
|
|
1685
1475
|
|
1686
1476
|
</div>
|
@@ -1701,9 +1491,8 @@ First item: parsed data; second item: raw body
|
|
1701
1491
|
|
1702
1492
|
|
1703
1493
|
—
|
1704
|
-
<div class='inline'
|
1705
|
-
a hash of params to be passed to the service
|
1706
|
-
</p>
|
1494
|
+
<div class='inline'>
|
1495
|
+
<p>a hash of params to be passed to the service</p>
|
1707
1496
|
</div>
|
1708
1497
|
|
1709
1498
|
</li>
|
@@ -1720,9 +1509,8 @@ a hash of params to be passed to the service
|
|
1720
1509
|
|
1721
1510
|
|
1722
1511
|
—
|
1723
|
-
<div class='inline'
|
1724
|
-
additional http headers
|
1725
|
-
</p>
|
1512
|
+
<div class='inline'>
|
1513
|
+
<p>additional http headers</p>
|
1726
1514
|
</div>
|
1727
1515
|
|
1728
1516
|
</li>
|
@@ -1742,46 +1530,31 @@ additional http headers
|
|
1742
1530
|
|
1743
1531
|
</span>
|
1744
1532
|
|
1745
|
-
— <div class='inline'
|
1746
|
-
Part of <tt>/api/users/:id</tt> path
|
1747
|
-
</p>
|
1533
|
+
— <div class='inline'>
|
1534
|
+
<p>Part of <tt>/api/users/:id</tt> path</p>
|
1748
1535
|
</div>
|
1749
1536
|
|
1750
1537
|
</li>
|
1751
1538
|
|
1752
1539
|
<li>
|
1753
|
-
<span class="name">
|
1754
|
-
<span class="type">(<tt>
|
1755
|
-
<span class="default">
|
1756
|
-
|
1757
|
-
</span>
|
1758
|
-
|
1759
|
-
</li>
|
1760
|
-
|
1761
|
-
<li>
|
1762
|
-
<span class="name">disabled</span>
|
1763
|
-
<span class="type">(<tt>String</tt>, <tt>nil</tt>)</span>
|
1540
|
+
<span class="name">user</span>
|
1541
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
1764
1542
|
<span class="default">
|
1765
1543
|
|
1766
1544
|
</span>
|
1767
1545
|
|
1768
|
-
|
1769
|
-
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
<span class="name">password</span>
|
1781
|
-
<span class="type">(<tt>String</tt>)</span>
|
1782
|
-
<span class="default">
|
1783
|
-
|
1784
|
-
</span>
|
1546
|
+
— <div class='inline'>
|
1547
|
+
<p>allowed keys are:</p>
|
1548
|
+
<ul><li>
|
1549
|
+
<p>default_environment_id [Numeric, nil]</p>
|
1550
|
+
</li><li>
|
1551
|
+
<p>disabled [String, nil]</p>
|
1552
|
+
</li><li>
|
1553
|
+
<p>email [String]</p>
|
1554
|
+
</li><li>
|
1555
|
+
<p>password [String]</p>
|
1556
|
+
</li></ul>
|
1557
|
+
</div>
|
1785
1558
|
|
1786
1559
|
</li>
|
1787
1560
|
|
@@ -1801,9 +1574,8 @@ Part of <tt>/api/users/:id</tt> path
|
|
1801
1574
|
|
1802
1575
|
|
1803
1576
|
—
|
1804
|
-
<div class='inline'
|
1805
|
-
First item: parsed data; second item: raw body
|
1806
|
-
</p>
|
1577
|
+
<div class='inline'>
|
1578
|
+
<p>First item: parsed data; second item: raw body</p>
|
1807
1579
|
</div>
|
1808
1580
|
|
1809
1581
|
</li>
|
@@ -1816,17 +1588,16 @@ First item: parsed data; second item: raw body
|
|
1816
1588
|
<pre class="lines">
|
1817
1589
|
|
1818
1590
|
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1591
|
+
54
|
1592
|
+
55
|
1593
|
+
56</pre>
|
1822
1594
|
</td>
|
1823
1595
|
<td>
|
1824
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line
|
1596
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/user.rb', line 54</span>
|
1825
1597
|
|
1826
|
-
<span class='
|
1827
|
-
<span class='
|
1828
|
-
<span class='
|
1829
|
-
</pre>
|
1598
|
+
<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>
|
1599
|
+
<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>
|
1600
|
+
<span class='kw'>end</span></pre>
|
1830
1601
|
</td>
|
1831
1602
|
</tr>
|
1832
1603
|
</table>
|
@@ -1837,9 +1608,9 @@ First item: parsed data; second item: raw body
|
|
1837
1608
|
</div>
|
1838
1609
|
|
1839
1610
|
<div id="footer">
|
1840
|
-
Generated on
|
1611
|
+
Generated on Wed Jan 15 20:45:14 2014 by
|
1841
1612
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1842
|
-
0.8.
|
1613
|
+
0.8.7.3 (ruby-1.9.3).
|
1843
1614
|
</div>
|
1844
1615
|
|
1845
1616
|
</body>
|