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.
Files changed (115) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +3 -0
  3. data/Gemfile +1 -1
  4. data/README.rdoc +22 -13
  5. data/Rakefile +0 -1
  6. data/doc/KatelloApi/Base.html +102 -116
  7. data/doc/KatelloApi/Generator/Base.html +65 -80
  8. data/doc/KatelloApi/Generator.html +5 -5
  9. data/doc/KatelloApi/Resources/About.html +360 -0
  10. data/doc/KatelloApi/Resources/ActivationKey.html +190 -304
  11. data/doc/KatelloApi/Resources/Architecture.html +89 -129
  12. data/doc/KatelloApi/Resources/Changeset.html +156 -399
  13. data/doc/KatelloApi/Resources/ChangesetsContent.html +97 -2215
  14. data/doc/KatelloApi/Resources/ComputeResource.html +131 -189
  15. data/doc/KatelloApi/Resources/ConfigTemplate.html +143 -208
  16. data/doc/KatelloApi/Resources/ContentUpload.html +1046 -0
  17. data/doc/KatelloApi/Resources/ContentView.html +229 -117
  18. data/doc/KatelloApi/Resources/ContentViewDefinition.html +1190 -323
  19. data/doc/KatelloApi/Resources/Crl.html +21 -28
  20. data/doc/KatelloApi/Resources/CustomInfo.html +1110 -0
  21. data/doc/KatelloApi/Resources/Distribution.html +40 -56
  22. data/doc/KatelloApi/Resources/Distributor.html +406 -469
  23. data/doc/KatelloApi/Resources/Domain.html +107 -155
  24. data/doc/KatelloApi/Resources/Environment.html +211 -539
  25. data/doc/KatelloApi/Resources/Erratum.html +56 -90
  26. data/doc/KatelloApi/Resources/Filter.html +1533 -0
  27. data/doc/KatelloApi/Resources/FilterRule.html +591 -0
  28. data/doc/KatelloApi/Resources/GpgKey.html +230 -196
  29. data/doc/KatelloApi/Resources/HardwareModel.html +101 -147
  30. data/doc/KatelloApi/Resources/Organization.html +647 -158
  31. data/doc/KatelloApi/Resources/OrganizationDefaultInfo.html +803 -0
  32. data/doc/KatelloApi/Resources/Package.html +57 -81
  33. data/doc/KatelloApi/Resources/Permission.html +109 -197
  34. data/doc/KatelloApi/Resources/Ping.html +37 -179
  35. data/doc/KatelloApi/Resources/Product.html +289 -462
  36. data/doc/KatelloApi/Resources/Provider.html +397 -424
  37. data/doc/KatelloApi/Resources/PuppetModule.html +704 -0
  38. data/doc/KatelloApi/Resources/Repository.html +302 -958
  39. data/doc/KatelloApi/Resources/RepositorySet.html +64 -104
  40. data/doc/KatelloApi/Resources/Role.html +131 -250
  41. data/doc/KatelloApi/Resources/RoleLdapGroup.html +74 -95
  42. data/doc/KatelloApi/Resources/SmartProxy.html +97 -143
  43. data/doc/KatelloApi/Resources/Statu.html +21 -28
  44. data/doc/KatelloApi/Resources/Status.html +360 -0
  45. data/doc/KatelloApi/Resources/Subnet.html +89 -129
  46. data/doc/KatelloApi/Resources/Subscription.html +486 -162
  47. data/doc/KatelloApi/Resources/Sync.html +85 -155
  48. data/doc/KatelloApi/Resources/SyncPlan.html +127 -220
  49. data/doc/KatelloApi/Resources/System.html +913 -925
  50. data/doc/KatelloApi/Resources/SystemErratum.html +557 -0
  51. data/doc/KatelloApi/Resources/SystemGroup.html +634 -408
  52. data/doc/KatelloApi/Resources/SystemGroupErratum.html +47 -66
  53. data/doc/KatelloApi/Resources/SystemGroupPackage.html +77 -108
  54. data/doc/KatelloApi/Resources/SystemPackage.html +734 -108
  55. data/doc/KatelloApi/Resources/SystemsBulkAction.html +1706 -0
  56. data/doc/KatelloApi/Resources/Task.html +38 -53
  57. data/doc/KatelloApi/Resources/Template.html +159 -233
  58. data/doc/KatelloApi/Resources/TemplatesContent.html +214 -312
  59. data/doc/KatelloApi/Resources/Uebercert.html +25 -34
  60. data/doc/KatelloApi/Resources/User.html +204 -433
  61. data/doc/KatelloApi/Resources.html +7 -7
  62. data/doc/KatelloApi.html +21 -26
  63. data/doc/_index.html +87 -9
  64. data/doc/class_list.html +3 -2
  65. data/doc/css/style.css +1 -1
  66. data/doc/file.README.html +60 -54
  67. data/doc/file_list.html +2 -1
  68. data/doc/frames.html +5 -7
  69. data/doc/index.html +60 -54
  70. data/doc/js/app.js +7 -2
  71. data/doc/js/full_list.js +7 -2
  72. data/doc/method_list.html +854 -1225
  73. data/doc/top-level-namespace.html +5 -5
  74. data/katello_api.gemspec +7 -5
  75. data/lib/katello_api/base.rb +9 -8
  76. data/lib/katello_api/documentation.json +1 -1
  77. data/lib/katello_api/resources/about.rb +18 -0
  78. data/lib/katello_api/resources/activation_key.rb +11 -13
  79. data/lib/katello_api/resources/changeset.rb +4 -15
  80. data/lib/katello_api/resources/changesets_content.rb +6 -130
  81. data/lib/katello_api/resources/content_upload.rb +61 -0
  82. data/lib/katello_api/resources/content_view.rb +10 -1
  83. data/lib/katello_api/resources/content_view_definition.rb +65 -3
  84. data/lib/katello_api/resources/custom_info.rb +70 -0
  85. data/lib/katello_api/resources/distributor.rb +33 -18
  86. data/lib/katello_api/resources/environment.rb +20 -41
  87. data/lib/katello_api/resources/erratum.rb +3 -4
  88. data/lib/katello_api/resources/filter.rb +93 -0
  89. data/lib/katello_api/resources/filter_rule.rb +36 -0
  90. data/lib/katello_api/resources/gpg_key.rb +18 -14
  91. data/lib/katello_api/resources/organization.rb +43 -8
  92. data/lib/katello_api/resources/organization_default_info.rb +48 -0
  93. data/lib/katello_api/resources/permission.rb +10 -7
  94. data/lib/katello_api/resources/ping.rb +1 -9
  95. data/lib/katello_api/resources/product.rb +26 -30
  96. data/lib/katello_api/resources/provider.rb +21 -20
  97. data/lib/katello_api/resources/puppet_module.rb +39 -0
  98. data/lib/katello_api/resources/repository.rb +28 -62
  99. data/lib/katello_api/resources/repository_set.rb +1 -2
  100. data/lib/katello_api/resources/role.rb +0 -5
  101. data/lib/katello_api/resources/role_ldap_group.rb +3 -1
  102. data/lib/katello_api/resources/status.rb +18 -0
  103. data/lib/katello_api/resources/subscription.rb +33 -7
  104. data/lib/katello_api/resources/sync.rb +9 -12
  105. data/lib/katello_api/resources/sync_plan.rb +2 -5
  106. data/lib/katello_api/resources/system.rb +95 -73
  107. data/lib/katello_api/resources/system_erratum.rb +30 -0
  108. data/lib/katello_api/resources/system_group.rb +40 -27
  109. data/lib/katello_api/resources/system_group_erratum.rb +1 -1
  110. data/lib/katello_api/resources/system_group_package.rb +6 -6
  111. data/lib/katello_api/resources/system_package.rb +46 -5
  112. data/lib/katello_api/resources/systems_bulk_action.rb +140 -0
  113. data/lib/katello_api/resources/user.rb +14 -18
  114. data/lib/katello_api/version.rb +1 -1
  115. metadata +26 -14
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Class: KatelloApi::Resources::GpgKey
8
8
 
