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::Organization
|
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;
|
@@ -164,6 +164,54 @@
|
|
164
164
|
<li class="public ">
|
165
165
|
<span class="summary_signature">
|
166
166
|
|
167
|
+
<a href="#autoattach_subscriptions-instance_method" title="#autoattach_subscriptions (instance method)">- (Array) <strong>autoattach_subscriptions</strong>(params = {}, headers = {}) </a>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
</span>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
<span class="summary_desc"><div class='inline'>
|
182
|
+
<p>First item: parsed data; second item: raw body.</p>
|
183
|
+
</div></span>
|
184
|
+
|
185
|
+
</li>
|
186
|
+
|
187
|
+
|
188
|
+
<li class="public ">
|
189
|
+
<span class="summary_signature">
|
190
|
+
|
191
|
+
<a href="#cancel_repo_discover-instance_method" title="#cancel_repo_discover (instance method)">- (Array) <strong>cancel_repo_discover</strong>(params = {}, headers = {}) </a>
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
</span>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
<span class="summary_desc"><div class='inline'>
|
206
|
+
<p>First item: parsed data; second item: raw body.</p>
|
207
|
+
</div></span>
|
208
|
+
|
209
|
+
</li>
|
210
|
+
|
211
|
+
|
212
|
+
<li class="public ">
|
213
|
+
<span class="summary_signature">
|
214
|
+
|
167
215
|
<a href="#create-instance_method" title="#create (instance method)">- (Array) <strong>create</strong>(params = {}, headers = {}) </a>
|
168
216
|
|
169
217
|
|
@@ -178,9 +226,8 @@
|
|
178
226
|
|
179
227
|
|
180
228
|
|
181
|
-
<span class="summary_desc"><div class='inline'
|
182
|
-
First item: parsed data; second item: raw body
|
183
|
-
</p>
|
229
|
+
<span class="summary_desc"><div class='inline'>
|
230
|
+
<p>First item: parsed data; second item: raw body.</p>
|
184
231
|
</div></span>
|
185
232
|
|
186
233
|
</li>
|
@@ -203,9 +250,8 @@ First item: parsed data; second item: raw body.
|
|
203
250
|
|
204
251
|
|
205
252
|
|
206
|
-
<span class="summary_desc"><div class='inline'
|
207
|
-
First item: parsed data; second item: raw body
|
208
|
-
</p>
|
253
|
+
<span class="summary_desc"><div class='inline'>
|
254
|
+
<p>First item: parsed data; second item: raw body.</p>
|
209
255
|
</div></span>
|
210
256
|
|
211
257
|
</li>
|
@@ -228,9 +274,32 @@ First item: parsed data; second item: raw body.
|
|
228
274
|
|
229
275
|
|
230
276
|
|
231
|
-
<span class="summary_desc"><div class='inline'
|
232
|
-
First item: parsed data; second item: raw body
|
233
|
-
</
|
277
|
+
<span class="summary_desc"><div class='inline'>
|
278
|
+
<p>First item: parsed data; second item: raw body.</p>
|
279
|
+
</div></span>
|
280
|
+
|
281
|
+
</li>
|
282
|
+
|
283
|
+
|
284
|
+
<li class="public ">
|
285
|
+
<span class="summary_signature">
|
286
|
+
|
287
|
+
<a href="#repo_discover-instance_method" title="#repo_discover (instance method)">- (Array) <strong>repo_discover</strong>(params = {}, headers = {}) </a>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
</span>
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
<span class="summary_desc"><div class='inline'>
|
302
|
+
<p>First item: parsed data; second item: raw body.</p>
|
234
303
|
</div></span>
|
235
304
|
|
236
305
|
</li>
|
@@ -253,9 +322,8 @@ First item: parsed data; second item: raw body.
|
|
253
322
|
|
254
323
|
|
255
324
|
|
256
|
-
<span class="summary_desc"><div class='inline'
|
257
|
-
First item: parsed data; second item: raw body
|
258
|
-
</p>
|
325
|
+
<span class="summary_desc"><div class='inline'>
|
326
|
+
<p>First item: parsed data; second item: raw body.</p>
|
259
327
|
</div></span>
|
260
328
|
|
261
329
|
</li>
|
@@ -278,9 +346,8 @@ First item: parsed data; second item: raw body.
|
|
278
346
|
|
279
347
|
|
280
348
|
|
281
|
-
<span class="summary_desc"><div class='inline'
|
282
|
-
First item: parsed data; second item: raw body
|
283
|
-
</p>
|
349
|
+
<span class="summary_desc"><div class='inline'>
|
350
|
+
<p>First item: parsed data; second item: raw body.</p>
|
284
351
|
</div></span>
|
285
352
|
|
286
353
|
</li>
|
@@ -334,10 +401,9 @@ First item: parsed data; second item: raw body.
|
|
334
401
|
<td>
|
335
402
|
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line 4</span>
|
336
403
|
|
337
|
-
<span class='
|
338
|
-
<span class='
|
339
|
-
<span class='
|
340
|
-
</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'>organizations</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
406
|
+
<span class='kw'>end</span></pre>
|
341
407
|
</td>
|
342
408
|
</tr>
|
343
409
|
</table>
|
@@ -350,7 +416,266 @@ First item: parsed data; second item: raw body.
|
|
350
416
|
|
351
417
|
|
352
418
|
<div class="method_details first">
|
353
|
-
<h3 class="signature first" id="
|
419
|
+
<h3 class="signature first" id="autoattach_subscriptions-instance_method">
|
420
|
+
|
421
|
+
- (<tt>Array</tt>) <strong>autoattach_subscriptions</strong>(params = {}, headers = {})
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
</h3><div class="docstring">
|
428
|
+
<div class="discussion">
|
429
|
+
|
430
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
431
|
+
|
432
|
+
|
433
|
+
</div>
|
434
|
+
</div>
|
435
|
+
<div class="tags">
|
436
|
+
<p class="tag_title">Parameters:</p>
|
437
|
+
<ul class="param">
|
438
|
+
|
439
|
+
<li>
|
440
|
+
|
441
|
+
<span class='name'>params</span>
|
442
|
+
|
443
|
+
|
444
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
445
|
+
|
446
|
+
|
447
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
448
|
+
|
449
|
+
|
450
|
+
—
|
451
|
+
<div class='inline'>
|
452
|
+
<p>a hash of params to be passed to the service</p>
|
453
|
+
</div>
|
454
|
+
|
455
|
+
</li>
|
456
|
+
|
457
|
+
<li>
|
458
|
+
|
459
|
+
<span class='name'>headers</span>
|
460
|
+
|
461
|
+
|
462
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
463
|
+
|
464
|
+
|
465
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
466
|
+
|
467
|
+
|
468
|
+
—
|
469
|
+
<div class='inline'>
|
470
|
+
<p>additional http headers</p>
|
471
|
+
</div>
|
472
|
+
|
473
|
+
</li>
|
474
|
+
|
475
|
+
</ul>
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
|
480
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
481
|
+
<ul class="option">
|
482
|
+
|
483
|
+
<li>
|
484
|
+
<span class="name">id</span>
|
485
|
+
<span class="type">(<tt>Object</tt>)</span>
|
486
|
+
<span class="default">
|
487
|
+
|
488
|
+
</span>
|
489
|
+
|
490
|
+
— <div class='inline'>
|
491
|
+
<p>Part of <tt>/api/organizations/:id/autoattach_subscriptions</tt> path</p>
|
492
|
+
</div>
|
493
|
+
|
494
|
+
</li>
|
495
|
+
|
496
|
+
</ul>
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
<p class="tag_title">Returns:</p>
|
502
|
+
<ul class="return">
|
503
|
+
|
504
|
+
<li>
|
505
|
+
|
506
|
+
|
507
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
—
|
512
|
+
<div class='inline'>
|
513
|
+
<p>First item: parsed data; second item: raw body</p>
|
514
|
+
</div>
|
515
|
+
|
516
|
+
</li>
|
517
|
+
|
518
|
+
</ul>
|
519
|
+
|
520
|
+
</div><table class="source_code">
|
521
|
+
<tr>
|
522
|
+
<td>
|
523
|
+
<pre class="lines">
|
524
|
+
|
525
|
+
|
526
|
+
91
|
527
|
+
92
|
528
|
+
93</pre>
|
529
|
+
</td>
|
530
|
+
<td>
|
531
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line 91</span>
|
532
|
+
|
533
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_autoattach_subscriptions'>autoattach_subscriptions</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>
|
534
|
+
<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>
|
535
|
+
<span class='kw'>end</span></pre>
|
536
|
+
</td>
|
537
|
+
</tr>
|
538
|
+
</table>
|
539
|
+
</div>
|
540
|
+
|
541
|
+
<div class="method_details ">
|
542
|
+
<h3 class="signature " id="cancel_repo_discover-instance_method">
|
543
|
+
|
544
|
+
- (<tt>Array</tt>) <strong>cancel_repo_discover</strong>(params = {}, headers = {})
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
|
549
|
+
|
550
|
+
</h3><div class="docstring">
|
551
|
+
<div class="discussion">
|
552
|
+
|
553
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
554
|
+
|
555
|
+
|
556
|
+
</div>
|
557
|
+
</div>
|
558
|
+
<div class="tags">
|
559
|
+
<p class="tag_title">Parameters:</p>
|
560
|
+
<ul class="param">
|
561
|
+
|
562
|
+
<li>
|
563
|
+
|
564
|
+
<span class='name'>params</span>
|
565
|
+
|
566
|
+
|
567
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
568
|
+
|
569
|
+
|
570
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
571
|
+
|
572
|
+
|
573
|
+
—
|
574
|
+
<div class='inline'>
|
575
|
+
<p>a hash of params to be passed to the service</p>
|
576
|
+
</div>
|
577
|
+
|
578
|
+
</li>
|
579
|
+
|
580
|
+
<li>
|
581
|
+
|
582
|
+
<span class='name'>headers</span>
|
583
|
+
|
584
|
+
|
585
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
586
|
+
|
587
|
+
|
588
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
589
|
+
|
590
|
+
|
591
|
+
—
|
592
|
+
<div class='inline'>
|
593
|
+
<p>additional http headers</p>
|
594
|
+
</div>
|
595
|
+
|
596
|
+
</li>
|
597
|
+
|
598
|
+
</ul>
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
|
603
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
604
|
+
<ul class="option">
|
605
|
+
|
606
|
+
<li>
|
607
|
+
<span class="name">id</span>
|
608
|
+
<span class="type">(<tt>String</tt>)</span>
|
609
|
+
<span class="default">
|
610
|
+
|
611
|
+
</span>
|
612
|
+
|
613
|
+
— <div class='inline'>
|
614
|
+
<p>organization id, label, or name</p>
|
615
|
+
</div>
|
616
|
+
|
617
|
+
</li>
|
618
|
+
|
619
|
+
<li>
|
620
|
+
<span class="name">url</span>
|
621
|
+
<span class="type">(<tt>String</tt>)</span>
|
622
|
+
<span class="default">
|
623
|
+
|
624
|
+
</span>
|
625
|
+
|
626
|
+
— <div class='inline'>
|
627
|
+
<p>base url to perform repo discovery on</p>
|
628
|
+
</div>
|
629
|
+
|
630
|
+
</li>
|
631
|
+
|
632
|
+
</ul>
|
633
|
+
|
634
|
+
|
635
|
+
|
636
|
+
|
637
|
+
<p class="tag_title">Returns:</p>
|
638
|
+
<ul class="return">
|
639
|
+
|
640
|
+
<li>
|
641
|
+
|
642
|
+
|
643
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
644
|
+
|
645
|
+
|
646
|
+
|
647
|
+
—
|
648
|
+
<div class='inline'>
|
649
|
+
<p>First item: parsed data; second item: raw body</p>
|
650
|
+
</div>
|
651
|
+
|
652
|
+
</li>
|
653
|
+
|
654
|
+
</ul>
|
655
|
+
|
656
|
+
</div><table class="source_code">
|
657
|
+
<tr>
|
658
|
+
<td>
|
659
|
+
<pre class="lines">
|
660
|
+
|
661
|
+
|
662
|
+
82
|
663
|
+
83
|
664
|
+
84</pre>
|
665
|
+
</td>
|
666
|
+
<td>
|
667
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line 82</span>
|
668
|
+
|
669
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_cancel_repo_discover'>cancel_repo_discover</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>
|
670
|
+
<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>
|
671
|
+
<span class='kw'>end</span></pre>
|
672
|
+
</td>
|
673
|
+
</tr>
|
674
|
+
</table>
|
675
|
+
</div>
|
676
|
+
|
677
|
+
<div class="method_details ">
|
678
|
+
<h3 class="signature " id="create-instance_method">
|
354
679
|
|
355
680
|
- (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
|
356
681
|
|
@@ -360,9 +685,8 @@ First item: parsed data; second item: raw body.
|
|
360
685
|
|
361
686
|
</h3><div class="docstring">
|
362
687
|
<div class="discussion">
|
363
|
-
|
364
|
-
First item: parsed data; second item: raw body
|
365
|
-
</p>
|
688
|
+
|
689
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
366
690
|
|
367
691
|
|
368
692
|
</div>
|
@@ -383,9 +707,8 @@ First item: parsed data; second item: raw body
|
|
383
707
|
|
384
708
|
|
385
709
|
—
|
386
|
-
<div class='inline'
|
387
|
-
a hash of params to be passed to the service
|
388
|
-
</p>
|
710
|
+
<div class='inline'>
|
711
|
+
<p>a hash of params to be passed to the service</p>
|
389
712
|
</div>
|
390
713
|
|
391
714
|
</li>
|
@@ -402,9 +725,8 @@ a hash of params to be passed to the service
|
|
402
725
|
|
403
726
|
|
404
727
|
—
|
405
|
-
<div class='inline'
|
406
|
-
additional http headers
|
407
|
-
</p>
|
728
|
+
<div class='inline'>
|
729
|
+
<p>additional http headers</p>
|
408
730
|
</div>
|
409
731
|
|
410
732
|
</li>
|
@@ -424,6 +746,23 @@ additional http headers
|
|
424
746
|
|
425
747
|
</span>
|
426
748
|
|
749
|
+
— <div class='inline'>
|
750
|
+
<p>description</p>
|
751
|
+
</div>
|
752
|
+
|
753
|
+
</li>
|
754
|
+
|
755
|
+
<li>
|
756
|
+
<span class="name">label</span>
|
757
|
+
<span class="type">(<tt>String</tt>)</span>
|
758
|
+
<span class="default">
|
759
|
+
|
760
|
+
</span>
|
761
|
+
|
762
|
+
— <div class='inline'>
|
763
|
+
<p>unique label</p>
|
764
|
+
</div>
|
765
|
+
|
427
766
|
</li>
|
428
767
|
|
429
768
|
<li>
|
@@ -433,9 +772,8 @@ additional http headers
|
|
433
772
|
|
434
773
|
</span>
|
435
774
|
|
436
|
-
— <div class='inline'
|
437
|
-
name
|
438
|
-
</p>
|
775
|
+
— <div class='inline'>
|
776
|
+
<p>name</p>
|
439
777
|
</div>
|
440
778
|
|
441
779
|
</li>
|
@@ -456,9 +794,8 @@ name for the organization
|
|
456
794
|
|
457
795
|
|
458
796
|
—
|
459
|
-
<div class='inline'
|
460
|
-
First item: parsed data; second item: raw body
|
461
|
-
</p>
|
797
|
+
<div class='inline'>
|
798
|
+
<p>First item: parsed data; second item: raw body</p>
|
462
799
|
</div>
|
463
800
|
|
464
801
|
</li>
|
@@ -471,17 +808,16 @@ First item: parsed data; second item: raw body
|
|
471
808
|
<pre class="lines">
|
472
809
|
|
473
810
|
|
474
|
-
|
475
|
-
|
476
|
-
|
811
|
+
40
|
812
|
+
41
|
813
|
+
42</pre>
|
477
814
|
</td>
|
478
815
|
<td>
|
479
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line
|
816
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line 40</span>
|
480
817
|
|
481
|
-
<span class='
|
482
|
-
<span class='
|
483
|
-
<span class='
|
484
|
-
</pre>
|
818
|
+
<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>
|
819
|
+
<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>
|
820
|
+
<span class='kw'>end</span></pre>
|
485
821
|
</td>
|
486
822
|
</tr>
|
487
823
|
</table>
|
@@ -498,9 +834,8 @@ First item: parsed data; second item: raw body
|
|
498
834
|
|
499
835
|
</h3><div class="docstring">
|
500
836
|
<div class="discussion">
|
501
|
-
|
502
|
-
First item: parsed data; second item: raw body
|
503
|
-
</p>
|
837
|
+
|
838
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
504
839
|
|
505
840
|
|
506
841
|
</div>
|
@@ -521,9 +856,8 @@ First item: parsed data; second item: raw body
|
|
521
856
|
|
522
857
|
|
523
858
|
—
|
524
|
-
<div class='inline'
|
525
|
-
a hash of params to be passed to the service
|
526
|
-
</p>
|
859
|
+
<div class='inline'>
|
860
|
+
<p>a hash of params to be passed to the service</p>
|
527
861
|
</div>
|
528
862
|
|
529
863
|
</li>
|
@@ -540,9 +874,8 @@ a hash of params to be passed to the service
|
|
540
874
|
|
541
875
|
|
542
876
|
—
|
543
|
-
<div class='inline'
|
544
|
-
additional http headers
|
545
|
-
</p>
|
877
|
+
<div class='inline'>
|
878
|
+
<p>additional http headers</p>
|
546
879
|
</div>
|
547
880
|
|
548
881
|
</li>
|
@@ -562,9 +895,8 @@ additional http headers
|
|
562
895
|
|
563
896
|
</span>
|
564
897
|
|
565
|
-
— <div class='inline'
|
566
|
-
Part of <tt>/api/organizations/:id</tt> path
|
567
|
-
</p>
|
898
|
+
— <div class='inline'>
|
899
|
+
<p>Part of <tt>/api/organizations/:id</tt> path</p>
|
568
900
|
</div>
|
569
901
|
|
570
902
|
</li>
|
@@ -585,9 +917,8 @@ Part of <tt>/api/organizations/:id</tt> path
|
|
585
917
|
|
586
918
|
|
587
919
|
—
|
588
|
-
<div class='inline'
|
589
|
-
First item: parsed data; second item: raw body
|
590
|
-
</p>
|
920
|
+
<div class='inline'>
|
921
|
+
<p>First item: parsed data; second item: raw body</p>
|
591
922
|
</div>
|
592
923
|
|
593
924
|
</li>
|
@@ -600,17 +931,16 @@ First item: parsed data; second item: raw body
|
|
600
931
|
<pre class="lines">
|
601
932
|
|
602
933
|
|
603
|
-
|
604
|
-
|
605
|
-
|
934
|
+
62
|
935
|
+
63
|
936
|
+
64</pre>
|
606
937
|
</td>
|
607
938
|
<td>
|
608
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line
|
939
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line 62</span>
|
609
940
|
|
610
|
-
<span class='
|
611
|
-
<span class='
|
612
|
-
<span class='
|
613
|
-
</pre>
|
941
|
+
<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>
|
942
|
+
<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>
|
943
|
+
<span class='kw'>end</span></pre>
|
614
944
|
</td>
|
615
945
|
</tr>
|
616
946
|
</table>
|
@@ -627,9 +957,8 @@ First item: parsed data; second item: raw body
|
|
627
957
|
|
628
958
|
</h3><div class="docstring">
|
629
959
|
<div class="discussion">
|
630
|
-
|
631
|
-
First item: parsed data; second item: raw body
|
632
|
-
</p>
|
960
|
+
|
961
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
633
962
|
|
634
963
|
|
635
964
|
</div>
|
@@ -650,9 +979,8 @@ First item: parsed data; second item: raw body
|
|
650
979
|
|
651
980
|
|
652
981
|
—
|
653
|
-
<div class='inline'
|
654
|
-
a hash of params to be passed to the service
|
655
|
-
</p>
|
982
|
+
<div class='inline'>
|
983
|
+
<p>a hash of params to be passed to the service</p>
|
656
984
|
</div>
|
657
985
|
|
658
986
|
</li>
|
@@ -669,9 +997,8 @@ a hash of params to be passed to the service
|
|
669
997
|
|
670
998
|
|
671
999
|
—
|
672
|
-
<div class='inline'
|
673
|
-
additional http headers
|
674
|
-
</p>
|
1000
|
+
<div class='inline'>
|
1001
|
+
<p>additional http headers</p>
|
675
1002
|
</div>
|
676
1003
|
|
677
1004
|
</li>
|
@@ -685,38 +1012,207 @@ additional http headers
|
|
685
1012
|
<ul class="option">
|
686
1013
|
|
687
1014
|
<li>
|
688
|
-
<span class="name">
|
1015
|
+
<span class="name">order</span>
|
689
1016
|
<span class="type">(<tt>String</tt>)</span>
|
690
1017
|
<span class="default">
|
691
1018
|
|
692
1019
|
</span>
|
693
1020
|
|
1021
|
+
— <div class='inline'>
|
1022
|
+
<p>sort field and order, eg. ‘name desc’</p>
|
1023
|
+
</div>
|
1024
|
+
|
694
1025
|
</li>
|
695
1026
|
|
696
1027
|
<li>
|
697
|
-
<span class="name">
|
1028
|
+
<span class="name">page</span>
|
698
1029
|
<span class="type">(<tt>String</tt>)</span>
|
699
1030
|
<span class="default">
|
700
1031
|
|
701
1032
|
</span>
|
702
1033
|
|
703
|
-
— <div class='inline'
|
704
|
-
|
705
|
-
</p>
|
1034
|
+
— <div class='inline'>
|
1035
|
+
<p>page number, starting at 1</p>
|
706
1036
|
</div>
|
707
1037
|
|
708
1038
|
</li>
|
709
1039
|
|
710
1040
|
<li>
|
711
|
-
<span class="name">
|
1041
|
+
<span class="name">per_page</span>
|
1042
|
+
<span class="type">(<tt>String</tt>)</span>
|
1043
|
+
<span class="default">
|
1044
|
+
|
1045
|
+
</span>
|
1046
|
+
|
1047
|
+
— <div class='inline'>
|
1048
|
+
<p>number of results per page to return</p>
|
1049
|
+
</div>
|
1050
|
+
|
1051
|
+
</li>
|
1052
|
+
|
1053
|
+
<li>
|
1054
|
+
<span class="name">search</span>
|
1055
|
+
<span class="type">(<tt>String</tt>)</span>
|
1056
|
+
<span class="default">
|
1057
|
+
|
1058
|
+
</span>
|
1059
|
+
|
1060
|
+
— <div class='inline'>
|
1061
|
+
<p>search string</p>
|
1062
|
+
</div>
|
1063
|
+
|
1064
|
+
</li>
|
1065
|
+
|
1066
|
+
<li>
|
1067
|
+
<span class="name">sort</span>
|
1068
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
1069
|
+
<span class="default">
|
1070
|
+
|
1071
|
+
</span>
|
1072
|
+
|
1073
|
+
— <div class='inline'>
|
1074
|
+
<p>hash version of ‘order’ param allowed keys are:</p>
|
1075
|
+
<ul><li>
|
1076
|
+
<p>by [String] field to sort the results on</p>
|
1077
|
+
</li><li>
|
1078
|
+
<p>order [String] how to order the sorted results (e.g. asc for ascending)</p>
|
1079
|
+
</li></ul>
|
1080
|
+
</div>
|
1081
|
+
|
1082
|
+
</li>
|
1083
|
+
|
1084
|
+
</ul>
|
1085
|
+
|
1086
|
+
|
1087
|
+
|
1088
|
+
|
1089
|
+
<p class="tag_title">Returns:</p>
|
1090
|
+
<ul class="return">
|
1091
|
+
|
1092
|
+
<li>
|
1093
|
+
|
1094
|
+
|
1095
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1096
|
+
|
1097
|
+
|
1098
|
+
|
1099
|
+
—
|
1100
|
+
<div class='inline'>
|
1101
|
+
<p>First item: parsed data; second item: raw body</p>
|
1102
|
+
</div>
|
1103
|
+
|
1104
|
+
</li>
|
1105
|
+
|
1106
|
+
</ul>
|
1107
|
+
|
1108
|
+
</div><table class="source_code">
|
1109
|
+
<tr>
|
1110
|
+
<td>
|
1111
|
+
<pre class="lines">
|
1112
|
+
|
1113
|
+
|
1114
|
+
20
|
1115
|
+
21
|
1116
|
+
22</pre>
|
1117
|
+
</td>
|
1118
|
+
<td>
|
1119
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line 20</span>
|
1120
|
+
|
1121
|
+
<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>
|
1122
|
+
<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>
|
1123
|
+
<span class='kw'>end</span></pre>
|
1124
|
+
</td>
|
1125
|
+
</tr>
|
1126
|
+
</table>
|
1127
|
+
</div>
|
1128
|
+
|
1129
|
+
<div class="method_details ">
|
1130
|
+
<h3 class="signature " id="repo_discover-instance_method">
|
1131
|
+
|
1132
|
+
- (<tt>Array</tt>) <strong>repo_discover</strong>(params = {}, headers = {})
|
1133
|
+
|
1134
|
+
|
1135
|
+
|
1136
|
+
|
1137
|
+
|
1138
|
+
</h3><div class="docstring">
|
1139
|
+
<div class="discussion">
|
1140
|
+
|
1141
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
1142
|
+
|
1143
|
+
|
1144
|
+
</div>
|
1145
|
+
</div>
|
1146
|
+
<div class="tags">
|
1147
|
+
<p class="tag_title">Parameters:</p>
|
1148
|
+
<ul class="param">
|
1149
|
+
|
1150
|
+
<li>
|
1151
|
+
|
1152
|
+
<span class='name'>params</span>
|
1153
|
+
|
1154
|
+
|
1155
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1156
|
+
|
1157
|
+
|
1158
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1159
|
+
|
1160
|
+
|
1161
|
+
—
|
1162
|
+
<div class='inline'>
|
1163
|
+
<p>a hash of params to be passed to the service</p>
|
1164
|
+
</div>
|
1165
|
+
|
1166
|
+
</li>
|
1167
|
+
|
1168
|
+
<li>
|
1169
|
+
|
1170
|
+
<span class='name'>headers</span>
|
1171
|
+
|
1172
|
+
|
1173
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1174
|
+
|
1175
|
+
|
1176
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1177
|
+
|
1178
|
+
|
1179
|
+
—
|
1180
|
+
<div class='inline'>
|
1181
|
+
<p>additional http headers</p>
|
1182
|
+
</div>
|
1183
|
+
|
1184
|
+
</li>
|
1185
|
+
|
1186
|
+
</ul>
|
1187
|
+
|
1188
|
+
|
1189
|
+
|
1190
|
+
|
1191
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
1192
|
+
<ul class="option">
|
1193
|
+
|
1194
|
+
<li>
|
1195
|
+
<span class="name">id</span>
|
712
1196
|
<span class="type">(<tt>String</tt>)</span>
|
713
1197
|
<span class="default">
|
714
1198
|
|
715
1199
|
</span>
|
716
1200
|
|
717
|
-
— <div class='inline'
|
718
|
-
|
719
|
-
</
|
1201
|
+
— <div class='inline'>
|
1202
|
+
<p>organization id, label, or name</p>
|
1203
|
+
</div>
|
1204
|
+
|
1205
|
+
</li>
|
1206
|
+
|
1207
|
+
<li>
|
1208
|
+
<span class="name">url</span>
|
1209
|
+
<span class="type">(<tt>String</tt>)</span>
|
1210
|
+
<span class="default">
|
1211
|
+
|
1212
|
+
</span>
|
1213
|
+
|
1214
|
+
— <div class='inline'>
|
1215
|
+
<p>base url to perform repo discovery on</p>
|
720
1216
|
</div>
|
721
1217
|
|
722
1218
|
</li>
|
@@ -737,9 +1233,8 @@ name for the organization
|
|
737
1233
|
|
738
1234
|
|
739
1235
|
—
|
740
|
-
<div class='inline'
|
741
|
-
First item: parsed data; second item: raw body
|
742
|
-
</p>
|
1236
|
+
<div class='inline'>
|
1237
|
+
<p>First item: parsed data; second item: raw body</p>
|
743
1238
|
</div>
|
744
1239
|
|
745
1240
|
</li>
|
@@ -752,17 +1247,16 @@ First item: parsed data; second item: raw body
|
|
752
1247
|
<pre class="lines">
|
753
1248
|
|
754
1249
|
|
755
|
-
|
756
|
-
|
757
|
-
|
1250
|
+
72
|
1251
|
+
73
|
1252
|
+
74</pre>
|
758
1253
|
</td>
|
759
1254
|
<td>
|
760
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line
|
1255
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line 72</span>
|
761
1256
|
|
762
|
-
<span class='
|
763
|
-
<span class='
|
764
|
-
<span class='
|
765
|
-
</pre>
|
1257
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_repo_discover'>repo_discover</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>
|
1258
|
+
<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>
|
1259
|
+
<span class='kw'>end</span></pre>
|
766
1260
|
</td>
|
767
1261
|
</tr>
|
768
1262
|
</table>
|
@@ -779,9 +1273,8 @@ First item: parsed data; second item: raw body
|
|
779
1273
|
|
780
1274
|
</h3><div class="docstring">
|
781
1275
|
<div class="discussion">
|
782
|
-
|
783
|
-
First item: parsed data; second item: raw body
|
784
|
-
</p>
|
1276
|
+
|
1277
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
785
1278
|
|
786
1279
|
|
787
1280
|
</div>
|
@@ -802,9 +1295,8 @@ First item: parsed data; second item: raw body
|
|
802
1295
|
|
803
1296
|
|
804
1297
|
—
|
805
|
-
<div class='inline'
|
806
|
-
a hash of params to be passed to the service
|
807
|
-
</p>
|
1298
|
+
<div class='inline'>
|
1299
|
+
<p>a hash of params to be passed to the service</p>
|
808
1300
|
</div>
|
809
1301
|
|
810
1302
|
</li>
|
@@ -821,9 +1313,8 @@ a hash of params to be passed to the service
|
|
821
1313
|
|
822
1314
|
|
823
1315
|
—
|
824
|
-
<div class='inline'
|
825
|
-
additional http headers
|
826
|
-
</p>
|
1316
|
+
<div class='inline'>
|
1317
|
+
<p>additional http headers</p>
|
827
1318
|
</div>
|
828
1319
|
|
829
1320
|
</li>
|
@@ -843,9 +1334,8 @@ additional http headers
|
|
843
1334
|
|
844
1335
|
</span>
|
845
1336
|
|
846
|
-
— <div class='inline'
|
847
|
-
Part of <tt>/api/organizations/:id</tt> path
|
848
|
-
</p>
|
1337
|
+
— <div class='inline'>
|
1338
|
+
<p>Part of <tt>/api/organizations/:id</tt> path</p>
|
849
1339
|
</div>
|
850
1340
|
|
851
1341
|
</li>
|
@@ -866,9 +1356,8 @@ Part of <tt>/api/organizations/:id</tt> path
|
|
866
1356
|
|
867
1357
|
|
868
1358
|
—
|
869
|
-
<div class='inline'
|
870
|
-
First item: parsed data; second item: raw body
|
871
|
-
</p>
|
1359
|
+
<div class='inline'>
|
1360
|
+
<p>First item: parsed data; second item: raw body</p>
|
872
1361
|
</div>
|
873
1362
|
|
874
1363
|
</li>
|
@@ -881,17 +1370,16 @@ First item: parsed data; second item: raw body
|
|
881
1370
|
<pre class="lines">
|
882
1371
|
|
883
1372
|
|
884
|
-
|
885
|
-
|
886
|
-
|
1373
|
+
29
|
1374
|
+
30
|
1375
|
+
31</pre>
|
887
1376
|
</td>
|
888
1377
|
<td>
|
889
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line
|
1378
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line 29</span>
|
890
1379
|
|
891
|
-
<span class='
|
892
|
-
<span class='
|
893
|
-
<span class='
|
894
|
-
</pre>
|
1380
|
+
<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>
|
1381
|
+
<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>
|
1382
|
+
<span class='kw'>end</span></pre>
|
895
1383
|
</td>
|
896
1384
|
</tr>
|
897
1385
|
</table>
|
@@ -908,9 +1396,8 @@ First item: parsed data; second item: raw body
|
|
908
1396
|
|
909
1397
|
</h3><div class="docstring">
|
910
1398
|
<div class="discussion">
|
911
|
-
|
912
|
-
First item: parsed data; second item: raw body
|
913
|
-
</p>
|
1399
|
+
|
1400
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
914
1401
|
|
915
1402
|
|
916
1403
|
</div>
|
@@ -931,9 +1418,8 @@ First item: parsed data; second item: raw body
|
|
931
1418
|
|
932
1419
|
|
933
1420
|
—
|
934
|
-
<div class='inline'
|
935
|
-
a hash of params to be passed to the service
|
936
|
-
</p>
|
1421
|
+
<div class='inline'>
|
1422
|
+
<p>a hash of params to be passed to the service</p>
|
937
1423
|
</div>
|
938
1424
|
|
939
1425
|
</li>
|
@@ -950,9 +1436,8 @@ a hash of params to be passed to the service
|
|
950
1436
|
|
951
1437
|
|
952
1438
|
—
|
953
|
-
<div class='inline'
|
954
|
-
additional http headers
|
955
|
-
</p>
|
1439
|
+
<div class='inline'>
|
1440
|
+
<p>additional http headers</p>
|
956
1441
|
</div>
|
957
1442
|
|
958
1443
|
</li>
|
@@ -972,31 +1457,37 @@ additional http headers
|
|
972
1457
|
|
973
1458
|
</span>
|
974
1459
|
|
975
|
-
— <div class='inline'
|
976
|
-
Part of <tt>/api/organizations/:id</tt> path
|
977
|
-
</
|
1460
|
+
— <div class='inline'>
|
1461
|
+
<p>Part of <tt>/api/organizations/:id</tt> path</p>
|
1462
|
+
</div>
|
1463
|
+
|
1464
|
+
</li>
|
1465
|
+
|
1466
|
+
<li>
|
1467
|
+
<span class="name">description</span>
|
1468
|
+
<span class="type">(<tt>String</tt>)</span>
|
1469
|
+
<span class="default">
|
1470
|
+
|
1471
|
+
</span>
|
1472
|
+
|
1473
|
+
— <div class='inline'>
|
1474
|
+
<p>description</p>
|
978
1475
|
</div>
|
979
1476
|
|
980
1477
|
</li>
|
981
1478
|
|
982
1479
|
<li>
|
983
|
-
<span class="name">
|
1480
|
+
<span class="name">resource</span>
|
984
1481
|
<span class="type">(<tt>Hash</tt>)</span>
|
985
1482
|
<span class="default">
|
986
1483
|
|
987
1484
|
</span>
|
988
1485
|
|
989
|
-
— <div class='inline'
|
990
|
-
allowed keys are
|
991
|
-
|
992
|
-
<
|
993
|
-
|
994
|
-
|
995
|
-
</li>
|
996
|
-
<li>name [String] name for the organization
|
997
|
-
|
998
|
-
</li>
|
999
|
-
</ul>
|
1486
|
+
— <div class='inline'>
|
1487
|
+
<p>allowed keys are:</p>
|
1488
|
+
<ul><li>
|
1489
|
+
<p>name [String]</p>
|
1490
|
+
</li></ul>
|
1000
1491
|
</div>
|
1001
1492
|
|
1002
1493
|
</li>
|
@@ -1017,9 +1508,8 @@ allowed keys are:
|
|
1017
1508
|
|
1018
1509
|
|
1019
1510
|
—
|
1020
|
-
<div class='inline'
|
1021
|
-
First item: parsed data; second item: raw body
|
1022
|
-
</p>
|
1511
|
+
<div class='inline'>
|
1512
|
+
<p>First item: parsed data; second item: raw body</p>
|
1023
1513
|
</div>
|
1024
1514
|
|
1025
1515
|
</li>
|
@@ -1032,17 +1522,16 @@ First item: parsed data; second item: raw body
|
|
1032
1522
|
<pre class="lines">
|
1033
1523
|
|
1034
1524
|
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1525
|
+
53
|
1526
|
+
54
|
1527
|
+
55</pre>
|
1038
1528
|
</td>
|
1039
1529
|
<td>
|
1040
|
-
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line
|
1530
|
+
<pre class="code"><span class="info file"># File 'lib/katello_api/resources/organization.rb', line 53</span>
|
1041
1531
|
|
1042
|
-
<span class='
|
1043
|
-
<span class='
|
1044
|
-
<span class='
|
1045
|
-
</pre>
|
1532
|
+
<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>
|
1533
|
+
<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>
|
1534
|
+
<span class='kw'>end</span></pre>
|
1046
1535
|
</td>
|
1047
1536
|
</tr>
|
1048
1537
|
</table>
|
@@ -1053,9 +1542,9 @@ First item: parsed data; second item: raw body
|
|
1053
1542
|
</div>
|
1054
1543
|
|
1055
1544
|
<div id="footer">
|
1056
|
-
Generated on
|
1545
|
+
Generated on Wed Jan 15 20:45:18 2014 by
|
1057
1546
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1058
|
-
0.8.
|
1547
|
+
0.8.7.3 (ruby-1.9.3).
|
1059
1548
|
</div>
|
1060
1549
|
|
1061
1550
|
</body>
|