foreman_api 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/ForemanApi.html +3 -3
- data/doc/ForemanApi/Resources.html +4 -4
- data/doc/ForemanApi/Resources/Architecture.html +7 -7
- data/doc/ForemanApi/Resources/Audit.html +5 -5
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +15 -15
- data/doc/ForemanApi/Resources/Bookmark.html +3 -3
- data/doc/ForemanApi/Resources/CommonParameter.html +5 -5
- data/doc/ForemanApi/Resources/ComputeResource.html +167 -24
- data/doc/ForemanApi/Resources/ConfigTemplate.html +14 -14
- data/doc/ForemanApi/Resources/Dashboard.html +2 -2
- data/doc/ForemanApi/Resources/Domain.html +14 -14
- data/doc/ForemanApi/Resources/Environment.html +199 -25
- data/doc/ForemanApi/Resources/FactValue.html +5 -5
- data/doc/ForemanApi/Resources/Home.html +1 -1
- data/doc/ForemanApi/Resources/Host.html +509 -10
- data/doc/ForemanApi/Resources/HostClass.html +5 -5
- data/doc/ForemanApi/Resources/Hostgroup.html +5 -5
- data/doc/ForemanApi/Resources/HostgroupClass.html +5 -5
- data/doc/ForemanApi/Resources/Image.html +5 -5
- data/doc/ForemanApi/Resources/Interface.html +1045 -0
- data/doc/ForemanApi/Resources/Location.html +5 -5
- data/doc/ForemanApi/Resources/LookupKey.html +62 -811
- data/doc/ForemanApi/Resources/Medium.html +13 -13
- data/doc/ForemanApi/Resources/Model.html +5 -5
- data/doc/ForemanApi/Resources/OperatingSystem.html +5 -5
- data/doc/ForemanApi/Resources/Organization.html +5 -5
- data/doc/ForemanApi/Resources/OverrideValue.html +1060 -0
- data/doc/ForemanApi/Resources/Parameter.html +26 -26
- data/doc/ForemanApi/Resources/Ptable.html +5 -5
- data/doc/ForemanApi/Resources/Puppetclass.html +80 -28
- data/doc/ForemanApi/Resources/Report.html +164 -6
- data/doc/ForemanApi/Resources/Role.html +3 -3
- data/doc/ForemanApi/Resources/Setting.html +5 -5
- data/doc/ForemanApi/Resources/SmartClassParameter.html +747 -0
- data/doc/ForemanApi/Resources/SmartProxy.html +341 -24
- data/doc/ForemanApi/Resources/SmartVariable.html +1043 -0
- data/doc/ForemanApi/Resources/Statistic.html +330 -0
- data/doc/ForemanApi/Resources/Subnet.html +33 -33
- data/doc/ForemanApi/Resources/TemplateCombination.html +3 -3
- data/doc/ForemanApi/Resources/TemplateKind.html +3 -3
- data/doc/ForemanApi/Resources/User.html +7 -7
- data/doc/ForemanApi/Resources/Usergroup.html +5 -5
- data/doc/_index.html +36 -1
- data/doc/class_list.html +1 -1
- data/doc/file.MIT-LICENSE.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +515 -347
- data/doc/top-level-namespace.html +1 -1
- data/lib/foreman_api/base.rb +2 -1
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/architecture.rb +6 -6
- data/lib/foreman_api/resources/audit.rb +4 -4
- data/lib/foreman_api/resources/auth_source_ldap.rb +14 -14
- data/lib/foreman_api/resources/bookmark.rb +2 -2
- data/lib/foreman_api/resources/common_parameter.rb +4 -4
- data/lib/foreman_api/resources/compute_resource.rb +29 -20
- data/lib/foreman_api/resources/config_template.rb +13 -13
- data/lib/foreman_api/resources/dashboard.rb +1 -1
- data/lib/foreman_api/resources/domain.rb +13 -13
- data/lib/foreman_api/resources/environment.rb +16 -4
- data/lib/foreman_api/resources/fact_value.rb +4 -4
- data/lib/foreman_api/resources/host.rb +40 -8
- data/lib/foreman_api/resources/host_class.rb +4 -4
- data/lib/foreman_api/resources/hostgroup.rb +4 -4
- data/lib/foreman_api/resources/hostgroup_class.rb +4 -4
- data/lib/foreman_api/resources/image.rb +4 -4
- data/lib/foreman_api/resources/interface.rb +80 -0
- data/lib/foreman_api/resources/location.rb +4 -4
- data/lib/foreman_api/resources/lookup_key.rb +6 -65
- data/lib/foreman_api/resources/medium.rb +10 -10
- data/lib/foreman_api/resources/model.rb +4 -4
- data/lib/foreman_api/resources/operating_system.rb +4 -4
- data/lib/foreman_api/resources/organization.rb +4 -4
- data/lib/foreman_api/resources/override_value.rb +73 -0
- data/lib/foreman_api/resources/parameter.rb +25 -25
- data/lib/foreman_api/resources/ptable.rb +4 -4
- data/lib/foreman_api/resources/puppetclass.rb +11 -7
- data/lib/foreman_api/resources/report.rb +19 -4
- data/lib/foreman_api/resources/role.rb +2 -2
- data/lib/foreman_api/resources/setting.rb +4 -4
- data/lib/foreman_api/resources/smart_class_parameter.rb +55 -0
- data/lib/foreman_api/resources/smart_proxy.rb +24 -3
- data/lib/foreman_api/resources/smart_variable.rb +80 -0
- data/lib/foreman_api/resources/statistic.rb +18 -0
- data/lib/foreman_api/resources/subnet.rb +32 -32
- data/lib/foreman_api/resources/template_combination.rb +2 -2
- data/lib/foreman_api/resources/template_kind.rb +2 -2
- data/lib/foreman_api/resources/user.rb +6 -6
- data/lib/foreman_api/resources/usergroup.rb +4 -4
- data/lib/foreman_api/version.rb +1 -1
- metadata +13 -3
@@ -535,20 +535,20 @@
|
|
535
535
|
— <div class='inline'>
|
536
536
|
<p>allowed keys are:</p>
|
537
537
|
<ul><li>
|
538
|
-
<p>operatingsystem_ids [Array]
|
538
|
+
<p>operatingsystem_ids [Array] array of operating systems id to associate the
|
539
539
|
template with</p>
|
540
540
|
</li><li>
|
541
|
-
<p>template_kind_id [String, nil]
|
541
|
+
<p>template_kind_id [String, nil] not relevant for snippet</p>
|
542
542
|
</li><li>
|
543
543
|
<p>audit_comment [String, nil]</p>
|
544
544
|
</li><li>
|
545
|
-
<p>name [String]
|
545
|
+
<p>name [String] template name</p>
|
546
546
|
</li><li>
|
547
547
|
<p>snippet [String, nil]</p>
|
548
548
|
</li><li>
|
549
549
|
<p>template [String]</p>
|
550
550
|
</li><li>
|
551
|
-
<p>template_combinations_attributes [Array]
|
551
|
+
<p>template_combinations_attributes [Array] array of template combinations
|
552
552
|
(hostgroup_id, environment_id)</p>
|
553
553
|
</li></ul>
|
554
554
|
</div>
|
@@ -792,7 +792,7 @@ template with</p>
|
|
792
792
|
</span>
|
793
793
|
|
794
794
|
— <div class='inline'>
|
795
|
-
<p>
|
795
|
+
<p>sort results</p>
|
796
796
|
</div>
|
797
797
|
|
798
798
|
</li>
|
@@ -805,7 +805,7 @@ template with</p>
|
|
805
805
|
</span>
|
806
806
|
|
807
807
|
— <div class='inline'>
|
808
|
-
<p>
|
808
|
+
<p>paginate results</p>
|
809
809
|
</div>
|
810
810
|
|
811
811
|
</li>
|
@@ -818,7 +818,7 @@ template with</p>
|
|
818
818
|
</span>
|
819
819
|
|
820
820
|
— <div class='inline'>
|
821
|
-
<p>
|
821
|
+
<p>number of entries per request</p>
|
822
822
|
</div>
|
823
823
|
|
824
824
|
</li>
|
@@ -831,7 +831,7 @@ template with</p>
|
|
831
831
|
</span>
|
832
832
|
|
833
833
|
— <div class='inline'>
|
834
|
-
<p>
|
834
|
+
<p>filter results</p>
|
835
835
|
</div>
|
836
836
|
|
837
837
|
</li>
|
@@ -954,7 +954,7 @@ template with</p>
|
|
954
954
|
</span>
|
955
955
|
|
956
956
|
— <div class='inline'>
|
957
|
-
<p>
|
957
|
+
<p>template version</p>
|
958
958
|
</div>
|
959
959
|
|
960
960
|
</li>
|
@@ -1207,20 +1207,20 @@ template with</p>
|
|
1207
1207
|
— <div class='inline'>
|
1208
1208
|
<p>allowed keys are:</p>
|
1209
1209
|
<ul><li>
|
1210
|
-
<p>operatingsystem_ids [Array]
|
1210
|
+
<p>operatingsystem_ids [Array] array of operating systems id to associate the
|
1211
1211
|
template with</p>
|
1212
1212
|
</li><li>
|
1213
|
-
<p>template_kind_id [String, nil]
|
1213
|
+
<p>template_kind_id [String, nil] not relevant for snippet</p>
|
1214
1214
|
</li><li>
|
1215
1215
|
<p>audit_comment [String, nil]</p>
|
1216
1216
|
</li><li>
|
1217
|
-
<p>name [String]
|
1217
|
+
<p>name [String] template name</p>
|
1218
1218
|
</li><li>
|
1219
1219
|
<p>snippet [String]</p>
|
1220
1220
|
</li><li>
|
1221
1221
|
<p>template [String]</p>
|
1222
1222
|
</li><li>
|
1223
|
-
<p>template_combinations_attributes [Array]
|
1223
|
+
<p>template_combinations_attributes [Array] array of template combinations
|
1224
1224
|
(hostgroup_id, environment_id)</p>
|
1225
1225
|
</li></ul>
|
1226
1226
|
</div>
|
@@ -1277,7 +1277,7 @@ template with</p>
|
|
1277
1277
|
</div>
|
1278
1278
|
|
1279
1279
|
<div id="footer">
|
1280
|
-
Generated on Mon
|
1280
|
+
Generated on Mon Oct 21 11:10:46 2013 by
|
1281
1281
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1282
1282
|
0.8.7 (ruby-2.0.0).
|
1283
1283
|
</div>
|
@@ -290,7 +290,7 @@
|
|
290
290
|
</span>
|
291
291
|
|
292
292
|
— <div class='inline'>
|
293
|
-
<p>
|
293
|
+
<p>filter results</p>
|
294
294
|
</div>
|
295
295
|
|
296
296
|
</li>
|
@@ -345,7 +345,7 @@
|
|
345
345
|
</div>
|
346
346
|
|
347
347
|
<div id="footer">
|
348
|
-
Generated on Mon
|
348
|
+
Generated on Mon Oct 21 11:10:45 2013 by
|
349
349
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
350
350
|
0.8.7 (ruby-2.0.0).
|
351
351
|
</div>
|
@@ -388,13 +388,13 @@
|
|
388
388
|
— <div class='inline'>
|
389
389
|
<p>allowed keys are:</p>
|
390
390
|
<ul><li>
|
391
|
-
<p>dns_id [String, nil]
|
391
|
+
<p>dns_id [String, nil] dns proxy to use within this domain</p>
|
392
392
|
</li><li>
|
393
|
-
<p>domain_parameters_attributes [Array]
|
393
|
+
<p>domain_parameters_attributes [Array] array of parameters (name, value)</p>
|
394
394
|
</li><li>
|
395
|
-
<p>fullname [String, nil]
|
395
|
+
<p>fullname [String, nil] full name describing the domain</p>
|
396
396
|
</li><li>
|
397
|
-
<p>name [String]
|
397
|
+
<p>name [String] the full dns domain name</p>
|
398
398
|
</li></ul>
|
399
399
|
</div>
|
400
400
|
|
@@ -637,7 +637,7 @@
|
|
637
637
|
</span>
|
638
638
|
|
639
639
|
— <div class='inline'>
|
640
|
-
<p>
|
640
|
+
<p>sort results</p>
|
641
641
|
</div>
|
642
642
|
|
643
643
|
</li>
|
@@ -650,7 +650,7 @@
|
|
650
650
|
</span>
|
651
651
|
|
652
652
|
— <div class='inline'>
|
653
|
-
<p>
|
653
|
+
<p>paginate results</p>
|
654
654
|
</div>
|
655
655
|
|
656
656
|
</li>
|
@@ -663,7 +663,7 @@
|
|
663
663
|
</span>
|
664
664
|
|
665
665
|
— <div class='inline'>
|
666
|
-
<p>
|
666
|
+
<p>number of entries per request</p>
|
667
667
|
</div>
|
668
668
|
|
669
669
|
</li>
|
@@ -676,7 +676,7 @@
|
|
676
676
|
</span>
|
677
677
|
|
678
678
|
— <div class='inline'>
|
679
|
-
<p>
|
679
|
+
<p>filter results</p>
|
680
680
|
</div>
|
681
681
|
|
682
682
|
</li>
|
@@ -799,7 +799,7 @@
|
|
799
799
|
</span>
|
800
800
|
|
801
801
|
— <div class='inline'>
|
802
|
-
<p>
|
802
|
+
<p>may be numerical id or domain name</p>
|
803
803
|
</div>
|
804
804
|
|
805
805
|
</li>
|
@@ -933,13 +933,13 @@
|
|
933
933
|
— <div class='inline'>
|
934
934
|
<p>allowed keys are:</p>
|
935
935
|
<ul><li>
|
936
|
-
<p>dns_id [String, nil]
|
936
|
+
<p>dns_id [String, nil] dns proxy to use within this domain</p>
|
937
937
|
</li><li>
|
938
|
-
<p>domain_parameters_attributes [Array]
|
938
|
+
<p>domain_parameters_attributes [Array] array of parameters (name, value)</p>
|
939
939
|
</li><li>
|
940
|
-
<p>fullname [String, nil]
|
940
|
+
<p>fullname [String, nil] full name describing the domain</p>
|
941
941
|
</li><li>
|
942
|
-
<p>name [String, nil]
|
942
|
+
<p>name [String, nil] the full dns domain name</p>
|
943
943
|
</li></ul>
|
944
944
|
</div>
|
945
945
|
|
@@ -995,7 +995,7 @@
|
|
995
995
|
</div>
|
996
996
|
|
997
997
|
<div id="footer">
|
998
|
-
Generated on Mon
|
998
|
+
Generated on Mon Oct 21 11:10:44 2013 by
|
999
999
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1000
1000
|
0.8.7 (ruby-2.0.0).
|
1001
1001
|
</div>
|
@@ -188,6 +188,30 @@
|
|
188
188
|
|
189
189
|
|
190
190
|
|
191
|
+
<span class="summary_desc"><div class='inline'>
|
192
|
+
<p>First item: parsed data; second item: raw body.</p>
|
193
|
+
</div></span>
|
194
|
+
|
195
|
+
</li>
|
196
|
+
|
197
|
+
|
198
|
+
<li class="public ">
|
199
|
+
<span class="summary_signature">
|
200
|
+
|
201
|
+
<a href="#import_puppetclasses-instance_method" title="#import_puppetclasses (instance method)">- (Array) <strong>import_puppetclasses</strong>(params = {}, headers = {}) </a>
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
</span>
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
191
215
|
<span class="summary_desc"><div class='inline'>
|
192
216
|
<p>First item: parsed data; second item: raw body.</p>
|
193
217
|
</div></span>
|
@@ -424,12 +448,12 @@
|
|
424
448
|
<pre class="lines">
|
425
449
|
|
426
450
|
|
427
|
-
|
428
|
-
|
429
|
-
|
451
|
+
48
|
452
|
+
49
|
453
|
+
50</pre>
|
430
454
|
</td>
|
431
455
|
<td>
|
432
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line
|
456
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line 48</span>
|
433
457
|
|
434
458
|
<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>
|
435
459
|
<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>
|
@@ -543,12 +567,12 @@
|
|
543
567
|
<pre class="lines">
|
544
568
|
|
545
569
|
|
546
|
-
|
547
|
-
|
548
|
-
|
570
|
+
69
|
571
|
+
70
|
572
|
+
71</pre>
|
549
573
|
</td>
|
550
574
|
<td>
|
551
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line
|
575
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line 69</span>
|
552
576
|
|
553
577
|
<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>
|
554
578
|
<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>
|
@@ -556,6 +580,156 @@
|
|
556
580
|
</td>
|
557
581
|
</tr>
|
558
582
|
</table>
|
583
|
+
</div>
|
584
|
+
|
585
|
+
<div class="method_details ">
|
586
|
+
<h3 class="signature " id="import_puppetclasses-instance_method">
|
587
|
+
|
588
|
+
- (<tt>Array</tt>) <strong>import_puppetclasses</strong>(params = {}, headers = {})
|
589
|
+
|
590
|
+
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
</h3><div class="docstring">
|
595
|
+
<div class="discussion">
|
596
|
+
|
597
|
+
<p>Returns First item: parsed data; second item: raw body</p>
|
598
|
+
|
599
|
+
|
600
|
+
</div>
|
601
|
+
</div>
|
602
|
+
<div class="tags">
|
603
|
+
<p class="tag_title">Parameters:</p>
|
604
|
+
<ul class="param">
|
605
|
+
|
606
|
+
<li>
|
607
|
+
|
608
|
+
<span class='name'>params</span>
|
609
|
+
|
610
|
+
|
611
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
612
|
+
|
613
|
+
|
614
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
615
|
+
|
616
|
+
|
617
|
+
—
|
618
|
+
<div class='inline'>
|
619
|
+
<p>a hash of params to be passed to the service</p>
|
620
|
+
</div>
|
621
|
+
|
622
|
+
</li>
|
623
|
+
|
624
|
+
<li>
|
625
|
+
|
626
|
+
<span class='name'>headers</span>
|
627
|
+
|
628
|
+
|
629
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
630
|
+
|
631
|
+
|
632
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
633
|
+
|
634
|
+
|
635
|
+
—
|
636
|
+
<div class='inline'>
|
637
|
+
<p>additional http headers</p>
|
638
|
+
</div>
|
639
|
+
|
640
|
+
</li>
|
641
|
+
|
642
|
+
</ul>
|
643
|
+
|
644
|
+
|
645
|
+
|
646
|
+
|
647
|
+
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
648
|
+
<ul class="option">
|
649
|
+
|
650
|
+
<li>
|
651
|
+
<span class="name">id</span>
|
652
|
+
<span class="type">(<tt>Object</tt>)</span>
|
653
|
+
<span class="default">
|
654
|
+
|
655
|
+
</span>
|
656
|
+
|
657
|
+
— <div class='inline'>
|
658
|
+
<p>Part of <tt>/api/smart_proxies/:id/import_puppetclasses</tt> path</p>
|
659
|
+
</div>
|
660
|
+
|
661
|
+
</li>
|
662
|
+
|
663
|
+
<li>
|
664
|
+
<span class="name">environment_id</span>
|
665
|
+
<span class="type">(<tt>String</tt>)</span>
|
666
|
+
<span class="default">
|
667
|
+
|
668
|
+
</span>
|
669
|
+
|
670
|
+
</li>
|
671
|
+
|
672
|
+
<li>
|
673
|
+
<span class="name">smart_proxy_id</span>
|
674
|
+
<span class="type">(<tt>String</tt>)</span>
|
675
|
+
<span class="default">
|
676
|
+
|
677
|
+
</span>
|
678
|
+
|
679
|
+
</li>
|
680
|
+
|
681
|
+
<li>
|
682
|
+
<span class="name">dryrun</span>
|
683
|
+
<span class="type">(<tt>String</tt>)</span>
|
684
|
+
<span class="default">
|
685
|
+
|
686
|
+
</span>
|
687
|
+
|
688
|
+
</li>
|
689
|
+
|
690
|
+
</ul>
|
691
|
+
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
<p class="tag_title">Returns:</p>
|
696
|
+
<ul class="return">
|
697
|
+
|
698
|
+
<li>
|
699
|
+
|
700
|
+
|
701
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
702
|
+
|
703
|
+
|
704
|
+
|
705
|
+
—
|
706
|
+
<div class='inline'>
|
707
|
+
<p>First item: parsed data; second item: raw body</p>
|
708
|
+
</div>
|
709
|
+
|
710
|
+
</li>
|
711
|
+
|
712
|
+
</ul>
|
713
|
+
|
714
|
+
</div><table class="source_code">
|
715
|
+
<tr>
|
716
|
+
<td>
|
717
|
+
<pre class="lines">
|
718
|
+
|
719
|
+
|
720
|
+
16
|
721
|
+
17
|
722
|
+
18</pre>
|
723
|
+
</td>
|
724
|
+
<td>
|
725
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line 16</span>
|
726
|
+
|
727
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_import_puppetclasses'>import_puppetclasses</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>
|
728
|
+
<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>
|
729
|
+
<span class='kw'>end</span></pre>
|
730
|
+
</td>
|
731
|
+
</tr>
|
732
|
+
</table>
|
559
733
|
</div>
|
560
734
|
|
561
735
|
<div class="method_details ">
|
@@ -631,7 +805,7 @@
|
|
631
805
|
</span>
|
632
806
|
|
633
807
|
— <div class='inline'>
|
634
|
-
<p>
|
808
|
+
<p>sort results</p>
|
635
809
|
</div>
|
636
810
|
|
637
811
|
</li>
|
@@ -644,7 +818,7 @@
|
|
644
818
|
</span>
|
645
819
|
|
646
820
|
— <div class='inline'>
|
647
|
-
<p>
|
821
|
+
<p>paginate results</p>
|
648
822
|
</div>
|
649
823
|
|
650
824
|
</li>
|
@@ -657,7 +831,7 @@
|
|
657
831
|
</span>
|
658
832
|
|
659
833
|
— <div class='inline'>
|
660
|
-
<p>
|
834
|
+
<p>number of entries per request</p>
|
661
835
|
</div>
|
662
836
|
|
663
837
|
</li>
|
@@ -670,7 +844,7 @@
|
|
670
844
|
</span>
|
671
845
|
|
672
846
|
— <div class='inline'>
|
673
|
-
<p>
|
847
|
+
<p>filter results</p>
|
674
848
|
</div>
|
675
849
|
|
676
850
|
</li>
|
@@ -705,12 +879,12 @@
|
|
705
879
|
<pre class="lines">
|
706
880
|
|
707
881
|
|
708
|
-
|
709
|
-
|
710
|
-
|
882
|
+
28
|
883
|
+
29
|
884
|
+
30</pre>
|
711
885
|
</td>
|
712
886
|
<td>
|
713
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line
|
887
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line 28</span>
|
714
888
|
|
715
889
|
<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>
|
716
890
|
<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>
|
@@ -824,12 +998,12 @@
|
|
824
998
|
<pre class="lines">
|
825
999
|
|
826
1000
|
|
827
|
-
|
828
|
-
|
829
|
-
|
1001
|
+
37
|
1002
|
+
38
|
1003
|
+
39</pre>
|
830
1004
|
</td>
|
831
1005
|
<td>
|
832
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line
|
1006
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line 37</span>
|
833
1007
|
|
834
1008
|
<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>
|
835
1009
|
<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>
|
@@ -959,12 +1133,12 @@
|
|
959
1133
|
<pre class="lines">
|
960
1134
|
|
961
1135
|
|
962
|
-
|
963
|
-
|
964
|
-
|
1136
|
+
60
|
1137
|
+
61
|
1138
|
+
62</pre>
|
965
1139
|
</td>
|
966
1140
|
<td>
|
967
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line
|
1141
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/environment.rb', line 60</span>
|
968
1142
|
|
969
1143
|
<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>
|
970
1144
|
<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>
|
@@ -979,7 +1153,7 @@
|
|
979
1153
|
</div>
|
980
1154
|
|
981
1155
|
<div id="footer">
|
982
|
-
Generated on Mon
|
1156
|
+
Generated on Mon Oct 21 11:10:45 2013 by
|
983
1157
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
984
1158
|
0.8.7 (ruby-2.0.0).
|
985
1159
|
</div>
|