9
- &mdash; Documentation by YARD 0.8.5.2
9
+ &mdash; 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" media="screen" charset="utf-8" />
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" media="screen" charset="utf-8" />
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'><p>
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'><p>
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'><p>
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'><p>
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'><p>
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'><p>
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/gpg_key.rb', line 4</span>
361
355
 
362
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_self self kw'>self</span><span class='dot token'>.</span><span class='rubyid_doc identifier id'>doc</span>
363
- <span class='rubyid_@doc ivar id'>@doc</span> <span class='opasgn op'>||=</span> <span class='rubyid_KatelloApi constant id'>KatelloApi</span><span class='dot token'>.</span><span class='rubyid_doc identifier id'>doc</span><span class='lbrack token'>[</span><span class='string val'>'resources'</span><span class='rbrack token'>]</span><span class='lbrack token'>[</span><span class='string val'>&quot;gpg_keys&quot;</span><span class='rbrack token'>]</span>
364
- <span class='rubyid_end end kw'>end</span>
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'>&quot;</span><span class='tstring_content'>gpg_keys</span><span class='tstring_end'>&quot;</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
- <p>
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
  &mdash;
411
- <div class='inline'><p>
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
  &mdash;
430
- <div class='inline'><p>
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,21 @@ additional http headers
449
439
 
