foreman_api 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +35 -18
- data/doc/ForemanApi/Resources/Architecture.html +93 -136
- data/doc/ForemanApi/Resources/Audit.html +42 -60
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +129 -190
- data/doc/ForemanApi/Resources/Bookmark.html +97 -142
- data/doc/ForemanApi/Resources/CommonParameter.html +93 -136
- data/doc/ForemanApi/Resources/ComputeResource.html +131 -190
- data/doc/ForemanApi/Resources/ConfigTemplate.html +145 -211
- data/doc/ForemanApi/Resources/Dashboard.html +21 -29
- data/doc/ForemanApi/Resources/Domain.html +103 -151
- data/doc/ForemanApi/Resources/Environment.html +89 -130
- data/doc/ForemanApi/Resources/FactValue.html +29 -41
- data/doc/ForemanApi/Resources/Home.html +32 -45
- data/doc/ForemanApi/Resources/Host.html +317 -251
- data/doc/ForemanApi/Resources/HostClass.html +55 -79
- data/doc/ForemanApi/Resources/Hostgroup.html +125 -184
- data/doc/ForemanApi/Resources/HostgroupClass.html +57 -82
- data/doc/ForemanApi/Resources/Image.html +109 -160
- data/doc/ForemanApi/Resources/Location.html +937 -0
- data/doc/ForemanApi/Resources/LookupKey.html +111 -163
- data/doc/ForemanApi/Resources/Medium.html +113 -154
- data/doc/ForemanApi/Resources/Model.html +101 -148
- data/doc/ForemanApi/Resources/OperatingSystem.html +118 -173
- data/doc/ForemanApi/Resources/Organization.html +937 -0
- data/doc/ForemanApi/Resources/Parameter.html +158 -233
- data/doc/ForemanApi/Resources/Ptable.html +97 -142
- data/doc/ForemanApi/Resources/Puppetclass.html +95 -139
- data/doc/ForemanApi/Resources/Report.html +68 -98
- data/doc/ForemanApi/Resources/Role.html +85 -124
- data/doc/ForemanApi/Resources/Setting.html +58 -84
- data/doc/ForemanApi/Resources/SmartProxy.html +91 -133
- data/doc/ForemanApi/Resources/Subnet.html +141 -208
- data/doc/ForemanApi/Resources/TemplateCombination.html +65 -94
- data/doc/ForemanApi/Resources/TemplateKind.html +23 -32
- data/doc/ForemanApi/Resources/User.html +111 -163
- data/doc/ForemanApi/Resources/Usergroup.html +89 -130
- data/doc/ForemanApi/Resources.html +6 -6
- data/doc/ForemanApi.html +5 -5
- data/doc/_index.html +18 -4
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +0 -10
- data/doc/file.MIT-LICENSE.html +24 -29
- data/doc/file.README.html +81 -60
- data/doc/frames.html +1 -1
- data/doc/index.html +81 -60
- data/doc/method_list.html +416 -312
- data/doc/top-level-namespace.html +3 -3
- data/lib/foreman_api/base.rb +16 -8
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/host.rb +9 -0
- data/lib/foreman_api/resources/location.rb +59 -0
- data/lib/foreman_api/resources/medium.rb +2 -2
- data/lib/foreman_api/resources/organization.rb +59 -0
- data/lib/foreman_api/version.rb +1 -1
- metadata +7 -3
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ForemanApi::Resources::User
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -164,9 +164,8 @@
|
|
164
164
|
|
165
165
|
|
166
166
|
|
167
|
-
<span class="summary_desc"><div class='inline'
|
168
|
-
First item: parsed data; second item: raw body
|
169
|
-
</p>
|
167
|
+
<span class="summary_desc"><div class='inline'>
|
168
|
+
<p>First item: parsed data; second item: raw body.</p>
|
170
169
|
</div></span>
|
171
170
|
|
172
171
|
</li>
|
@@ -189,9 +188,8 @@ First item: parsed data; second item: raw body.
|
|
189
188
|
|
190
189
|
|
191
190
|
|
192
|
-
<span class="summary_desc"><div class='inline'
|
193
|
-
First item: parsed data; second item: raw body
|
194
|
-
</p>
|
191
|
+
<span class="summary_desc"><div class='inline'>
|
192
|
+
<p>First item: parsed data; second item: raw body.</p>
|
195
193
|
</div></span>
|
196
194
|
|
197
195
|
</li>
|
@@ -214,9 +212,8 @@ First item: parsed data; second item: raw body.
|
|
214
212
|
|
215
213
|
|
216
214
|
|
217
|
-
<span class="summary_desc"><div class='inline'
|
218
|
-
First item: parsed data; second item: raw body
|
219
|
-
</p>
|
215
|
+
<span class="summary_desc"><div class='inline'>
|
216
|
+
<p>First item: parsed data; second item: raw body.</p>
|
220
217
|
</div></span>
|
221
218
|
|
222
219
|
</li>
|
@@ -239,9 +236,8 @@ First item: parsed data; second item: raw body.
|
|
239
236
|
|
240
237
|
|
241
238
|
|
242
|
-
<span class="summary_desc"><div class='inline'
|
243
|
-
First item: parsed data; second item: raw body
|
244
|
-
</p>
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
240
|
+
<p>First item: parsed data; second item: raw body.</p>
|
245
241
|
</div></span>
|
246
242
|
|
247
243
|
</li>
|
@@ -264,9 +260,8 @@ First item: parsed data; second item: raw body.
|
|
264
260
|
|
265
261
|
|
266
262
|
|
267
|
-
<span class="summary_desc"><div class='inline'
|
268
|
-
First item: parsed data; second item: raw body
|
269
|
-
</p>
|
263
|
+
<span class="summary_desc"><div class='inline'>
|
264
|
+
<p>First item: parsed data; second item: raw body.</p>
|
270
265
|
</div></span>
|
271
266
|
|
272
267
|
</li>
|
@@ -304,10 +299,9 @@ First item: parsed data; second item: raw body.
|
|
304
299
|
<td>
|
305
300
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line 4</span>
|
306
301
|
|
307
|
-
<span class='
|
308
|
-
<span class='
|
309
|
-
<span class='
|
310
|
-
</pre>
|
302
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
|
303
|
+
<span class='ivar'>@doc</span> <span class='op'>||=</span> <span class='const'>ForemanApi</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>resources</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>users</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
304
|
+
<span class='kw'>end</span></pre>
|
311
305
|
</td>
|
312
306
|
</tr>
|
313
307
|
</table>
|
@@ -330,9 +324,8 @@ First item: parsed data; second item: raw body.
|
|
330
324
|
|
331
325
|
</h3><div class="docstring">
|
332
326
|
<div class="discussion">
|
333
|
-
|
334
|
-
First item: parsed data; second item: raw body
|
335
|
-
</p>
|
327
|
+
|
328
|
+
<p>First item: parsed data; second item: raw body</p>
|
336
329
|
|
337
330
|
|
338
331
|
</div>
|
@@ -353,9 +346,8 @@ First item: parsed data; second item: raw body
|
|
353
346
|
|
354
347
|
|
355
348
|
—
|
356
|
-
<div class='inline'
|
357
|
-
a hash of params to be passed to the service
|
358
|
-
</p>
|
349
|
+
<div class='inline'>
|
350
|
+
<p>a hash of params to be passed to the service</p>
|
359
351
|
</div>
|
360
352
|
|
361
353
|
</li>
|
@@ -372,9 +364,8 @@ a hash of params to be passed to the service
|
|
372
364
|
|
373
365
|
|
374
366
|
—
|
375
|
-
<div class='inline'
|
376
|
-
additional http headers
|
377
|
-
</p>
|
367
|
+
<div class='inline'>
|
368
|
+
<p>additional http headers</p>
|
378
369
|
</div>
|
379
370
|
|
380
371
|
</li>
|
@@ -394,32 +385,23 @@ additional http headers
|
|
394
385
|
|
395
386
|
</span>
|
396
387
|
|
397
|
-
— <div class='inline'
|
398
|
-
allowed keys are
|
399
|
-
|
400
|
-
<
|
401
|
-
|
402
|
-
|
403
|
-
</li>
|
404
|
-
<
|
405
|
-
|
406
|
-
</
|
407
|
-
|
408
|
-
|
409
|
-
</li>
|
410
|
-
<
|
411
|
-
|
412
|
-
</
|
413
|
-
|
414
|
-
|
415
|
-
</li>
|
416
|
-
<li>mail [String]
|
417
|
-
|
418
|
-
</li>
|
419
|
-
<li>password [String]
|
420
|
-
|
421
|
-
</li>
|
422
|
-
</ul>
|
388
|
+
— <div class='inline'>
|
389
|
+
<p>allowed keys are:</p>
|
390
|
+
<ul><li>
|
391
|
+
<p>auth_source_id [Numeric]</p>
|
392
|
+
</li><li>
|
393
|
+
<p>admin [String] Is an admin account?</p>
|
394
|
+
</li><li>
|
395
|
+
<p>firstname [String]</p>
|
396
|
+
</li><li>
|
397
|
+
<p>lastname [String]</p>
|
398
|
+
</li><li>
|
399
|
+
<p>login [String]</p>
|
400
|
+
</li><li>
|
401
|
+
<p>mail [String]</p>
|
402
|
+
</li><li>
|
403
|
+
<p>password [String]</p>
|
404
|
+
</li></ul>
|
423
405
|
</div>
|
424
406
|
|
425
407
|
</li>
|
@@ -440,9 +422,8 @@ allowed keys are:
|
|
440
422
|
|
441
423
|
|
442
424
|
—
|
443
|
-
<div class='inline'
|
444
|
-
First item: parsed data; second item: raw body
|
445
|
-
</p>
|
425
|
+
<div class='inline'>
|
426
|
+
<p>First item: parsed data; second item: raw body</p>
|
446
427
|
</div>
|
447
428
|
|
448
429
|
</li>
|
@@ -462,10 +443,9 @@ First item: parsed data; second item: raw body
|
|
462
443
|
<td>
|
463
444
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line 42</span>
|
464
445
|
|
465
|
-
<span class='
|
466
|
-
<span class='
|
467
|
-
<span class='
|
468
|
-
</pre>
|
446
|
+
<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>
|
447
|
+
<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>
|
448
|
+
<span class='kw'>end</span></pre>
|
469
449
|
</td>
|
470
450
|
</tr>
|
471
451
|
</table>
|
@@ -482,9 +462,8 @@ First item: parsed data; second item: raw body
|
|
482
462
|
|
483
463
|
</h3><div class="docstring">
|
484
464
|
<div class="discussion">
|
485
|
-
|
486
|
-
First item: parsed data; second item: raw body
|
487
|
-
</p>
|
465
|
+
|
466
|
+
<p>First item: parsed data; second item: raw body</p>
|
488
467
|
|
489
468
|
|
490
469
|
</div>
|
@@ -505,9 +484,8 @@ First item: parsed data; second item: raw body
|
|
505
484
|
|
506
485
|
|
507
486
|
—
|
508
|
-
<div class='inline'
|
509
|
-
a hash of params to be passed to the service
|
510
|
-
</p>
|
487
|
+
<div class='inline'>
|
488
|
+
<p>a hash of params to be passed to the service</p>
|
511
489
|
</div>
|
512
490
|
|
513
491
|
</li>
|
@@ -524,9 +502,8 @@ a hash of params to be passed to the service
|
|
524
502
|
|
525
503
|
|
526
504
|
—
|
527
|
-
<div class='inline'
|
528
|
-
additional http headers
|
529
|
-
</p>
|
505
|
+
<div class='inline'>
|
506
|
+
<p>additional http headers</p>
|
530
507
|
</div>
|
531
508
|
|
532
509
|
</li>
|
@@ -564,9 +541,8 @@ additional http headers
|
|
564
541
|
|
565
542
|
|
566
543
|
—
|
567
|
-
<div class='inline'
|
568
|
-
First item: parsed data; second item: raw body
|
569
|
-
</p>
|
544
|
+
<div class='inline'>
|
545
|
+
<p>First item: parsed data; second item: raw body</p>
|
570
546
|
</div>
|
571
547
|
|
572
548
|
</li>
|
@@ -586,10 +562,9 @@ First item: parsed data; second item: raw body
|
|
586
562
|
<td>
|
587
563
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line 68</span>
|
588
564
|
|
589
|
-
<span class='
|
590
|
-
<span class='
|
591
|
-
<span class='
|
592
|
-
</pre>
|
565
|
+
<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>
|
566
|
+
<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>
|
567
|
+
<span class='kw'>end</span></pre>
|
593
568
|
</td>
|
594
569
|
</tr>
|
595
570
|
</table>
|
@@ -606,9 +581,8 @@ First item: parsed data; second item: raw body
|
|
606
581
|
|
607
582
|
</h3><div class="docstring">
|
608
583
|
<div class="discussion">
|
609
|
-
|
610
|
-
First item: parsed data; second item: raw body
|
611
|
-
</p>
|
584
|
+
|
585
|
+
<p>First item: parsed data; second item: raw body</p>
|
612
586
|
|
613
587
|
|
614
588
|
</div>
|
@@ -629,9 +603,8 @@ First item: parsed data; second item: raw body
|
|
629
603
|
|
630
604
|
|
631
605
|
—
|
632
|
-
<div class='inline'
|
633
|
-
a hash of params to be passed to the service
|
634
|
-
</p>
|
606
|
+
<div class='inline'>
|
607
|
+
<p>a hash of params to be passed to the service</p>
|
635
608
|
</div>
|
636
609
|
|
637
610
|
</li>
|
@@ -648,9 +621,8 @@ a hash of params to be passed to the service
|
|
648
621
|
|
649
622
|
|
650
623
|
—
|
651
|
-
<div class='inline'
|
652
|
-
additional http headers
|
653
|
-
</p>
|
624
|
+
<div class='inline'>
|
625
|
+
<p>additional http headers</p>
|
654
626
|
</div>
|
655
627
|
|
656
628
|
</li>
|
@@ -670,9 +642,8 @@ additional http headers
|
|
670
642
|
|
671
643
|
</span>
|
672
644
|
|
673
|
-
— <div class='inline'
|
674
|
-
Sort results
|
675
|
-
</p>
|
645
|
+
— <div class='inline'>
|
646
|
+
<p>Sort results</p>
|
676
647
|
</div>
|
677
648
|
|
678
649
|
</li>
|
@@ -684,9 +655,8 @@ Sort results
|
|
684
655
|
|
685
656
|
</span>
|
686
657
|
|
687
|
-
— <div class='inline'
|
688
|
-
Paginate results
|
689
|
-
</p>
|
658
|
+
— <div class='inline'>
|
659
|
+
<p>Paginate results</p>
|
690
660
|
</div>
|
691
661
|
|
692
662
|
</li>
|
@@ -698,9 +668,8 @@ Paginate results
|
|
698
668
|
|
699
669
|
</span>
|
700
670
|
|
701
|
-
— <div class='inline'
|
702
|
-
Number of entries per request
|
703
|
-
</p>
|
671
|
+
— <div class='inline'>
|
672
|
+
<p>Number of entries per request</p>
|
704
673
|
</div>
|
705
674
|
|
706
675
|
</li>
|
@@ -712,9 +681,8 @@ Number of entries per request
|
|
712
681
|
|
713
682
|
</span>
|
714
683
|
|
715
|
-
— <div class='inline'
|
716
|
-
Filter results
|
717
|
-
</p>
|
684
|
+
— <div class='inline'>
|
685
|
+
<p>Filter results</p>
|
718
686
|
</div>
|
719
687
|
|
720
688
|
</li>
|
@@ -735,9 +703,8 @@ Filter results
|
|
735
703
|
|
736
704
|
|
737
705
|
—
|
738
|
-
<div class='inline'
|
739
|
-
First item: parsed data; second item: raw body
|
740
|
-
</p>
|
706
|
+
<div class='inline'>
|
707
|
+
<p>First item: parsed data; second item: raw body</p>
|
741
708
|
</div>
|
742
709
|
|
743
710
|
</li>
|
@@ -757,10 +724,9 @@ First item: parsed data; second item: raw body
|
|
757
724
|
<td>
|
758
725
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line 16</span>
|
759
726
|
|
760
|
-
<span class='
|
761
|
-
<span class='
|
762
|
-
<span class='
|
763
|
-
</pre>
|
727
|
+
<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>
|
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>
|
764
730
|
</td>
|
765
731
|
</tr>
|
766
732
|
</table>
|
@@ -777,9 +743,8 @@ First item: parsed data; second item: raw body
|
|
777
743
|
|
778
744
|
</h3><div class="docstring">
|
779
745
|
<div class="discussion">
|
780
|
-
|
781
|
-
First item: parsed data; second item: raw body
|
782
|
-
</p>
|
746
|
+
|
747
|
+
<p>First item: parsed data; second item: raw body</p>
|
783
748
|
|
784
749
|
|
785
750
|
</div>
|
@@ -800,9 +765,8 @@ First item: parsed data; second item: raw body
|
|
800
765
|
|
801
766
|
|
802
767
|
—
|
803
|
-
<div class='inline'
|
804
|
-
a hash of params to be passed to the service
|
805
|
-
</p>
|
768
|
+
<div class='inline'>
|
769
|
+
<p>a hash of params to be passed to the service</p>
|
806
770
|
</div>
|
807
771
|
|
808
772
|
</li>
|
@@ -819,9 +783,8 @@ a hash of params to be passed to the service
|
|
819
783
|
|
820
784
|
|
821
785
|
—
|
822
|
-
<div class='inline'
|
823
|
-
additional http headers
|
824
|
-
</p>
|
786
|
+
<div class='inline'>
|
787
|
+
<p>additional http headers</p>
|
825
788
|
</div>
|
826
789
|
|
827
790
|
</li>
|
@@ -859,9 +822,8 @@ additional http headers
|
|
859
822
|
|
860
823
|
|
861
824
|
—
|
862
|
-
<div class='inline'
|
863
|
-
First item: parsed data; second item: raw body
|
864
|
-
</p>
|
825
|
+
<div class='inline'>
|
826
|
+
<p>First item: parsed data; second item: raw body</p>
|
865
827
|
</div>
|
866
828
|
|
867
829
|
</li>
|
@@ -881,10 +843,9 @@ First item: parsed data; second item: raw body
|
|
881
843
|
<td>
|
882
844
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line 25</span>
|
883
845
|
|
884
|
-
<span class='
|
885
|
-
<span class='
|
886
|
-
<span class='
|
887
|
-
</pre>
|
846
|
+
<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>
|
847
|
+
<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>
|
848
|
+
<span class='kw'>end</span></pre>
|
888
849
|
</td>
|
889
850
|
</tr>
|
890
851
|
</table>
|
@@ -901,9 +862,8 @@ First item: parsed data; second item: raw body
|
|
901
862
|
|
902
863
|
</h3><div class="docstring">
|
903
864
|
<div class="discussion">
|
904
|
-
|
905
|
-
First item: parsed data; second item: raw body
|
906
|
-
</p>
|
865
|
+
|
866
|
+
<p>First item: parsed data; second item: raw body</p>
|
907
867
|
|
908
868
|
|
909
869
|
</div>
|
@@ -924,9 +884,8 @@ First item: parsed data; second item: raw body
|
|
924
884
|
|
925
885
|
|
926
886
|
—
|
927
|
-
<div class='inline'
|
928
|
-
a hash of params to be passed to the service
|
929
|
-
</p>
|
887
|
+
<div class='inline'>
|
888
|
+
<p>a hash of params to be passed to the service</p>
|
930
889
|
</div>
|
931
890
|
|
932
891
|
</li>
|
@@ -943,9 +902,8 @@ a hash of params to be passed to the service
|
|
943
902
|
|
944
903
|
|
945
904
|
—
|
946
|
-
<div class='inline'
|
947
|
-
additional http headers
|
948
|
-
</p>
|
905
|
+
<div class='inline'>
|
906
|
+
<p>additional http headers</p>
|
949
907
|
</div>
|
950
908
|
|
951
909
|
</li>
|
@@ -974,29 +932,21 @@ additional http headers
|
|
974
932
|
|
975
933
|
</span>
|
976
934
|
|
977
|
-
— <div class='inline'
|
978
|
-
allowed keys are
|
979
|
-
|
980
|
-
<
|
981
|
-
|
982
|
-
|
983
|
-
</li>
|
984
|
-
<
|
985
|
-
|
986
|
-
</
|
987
|
-
|
988
|
-
|
989
|
-
</li>
|
990
|
-
<
|
991
|
-
|
992
|
-
</li>
|
993
|
-
<li>mail [String]
|
994
|
-
|
995
|
-
</li>
|
996
|
-
<li>password [String]
|
997
|
-
|
998
|
-
</li>
|
999
|
-
</ul>
|
935
|
+
— <div class='inline'>
|
936
|
+
<p>allowed keys are:</p>
|
937
|
+
<ul><li>
|
938
|
+
<p>admin [String] Is an admin account?</p>
|
939
|
+
</li><li>
|
940
|
+
<p>firstname [String, nil]</p>
|
941
|
+
</li><li>
|
942
|
+
<p>lastname [String, nil]</p>
|
943
|
+
</li><li>
|
944
|
+
<p>login [String]</p>
|
945
|
+
</li><li>
|
946
|
+
<p>mail [String]</p>
|
947
|
+
</li><li>
|
948
|
+
<p>password [String]</p>
|
949
|
+
</li></ul>
|
1000
950
|
</div>
|
1001
951
|
|
1002
952
|
</li>
|
@@ -1017,9 +967,8 @@ allowed keys are:
|
|
1017
967
|
|
1018
968
|
|
1019
969
|
—
|
1020
|
-
<div class='inline'
|
1021
|
-
First item: parsed data; second item: raw body
|
1022
|
-
</p>
|
970
|
+
<div class='inline'>
|
971
|
+
<p>First item: parsed data; second item: raw body</p>
|
1023
972
|
</div>
|
1024
973
|
|
1025
974
|
</li>
|
@@ -1039,10 +988,9 @@ First item: parsed data; second item: raw body
|
|
1039
988
|
<td>
|
1040
989
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/user.rb', line 59</span>
|
1041
990
|
|
1042
|
-
<span class='
|
1043
|
-
<span class='
|
1044
|
-
<span class='
|
1045
|
-
</pre>
|
991
|
+
<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>
|
992
|
+
<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>
|
993
|
+
<span class='kw'>end</span></pre>
|
1046
994
|
</td>
|
1047
995
|
</tr>
|
1048
996
|
</table>
|
@@ -1053,9 +1001,9 @@ First item: parsed data; second item: raw body
|
|
1053
1001
|
</div>
|
1054
1002
|
|
1055
1003
|
<div id="footer">
|
1056
|
-
Generated on
|
1004
|
+
Generated on Thu Jun 20 12:05:20 2013 by
|
1057
1005
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1058
|
-
0.8.
|
1006
|
+
0.8.3 (ruby-1.9.3).
|
1059
1007
|
</div>
|
1060
1008
|
|
1061
1009
|
</body>
|