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::Generator::Base
|
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;
|
@@ -134,9 +134,8 @@
|
|
134
134
|
|
135
135
|
|
136
136
|
|
137
|
-
<span class="summary_desc"><div class='inline'
|
138
|
-
Returns the value of attribute doc
|
139
|
-
</p>
|
137
|
+
<span class="summary_desc"><div class='inline'>
|
138
|
+
<p>Returns the value of attribute doc.</p>
|
140
139
|
</div></span>
|
141
140
|
|
142
141
|
</li>
|
@@ -164,9 +163,8 @@ Returns the value of attribute doc.
|
|
164
163
|
|
165
164
|
|
166
165
|
|
167
|
-
<span class="summary_desc"><div class='inline'
|
168
|
-
Returns the value of attribute resource
|
169
|
-
</p>
|
166
|
+
<span class="summary_desc"><div class='inline'>
|
167
|
+
<p>Returns the value of attribute resource.</p>
|
170
168
|
</div></span>
|
171
169
|
|
172
170
|
</li>
|
@@ -194,9 +192,8 @@ Returns the value of attribute resource.
|
|
194
192
|
|
195
193
|
|
196
194
|
|
197
|
-
<span class="summary_desc"><div class='inline'
|
198
|
-
Returns the value of attribute resource_key
|
199
|
-
</p>
|
195
|
+
<span class="summary_desc"><div class='inline'>
|
196
|
+
<p>Returns the value of attribute resource_key.</p>
|
200
197
|
</div></span>
|
201
198
|
|
202
199
|
</li>
|
@@ -240,7 +237,7 @@ Returns the value of attribute resource_key.
|
|
240
237
|
<li class="public ">
|
241
238
|
<span class="summary_signature">
|
242
239
|
|
243
|
-
<a href="#start-class_method" title="start (class method)">+ (Object) <strong>start</strong>(katello_url) </a>
|
240
|
+
<a href="#start-class_method" title="start (class method)">+ (Object) <strong>start</strong>(katello_url, api_version = nil) </a>
|
244
241
|
|
245
242
|
|
246
243
|
|
@@ -309,9 +306,8 @@ Returns the value of attribute resource_key.
|
|
309
306
|
|
310
307
|
|
311
308
|
|
312
|
-
<span class="summary_desc"><div class='inline'
|
313
|
-
A new instance of Base
|
314
|
-
</p>
|
309
|
+
<span class="summary_desc"><div class='inline'>
|
310
|
+
<p>A new instance of Base.</p>
|
315
311
|
</div></span>
|
316
312
|
|
317
313
|
</li>
|
@@ -337,9 +333,8 @@ A new instance of Base.
|
|
337
333
|
|
338
334
|
</h3><div class="docstring">
|
339
335
|
<div class="discussion">
|
340
|
-
|
341
|
-
|
342
|
-
</p>
|
336
|
+
|
337
|
+
<p>Returns a new instance of Base</p>
|
343
338
|
|
344
339
|
|
345
340
|
</div>
|
@@ -361,11 +356,10 @@ A new instance of Base
|
|
361
356
|
<td>
|
362
357
|
<pre class="code"><span class="info file"># File 'lib/katello_api/generator/base.rb', line 25</span>
|
363
358
|
|
364
|
-
<span class='
|
365
|
-
<span class='
|
366
|
-
<span class='
|
367
|
-
<span class='
|
368
|
-
</pre>
|
359
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_doc'>doc</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
360
|
+
<span class='kw'>super</span>
|
361
|
+
<span class='ivar'>@doc</span> <span class='op'>=</span> <span class='id identifier rubyid_doc'>doc</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
|
362
|
+
<span class='kw'>end</span></pre>
|
369
363
|
</td>
|
370
364
|
</tr>
|
371
365
|
</table>
|
@@ -389,9 +383,8 @@ A new instance of Base
|
|
389
383
|
|
390
384
|
</h3><div class="docstring">
|
391
385
|
<div class="discussion">
|
392
|
-
|
393
|
-
Returns the value of attribute doc
|
394
|
-
</p>
|
386
|
+
|
387
|
+
<p>Returns the value of attribute doc</p>
|
395
388
|
|
396
389
|
|
397
390
|
</div>
|
@@ -412,10 +405,9 @@ Returns the value of attribute doc
|
|
412
405
|
<td>
|
413
406
|
<pre class="code"><span class="info file"># File 'lib/katello_api/generator/base.rb', line 23</span>
|
414
407
|
|
415
|
-
<span class='
|
416
|
-
<span class='
|
417
|
-
<span class='
|
418
|
-
</pre>
|
408
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_doc'>doc</span>
|
409
|
+
<span class='ivar'>@doc</span>
|
410
|
+
<span class='kw'>end</span></pre>
|
419
411
|
</td>
|
420
412
|
</tr>
|
421
413
|
</table>
|
@@ -434,9 +426,8 @@ Returns the value of attribute doc
|
|
434
426
|
|
435
427
|
</h3><div class="docstring">
|
436
428
|
<div class="discussion">
|
437
|
-
|
438
|
-
Returns the value of attribute resource
|
439
|
-
</p>
|
429
|
+
|
430
|
+
<p>Returns the value of attribute resource</p>
|
440
431
|
|
441
432
|
|
442
433
|
</div>
|
@@ -457,10 +448,9 @@ Returns the value of attribute resource
|
|
457
448
|
<td>
|
458
449
|
<pre class="code"><span class="info file"># File 'lib/katello_api/generator/base.rb', line 23</span>
|
459
450
|
|
460
|
-
<span class='
|
461
|
-
<span class='
|
462
|
-
<span class='
|
463
|
-
</pre>
|
451
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_resource'>resource</span>
|
452
|
+
<span class='ivar'>@resource</span>
|
453
|
+
<span class='kw'>end</span></pre>
|
464
454
|
</td>
|
465
455
|
</tr>
|
466
456
|
</table>
|
@@ -479,9 +469,8 @@ Returns the value of attribute resource
|
|
479
469
|
|
480
470
|
</h3><div class="docstring">
|
481
471
|
<div class="discussion">
|
482
|
-
|
483
|
-
Returns the value of attribute resource_key
|
484
|
-
</p>
|
472
|
+
|
473
|
+
<p>Returns the value of attribute resource_key</p>
|
485
474
|
|
486
475
|
|
487
476
|
</div>
|
@@ -502,10 +491,9 @@ Returns the value of attribute resource_key
|
|
502
491
|
<td>
|
503
492
|
<pre class="code"><span class="info file"># File 'lib/katello_api/generator/base.rb', line 23</span>
|
504
493
|
|
505
|
-
<span class='
|
506
|
-
<span class='
|
507
|
-
<span class='
|
508
|
-
</pre>
|
494
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_resource_key'>resource_key</span>
|
495
|
+
<span class='ivar'>@resource_key</span>
|
496
|
+
<span class='kw'>end</span></pre>
|
509
497
|
</td>
|
510
498
|
</tr>
|
511
499
|
</table>
|
@@ -540,10 +528,9 @@ Returns the value of attribute resource_key
|
|
540
528
|
<td>
|
541
529
|
<pre class="code"><span class="info file"># File 'lib/katello_api/generator/base.rb', line 30</span>
|
542
530
|
|
543
|
-
<span class='
|
544
|
-
<span class='
|
545
|
-
<span class='
|
546
|
-
</pre>
|
531
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_source_root'>source_root</span>
|
532
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>../template</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='kw'>__FILE__</span><span class='rparen'>)</span>
|
533
|
+
<span class='kw'>end</span></pre>
|
547
534
|
</td>
|
548
535
|
</tr>
|
549
536
|
</table>
|
@@ -552,7 +539,7 @@ Returns the value of attribute resource_key
|
|
552
539
|
<div class="method_details ">
|
553
540
|
<h3 class="signature " id="start-class_method">
|
554
541
|
|
555
|
-
+ (<tt>Object</tt>) <strong>start</strong>(katello_url)
|
542
|
+
+ (<tt>Object</tt>) <strong>start</strong>(katello_url, api_version = nil)
|
556
543
|
|
557
544
|
|
558
545
|
|
@@ -588,27 +575,26 @@ Returns the value of attribute resource_key
|
|
588
575
|
<td>
|
589
576
|
<pre class="code"><span class="info file"># File 'lib/katello_api/generator/base.rb', line 34</span>
|
590
577
|
|
591
|
-
<span class='
|
592
|
-
<span class='
|
593
|
-
<span class='
|
594
|
-
<span class='
|
595
|
-
<span class='
|
596
|
-
<span class='
|
597
|
-
<span class='
|
598
|
-
<span class='
|
599
|
-
<span class='
|
600
|
-
<span class='
|
601
|
-
|
602
|
-
<span class='
|
603
|
-
<span class='
|
604
|
-
<span class='
|
605
|
-
<span class='
|
606
|
-
<span class='
|
607
|
-
<span class='
|
608
|
-
<span class='
|
609
|
-
<span class='
|
610
|
-
<span class='
|
611
|
-
</pre>
|
578
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_start'>start</span><span class='lparen'>(</span><span class='id identifier rubyid_katello_url'>katello_url</span><span class='comma'>,</span> <span class='id identifier rubyid_api_version'>api_version</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
579
|
+
<span class='id identifier rubyid_katello_url'>katello_url</span> <span class='op'>=</span> <span class='id identifier rubyid_katello_url'>katello_url</span><span class='period'>.</span><span class='id identifier rubyid_sub'>sub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\.json\Z</span><span class='regexp_end'>/</span></span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
580
|
+
<span class='id identifier rubyid_katello_url'>katello_url</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='lparen'>(</span><span class='id identifier rubyid_api_version'>api_version</span> <span class='op'>||</span> <span class='const'>KatelloApi</span><span class='op'>::</span><span class='const'>Base</span><span class='op'>::</span><span class='const'>API_VERSION</span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'>.json</span><span class='tstring_end'>"</span></span>
|
581
|
+
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>=</span> <span class='const'>URI</span><span class='lparen'>(</span><span class='id identifier rubyid_katello_url'>katello_url</span><span class='rparen'>)</span>
|
582
|
+
<span class='id identifier rubyid_http'>http</span> <span class='op'>=</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTP</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_host'>host</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_port'>port</span><span class='rparen'>)</span>
|
583
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_scheme'>scheme</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>https</span><span class='tstring_end'>"</span></span>
|
584
|
+
<span class='id identifier rubyid_http'>http</span><span class='period'>.</span><span class='id identifier rubyid_use_ssl'>use_ssl</span> <span class='op'>=</span> <span class='kw'>true</span>
|
585
|
+
<span class='id identifier rubyid_http'>http</span><span class='period'>.</span><span class='id identifier rubyid_verify_mode'>verify_mode</span> <span class='op'>=</span> <span class='const'>OpenSSL</span><span class='op'>::</span><span class='const'>SSL</span><span class='op'>::</span><span class='const'>VERIFY_NONE</span>
|
586
|
+
<span class='kw'>end</span>
|
587
|
+
<span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='id identifier rubyid_http'>http</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
588
|
+
|
589
|
+
<span class='kw'>unless</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_code'>code</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>200</span><span class='tstring_end'>"</span></span>
|
590
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Could not load data from </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_katello_url'>katello_url</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
591
|
+
<span class='kw'>end</span>
|
592
|
+
<span class='id identifier rubyid_body'>body</span> <span class='op'>=</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span>
|
593
|
+
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='const'>KatelloApi</span><span class='period'>.</span><span class='id identifier rubyid_doc_file'>doc_file</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>w</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_write'>write</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
594
|
+
<span class='id identifier rubyid_doc'>doc</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with_indifferent_access'>with_indifferent_access</span>
|
595
|
+
<span class='id identifier rubyid_destination'>destination</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>../../../..</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='kw'>__FILE__</span><span class='rparen'>)</span>
|
596
|
+
<span class='kw'>super</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='id identifier rubyid_doc'>doc</span><span class='lbracket'>[</span><span class='symbol'>:docs</span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:destination_root</span> <span class='op'>=></span> <span class='id identifier rubyid_destination'>destination</span><span class='rparen'>)</span>
|
597
|
+
<span class='kw'>end</span></pre>
|
612
598
|
</td>
|
613
599
|
</tr>
|
614
600
|
</table>
|
@@ -645,13 +631,12 @@ Returns the value of attribute resource_key
|
|
645
631
|
<td>
|
646
632
|
<pre class="code"><span class="info file"># File 'lib/katello_api/generator/base.rb', line 55</span>
|
647
633
|
|
648
|
-
<span class='
|
649
|
-
<span class='
|
650
|
-
<span class='
|
651
|
-
<span class='
|
652
|
-
<span class='
|
653
|
-
<span class='
|
654
|
-
</pre>
|
634
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_generate'>generate</span>
|
635
|
+
<span class='id identifier rubyid_doc'>doc</span><span class='lbracket'>[</span><span class='symbol'>:resources</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_resource'>resource</span><span class='op'>|</span>
|
636
|
+
<span class='ivar'>@resource_key</span><span class='comma'>,</span> <span class='ivar'>@resource</span> <span class='op'>=</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_resource'>resource</span>
|
637
|
+
<span class='id identifier rubyid_template'>template</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>resource.rb.tt</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>lib/katello_api/resources/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_resource_name'>resource_name</span><span class='rbrace'>}</span><span class='tstring_content'>.rb</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
638
|
+
<span class='kw'>end</span>
|
639
|
+
<span class='kw'>end</span></pre>
|
655
640
|
</td>
|
656
641
|
</tr>
|
657
642
|
</table>
|
@@ -662,9 +647,9 @@ Returns the value of attribute resource_key
|
|
662
647
|
</div>
|
663
648
|
|
664
649
|
<div id="footer">
|
665
|
-
Generated on
|
650
|
+
Generated on Wed Jan 15 20:45:13 2014 by
|
666
651
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
667
|
-
0.8.
|
652
|
+
0.8.7.3 (ruby-1.9.3).
|
668
653
|
</div>
|
669
654
|
|
670
655
|
</body>
|
@@ -6,13 +6,13 @@
|
|
6
6
|
<title>
|
7
7
|
Module: KatelloApi::Generator
|
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;
|
@@ -106,9 +106,9 @@
|
|
106
106
|
</div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Wed Jan 15 20:45:13 2014 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
|
-
0.8.
|
111
|
+
0.8.7.3 (ruby-1.9.3).
|
112
112
|
</div>
|
113
113
|
|
114
114
|
</body>
|