450
440
  </span>
451
441
 
452
- &mdash; <div class='inline'><p>
453
- gpg key numeric identifier
454
- </p>
442
+ &mdash; <div class='inline'>
443
+ <p>gpg key numeric identifier</p>
444
+ </div>
445
+
446
+ </li>
447
+
448
+ <li>
449
+ <span class="name">content</span>
450
+ <span class="type">(<tt>String</tt>)</span>
451
+ <span class="default">
452
+
453
+ </span>
454
+
455
+ &mdash; <div class='inline'>
456
+ <p>file contents</p>
455
457
  </div>
456
458
 
457
459
  </li>
@@ -472,9 +474,8 @@ gpg key numeric identifier
472
474
 
473
475
 
474
476
  &mdash;
475
- <div class='inline'><p>
476
- First item: parsed data; second item: raw body
477
- </p>
477
+ <div class='inline'>
478
+ <p>First item: parsed data; second item: raw body</p>
478
479
  </div>
479
480
 
480
481
  </li>
@@ -487,17 +488,16 @@ First item: parsed data; second item: raw body
487
488
  <pre class="lines">
488
489
 
489
490
 
490
- 67
491
- 68
492
- 69</pre>
491
+ 71
492
+ 72
493
+ 73</pre>
493
494
  </td>
494
495
  <td>
495
- <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 67</span>
496
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 71</span>
496
497
 
497
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_content identifier id'>content</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>
498
- <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>
499
- <span class='rubyid_end end kw'>end</span>
500
- </pre>
498
+ <span class='kw'>def</span> <span class='id identifier rubyid_content'>content</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>
499
+ <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>
500
+ <span class='kw'>end</span></pre>
501
501
  </td>
502
502
  </tr>
503
503
  </table>
@@ -514,9 +514,8 @@ First item: parsed data; second item: raw body
514
514
 
515
515
  </h3><div class="docstring">
516
516
  <div class="discussion">
517
- <p>
518
- First item: parsed data; second item: raw body
519
- </p>
517
+
518
+ <p>Returns First item: parsed data; second item: raw body</p>
520
519
 
521
520
 
522
521
  </div>
@@ -537,9 +536,8 @@ First item: parsed data; second item: raw body
537
536
 
538
537
 
539
538
  &mdash;
540
- <div class='inline'><p>
541
- a hash of params to be passed to the service
542
- </p>
539
+ <div class='inline'>
540
+ <p>a hash of params to be passed to the service</p>
543
541
  </div>
544
542
 
545
543
  </li>
@@ -556,9 +554,8 @@ a hash of params to be passed to the service
556
554
 
557
555
 
558
556
  &mdash;
559
- <div class='inline'><p>
560
- additional http headers
561
- </p>
557
+ <div class='inline'>
558
+ <p>additional http headers</p>
562
559
  </div>
563
560
 
564
561
  </li>
@@ -578,31 +575,34 @@ additional http headers
578
575
 
579
576
  </span>
580
577
 
581
- &mdash; <div class='inline'><p>
582
- organization identifier
583
- </p>
578
+ &mdash; <div class='inline'>
579
+ <p>organization identifier</p>
584
580
  </div>
585
581
 
586
582
  </li>
587
583
 
588
584
  <li>
589
- <span class="name">gpg_key</span>
590
- <span class="type">(<tt>Hash</tt>)</span>
585
+ <span class="name">content</span>
586
+ <span class="type">(<tt>String</tt>)</span>
591
587
  <span class="default">
592
588
 
593
589
  </span>
594
590
 
595
- &mdash; <div class='inline'><p>
596
- allowed keys are:
597
- </p>
598
- <ul>
599
- <li>content [String] public key block in der encoding
600
-
601
- </li>
602
- <li>name [String] identifier of the gpg key
603
-
604
- </li>
605
- </ul>
591
+ &mdash; <div class='inline'>
592
+ <p>public key block in der encoding</p>
593
+ </div>
594
+
595
+ </li>
596
+
597
+ <li>
598
+ <span class="name">name</span>
599
+ <span class="type">(<tt>String</tt>)</span>
600
+ <span class="default">
601
+
602
+ </span>
603
+
604
+ &mdash; <div class='inline'>
605
+ <p>identifier of the gpg key</p>
606
606
  </div>
607
607
 
608
608
  </li>
@@ -623,9 +623,8 @@ allowed keys are:
623
623
 
624
624
 
625
625
  &mdash;
626
- <div class='inline'><p>
627
- First item: parsed data; second item: raw body
628
- </p>
626
+ <div class='inline'>
627
+ <p>First item: parsed data; second item: raw body</p>
629
628
  </div>
630
629
 
631
630
  </li>
@@ -638,17 +637,16 @@ First item: parsed data; second item: raw body
638
637
  <pre class="lines">
639
638
 
640
639
 
641
- 36
642
- 37
643
- 38</pre>
640
+ 32
641
+ 33
642
+ 34</pre>
644
643
  </td>
645
644
  <td>
646
- <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 36</span>
645
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 32</span>
647
646
 
648
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_create identifier id'>create</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
649
- <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>
650
- <span class='rubyid_end end kw'>end</span>
651
- </pre>
647
+ <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>
648
+ <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>
649
+ <span class='kw'>end</span></pre>
652
650
  </td>
653
651
  </tr>
654
652
  </table>
@@ -665,9 +663,8 @@ First item: parsed data; second item: raw body
665
663
 
666
664
  </h3><div class="docstring">
667
665
  <div class="discussion">
668
- <p>
669
- First item: parsed data; second item: raw body
670
- </p>
666
+
667
+ <p>Returns First item: parsed data; second item: raw body</p>
671
668
 
672
669
 
673
670
  </div>
@@ -688,9 +685,8 @@ First item: parsed data; second item: raw body
688
685
 
689
686
 
690
687
  &mdash;
691
- <div class='inline'><p>
692
- a hash of params to be passed to the service
693
- </p>
688
+ <div class='inline'>
689
+ <p>a hash of params to be passed to the service</p>
694
690
  </div>
695
691
 
696
692
  </li>
@@ -707,9 +703,8 @@ a hash of params to be passed to the service
707
703
 
708
704
 
709
705
  &mdash;
710
- <div class='inline'><p>
711
- additional http headers
712
- </p>
706
+ <div class='inline'>
707
+ <p>additional http headers</p>
713
708
  </div>
714
709
 
715
710
  </li>
@@ -729,9 +724,8 @@ additional http headers
729
724
 
730
725
  </span>
731
726
 
732
- &mdash; <div class='inline'><p>
733
- gpg key numeric identifier
734
- </p>
727
+ &mdash; <div class='inline'>
728
+ <p>gpg key numeric identifier</p>
735
729
  </div>
736
730
 
737
731
  </li>
@@ -752,9 +746,8 @@ gpg key numeric identifier
752
746
 
753
747
 
754
748
  &mdash;
755
- <div class='inline'><p>
756
- First item: parsed data; second item: raw body
757
- </p>
749
+ <div class='inline'>
750
+ <p>First item: parsed data; second item: raw body</p>
758
751
  </div>
759
752
 
760
753
  </li>
@@ -767,17 +760,16 @@ First item: parsed data; second item: raw body
767
760
  <pre class="lines">
768
761
 
769
762
 
770
- 58
771
- 59
772
- 60</pre>
763
+ 61
764
+ 62
765
+ 63</pre>
773
766
  </td>
774
767
  <td>
775
- <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 58</span>
768
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 61</span>
776
769
 
777
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_destroy identifier id'>destroy</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
778
- <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>
779
- <span class='rubyid_end end kw'>end</span>
780
- </pre>
770
+ <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>
771
+ <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>
772
+ <span class='kw'>end</span></pre>
781
773
  </td>
782
774
  </tr>
783
775
  </table>
@@ -794,9 +786,8 @@ First item: parsed data; second item: raw body
794
786
 
795
787
  </h3><div class="docstring">
796
788
  <div class="discussion">
797
- <p>
798
- First item: parsed data; second item: raw body
799
- </p>
789
+
790
+ <p>Returns First item: parsed data; second item: raw body</p>
800
791
 
801
792
 
802
793
  </div>
@@ -817,9 +808,8 @@ First item: parsed data; second item: raw body
817
808
 
818
809
 
819
810
  &mdash;
820
- <div class='inline'><p>
821
- a hash of params to be passed to the service
822
- </p>
811
+ <div class='inline'>
812
+ <p>a hash of params to be passed to the service</p>
823
813
  </div>
824
814
 
825
815
  </li>
@@ -836,9 +826,8 @@ a hash of params to be passed to the service
836
826
 
837
827
 
838
828
  &mdash;
839
- <div class='inline'><p>
840
- additional http headers
841
- </p>
829
+ <div class='inline'>
830
+ <p>additional http headers</p>
842
831
  </div>
843
832
 
844
833
  </li>
@@ -858,23 +847,78 @@ additional http headers
858
847
 
859
848
  </span>
860
849
 
861
- &mdash; <div class='inline'><p>
862
- organization identifier
863
- </p>
850
+ &mdash; <div class='inline'>
851
+ <p>organization identifier</p>
864
852
  </div>
865
853
 
866
854
  </li>
867
855
 
868
856
  <li>
869
- <span class="name">name</span>
857
+ <span class="name">order</span>
858
+ <span class="type">(<tt>String</tt>)</span>
859
+ <span class="default">
860
+
861
+ </span>
862
+
863
+ &mdash; <div class='inline'>
864
+ <p>sort field and order, eg. ‘name desc’</p>
865
+ </div>
866
+
867
+ </li>
868
+
869
+ <li>
870
+ <span class="name">page</span>
871
+ <span class="type">(<tt>String</tt>)</span>
872
+ <span class="default">
873
+
874
+ </span>
875
+
876
+ &mdash; <div class='inline'>
877
+ <p>page number, starting at 1</p>
878
+ </div>
879
+
880
+ </li>
881
+
882
+ <li>
883
+ <span class="name">per_page</span>
884
+ <span class="type">(<tt>String</tt>)</span>
885
+ <span class="default">
886
+
887
+ </span>
888
+
889
+ &mdash; <div class='inline'>
890
+ <p>number of results per page to return</p>
891
+ </div>
892
+
893
+ </li>
894
+
895
+ <li>
896
+ <span class="name">search</span>
870
897
  <span class="type">(<tt>String</tt>)</span>
871
898
  <span class="default">
872
899
 
873
900
  </span>
874
901
 
875
- &mdash; <div class='inline'><p>
876
- identifier of the gpg key
877
- </p>
902
+ &mdash; <div class='inline'>
903
+ <p>search string</p>
904
+ </div>
905
+
906
+ </li>
907
+
908
+ <li>
909
+ <span class="name">sort</span>
910
+ <span class="type">(<tt>Hash</tt>)</span>
911
+ <span class="default">
912
+
913
+ </span>
914
+
915
+ &mdash; <div class='inline'>
916
+ <p>hash version of ‘order’ param allowed keys are:</p>
917
+ <ul><li>
918
+ <p>by [String] field to sort the results on</p>
919
+ </li><li>
920
+ <p>order [String] how to order the sorted results (e.g. asc for ascending)</p>
921
+ </li></ul>
878
922
  </div>
879
923
 
880
924
  </li>
@@ -895,9 +939,8 @@ identifier of the gpg key
895
939
 
896
940
 
897
941
  &mdash;
898
- <div class='inline'><p>
899
- First item: parsed data; second item: raw body
900
- </p>
942
+ <div class='inline'>
943
+ <p>First item: parsed data; second item: raw body</p>
901
944
  </div>
902
945
 
903
946
  </li>
@@ -910,17 +953,16 @@ First item: parsed data; second item: raw body
910
953
  <pre class="lines">
911
954
 
912
955
 
913
- 14
914
- 15
915
- 16</pre>
956
+ 21
957
+ 22
958
+ 23</pre>
916
959
  </td>
917
960
  <td>
918
- <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 14</span>
961
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 21</span>
919
962
 
920
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_index identifier id'>index</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
921
- <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>
922
- <span class='rubyid_end end kw'>end</span>
923
- </pre>
963
+ <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>
964
+ <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>
965
+ <span class='kw'>end</span></pre>
924
966
  </td>
925
967
  </tr>
926
968
  </table>
@@ -937,9 +979,8 @@ First item: parsed data; second item: raw body
937
979
 
938
980
  </h3><div class="docstring">
939
981
  <div class="discussion">
940
- <p>
941
- First item: parsed data; second item: raw body
942
- </p>
982
+
983
+ <p>Returns First item: parsed data; second item: raw body</p>
943
984
 
944
985
 
945
986
  </div>
@@ -960,9 +1001,8 @@ First item: parsed data; second item: raw body
960
1001
 
961
1002
 
962
1003
  &mdash;
963
- <div class='inline'><p>
964
- a hash of params to be passed to the service
965
- </p>
1004
+ <div class='inline'>
1005
+ <p>a hash of params to be passed to the service</p>
966
1006
  </div>
967
1007
 
968
1008
  </li>
@@ -979,9 +1019,8 @@ a hash of params to be passed to the service
979
1019
 
980
1020
 
981
1021
  &mdash;
982
- <div class='inline'><p>
983
- additional http headers
984
- </p>
1022
+ <div class='inline'>
1023
+ <p>additional http headers</p>
985
1024
  </div>
986
1025
 
987
1026
  </li>
@@ -1001,9 +1040,8 @@ additional http headers
1001
1040
 
1002
1041
  </span>
1003
1042
 
1004
- &mdash; <div class='inline'><p>
1005
- gpg key numeric identifier
1006
- </p>
1043
+ &mdash; <div class='inline'>
1044
+ <p>gpg key numeric identifier</p>
1007
1045
  </div>
1008
1046
 
1009
1047
  </li>
@@ -1024,9 +1062,8 @@ gpg key numeric identifier
1024
1062
 
1025
1063
 
1026
1064
  &mdash;
1027
- <div class='inline'><p>
1028
- First item: parsed data; second item: raw body
1029
- </p>
1065
+ <div class='inline'>
1066
+ <p>First item: parsed data; second item: raw body</p>
1030
1067
  </div>
1031
1068
 
1032
1069
  </li>
@@ -1039,17 +1076,16 @@ First item: parsed data; second item: raw body
1039
1076
  <pre class="lines">
1040
1077
 
1041
1078
 
1042
- 23
1043
- 24
1044
- 25</pre>
1079
+ 41
1080
+ 42
1081
+ 43</pre>
1045
1082
  </td>
1046
1083
  <td>
1047
- <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 23</span>
1084
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 41</span>
1048
1085
 
1049
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_show identifier id'>show</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1050
- <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>
1051
- <span class='rubyid_end end kw'>end</span>
1052
- </pre>
1086
+ <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>
1087
+ <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>
1088
+ <span class='kw'>end</span></pre>
1053
1089
  </td>
1054
1090
  </tr>
1055
1091
  </table>
@@ -1066,9 +1102,8 @@ First item: parsed data; second item: raw body
1066
1102
 
1067
1103
  </h3><div class="docstring">
1068
1104
  <div class="discussion">
1069
- <p>
1070
- First item: parsed data; second item: raw body
1071
- </p>
1105
+
1106
+ <p>Returns First item: parsed data; second item: raw body</p>
1072
1107
 
1073
1108
 
1074
1109
  </div>
@@ -1089,9 +1124,8 @@ First item: parsed data; second item: raw body
1089
1124
 
1090
1125
 
1091
1126
  &mdash;
1092
- <div class='inline'><p>
1093
- a hash of params to be passed to the service
1094
- </p>
1127
+ <div class='inline'>
1128
+ <p>a hash of params to be passed to the service</p>
1095
1129
  </div>
1096
1130
 
1097
1131
  </li>
@@ -1108,9 +1142,8 @@ a hash of params to be passed to the service
1108
1142
 
1109
1143
 
1110
1144
  &mdash;
1111
- <div class='inline'><p>
1112
- additional http headers
1113
- </p>
1145
+ <div class='inline'>
1146
+ <p>additional http headers</p>
1114
1147
  </div>
1115
1148
 
1116
1149
  </li>
@@ -1125,36 +1158,39 @@ additional http headers
1125
1158
 
1126
1159
  <li>
1127
1160
  <span class="name">id</span>
1128
- <span class="type">(<tt>Object</tt>)</span>
1161
+ <span class="type">(<tt>String</tt>)</span>
1129
1162
  <span class="default">
1130
1163
 
1131
1164
  </span>
1132
1165
 
1133
- &mdash; <div class='inline'><p>
1134
- Part of <tt>/api/gpg_keys/:id</tt> path
1135
- </p>
1166
+ &mdash; <div class='inline'>
1167
+ <p>gpg key numeric identifier</p>
1136
1168
  </div>
1137
1169
 
1138
1170
  </li>
1139
1171
 
1140
1172
  <li>
1141
- <span class="name">gpg_key</span>
1142
- <span class="type">(<tt>Hash</tt>)</span>
1173
+ <span class="name">content</span>
1174
+ <span class="type">(<tt>String</tt>)</span>
1143
1175
  <span class="default">
1144
1176
 
1145
1177
  </span>
1146
1178
 
1147
- &mdash; <div class='inline'><p>
1148
- allowed keys are:
1149
- </p>
1150
- <ul>
1151
- <li>content [String] public key block in der encoding
1152
-
1153
- </li>
1154
- <li>name [String] identifier of the gpg key
1155
-
1156
- </li>
1157
- </ul>
1179
+ &mdash; <div class='inline'>
1180
+ <p>public key block in der encoding</p>
1181
+ </div>
1182
+
1183
+ </li>
1184
+
1185
+ <li>
1186
+ <span class="name">name</span>
1187
+ <span class="type">(<tt>String</tt>)</span>
1188
+ <span class="default">
1189
+
1190
+ </span>
1191
+
1192
+ &mdash; <div class='inline'>
1193
+ <p>identifier of the gpg key</p>
1158
1194
  </div>
1159
1195
 
1160
1196
  </li>
@@ -1175,9 +1211,8 @@ allowed keys are:
1175
1211
 
1176
1212
 
1177
1213
  &mdash;
1178
- <div class='inline'><p>
1179
- First item: parsed data; second item: raw body
1180
- </p>
1214
+ <div class='inline'>
1215
+ <p>First item: parsed data; second item: raw body</p>
1181
1216
  </div>
1182
1217
 
1183
1218
  </li>
@@ -1190,17 +1225,16 @@ First item: parsed data; second item: raw body
1190
1225
  <pre class="lines">
1191
1226
 
1192
1227
 
1193
- 49
1194
- 50
1195
- 51</pre>
1228
+ 52
1229
+ 53
1230
+ 54</pre>
1196
1231
  </td>
1197
1232
  <td>
1198
- <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 49</span>
1233
+ <pre class="code"><span class="info file"># File 'lib/katello_api/resources/gpg_key.rb', line 52</span>
1199
1234
 
1200
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_update identifier id'>update</span><span class='lparen token'>(</span><span class='rubyid_params identifier id'>params</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='rubyid_headers identifier id'>headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
1201
- <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>
1202
- <span class='rubyid_end end kw'>end</span>
1203
- </pre>
1235
+ <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>
1236
+ <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>
1237
+ <span class='kw'>end</span></pre>
1204
1238
  </td>
1205
1239
  </tr>
1206
1240
  </table>
@@ -1211,9 +1245,9 @@ First item: parsed data; second item: raw body
1211
1245
  </div>
1212
1246
 
1213
1247
  <div id="footer">
1214
- Generated on Mon Mar 18 14:17:43 2013 by
1248
+ Generated on Wed Jan 15 20:45:15 2014 by
1215
1249
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1216
- 0.8.5.2 (ruby-1.8.7).
1250
+ 0.8.7.3 (ruby-1.9.3).
1217
1251
  </div>
1218
1252
 
1219
1253
  </body>