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.
Files changed (55) hide show
  1. data/README.rdoc +35 -18
  2. data/doc/ForemanApi/Resources/Architecture.html +93 -136
  3. data/doc/ForemanApi/Resources/Audit.html +42 -60
  4. data/doc/ForemanApi/Resources/AuthSourceLdap.html +129 -190
  5. data/doc/ForemanApi/Resources/Bookmark.html +97 -142
  6. data/doc/ForemanApi/Resources/CommonParameter.html +93 -136
  7. data/doc/ForemanApi/Resources/ComputeResource.html +131 -190
  8. data/doc/ForemanApi/Resources/ConfigTemplate.html +145 -211
  9. data/doc/ForemanApi/Resources/Dashboard.html +21 -29
  10. data/doc/ForemanApi/Resources/Domain.html +103 -151
  11. data/doc/ForemanApi/Resources/Environment.html +89 -130
  12. data/doc/ForemanApi/Resources/FactValue.html +29 -41
  13. data/doc/ForemanApi/Resources/Home.html +32 -45
  14. data/doc/ForemanApi/Resources/Host.html +317 -251
  15. data/doc/ForemanApi/Resources/HostClass.html +55 -79
  16. data/doc/ForemanApi/Resources/Hostgroup.html +125 -184
  17. data/doc/ForemanApi/Resources/HostgroupClass.html +57 -82
  18. data/doc/ForemanApi/Resources/Image.html +109 -160
  19. data/doc/ForemanApi/Resources/Location.html +937 -0
  20. data/doc/ForemanApi/Resources/LookupKey.html +111 -163
  21. data/doc/ForemanApi/Resources/Medium.html +113 -154
  22. data/doc/ForemanApi/Resources/Model.html +101 -148
  23. data/doc/ForemanApi/Resources/OperatingSystem.html +118 -173
  24. data/doc/ForemanApi/Resources/Organization.html +937 -0
  25. data/doc/ForemanApi/Resources/Parameter.html +158 -233
  26. data/doc/ForemanApi/Resources/Ptable.html +97 -142
  27. data/doc/ForemanApi/Resources/Puppetclass.html +95 -139
  28. data/doc/ForemanApi/Resources/Report.html +68 -98
  29. data/doc/ForemanApi/Resources/Role.html +85 -124
  30. data/doc/ForemanApi/Resources/Setting.html +58 -84
  31. data/doc/ForemanApi/Resources/SmartProxy.html +91 -133
  32. data/doc/ForemanApi/Resources/Subnet.html +141 -208
  33. data/doc/ForemanApi/Resources/TemplateCombination.html +65 -94
  34. data/doc/ForemanApi/Resources/TemplateKind.html +23 -32
  35. data/doc/ForemanApi/Resources/User.html +111 -163
  36. data/doc/ForemanApi/Resources/Usergroup.html +89 -130
  37. data/doc/ForemanApi/Resources.html +6 -6
  38. data/doc/ForemanApi.html +5 -5
  39. data/doc/_index.html +18 -4
  40. data/doc/class_list.html +1 -1
  41. data/doc/css/style.css +0 -10
  42. data/doc/file.MIT-LICENSE.html +24 -29
  43. data/doc/file.README.html +81 -60
  44. data/doc/frames.html +1 -1
  45. data/doc/index.html +81 -60
  46. data/doc/method_list.html +416 -312
  47. data/doc/top-level-namespace.html +3 -3
  48. data/lib/foreman_api/base.rb +16 -8
  49. data/lib/foreman_api/documentation.json +1 -1
  50. data/lib/foreman_api/resources/host.rb +9 -0
  51. data/lib/foreman_api/resources/location.rb +59 -0
  52. data/lib/foreman_api/resources/medium.rb +2 -2
  53. data/lib/foreman_api/resources/organization.rb +59 -0
  54. data/lib/foreman_api/version.rb +1 -1
  55. metadata +7 -3
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: ForemanApi::Resources::Model
8
8
 
9
- &mdash; Documentation by YARD 0.8.5.2
9
+ &mdash; 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'><p>
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'><p>
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'><p>
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'><p>
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'><p>
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/model.rb', line 4</span>
306
301
 
307
- <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>
308
- <span class='rubyid_@doc ivar id'>@doc</span> <span class='opasgn op'>||=</span> <span class='rubyid_ForemanApi constant id'>ForemanApi</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;models&quot;</span><span class='rbrack token'>]</span>
309
- <span class='rubyid_end end kw'>end</span>
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'>&quot;</span><span class='tstring_content'>models</span><span class='tstring_end'>&quot;</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
- <p>
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
  &mdash;
356
- <div class='inline'><p>
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
  &mdash;
375
- <div class='inline'><p>
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,23 +385,17 @@ additional http headers
394
385
 
395
386
  </span>
396
387
 
397
- &mdash; <div class='inline'><p>
398
- allowed keys are:
399
- </p>
400
- <ul>
401
- <li>hardware_model [String]
402
-
403
- </li>
404
- <li>info [String]
405
-
406
- </li>
407
- <li>name [String]
408
-
409
- </li>
410
- <li>vendor_class [String]
411
-
412
- </li>
413
- </ul>
388
+ &mdash; <div class='inline'>
389
+ <p>allowed keys are:</p>
390
+ <ul><li>
391
+ <p>hardware_model [String]</p>
392
+ </li><li>
393
+ <p>info [String]</p>
394
+ </li><li>
395
+ <p>name [String]</p>
396
+ </li><li>
397
+ <p>vendor_class [String]</p>
398
+ </li></ul>
414
399
  </div>
415
400
 
416
401
  </li>
@@ -431,9 +416,8 @@ allowed keys are:
431
416
 
432
417
 
433
418
  &mdash;
434
- <div class='inline'><p>
435
- First item: parsed data; second item: raw body
436
- </p>
419
+ <div class='inline'>
420
+ <p>First item: parsed data; second item: raw body</p>
437
421
  </div>
438
422
 
439
423
  </li>
@@ -453,10 +437,9 @@ First item: parsed data; second item: raw body
453
437
  <td>
454
438
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/model.rb', line 39</span>
455
439
 
456
- <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>
457
- <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>
458
- <span class='rubyid_end end kw'>end</span>
459
- </pre>
440
+ <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>
441
+ <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>
442
+ <span class='kw'>end</span></pre>
460
443
  </td>
461
444
  </tr>
462
445
  </table>
@@ -473,9 +456,8 @@ First item: parsed data; second item: raw body
473
456
 
474
457
  </h3><div class="docstring">
475
458
  <div class="discussion">
476
- <p>
477
- First item: parsed data; second item: raw body
478
- </p>
459
+
460
+ <p>First item: parsed data; second item: raw body</p>
479
461
 
480
462
 
481
463
  </div>
@@ -496,9 +478,8 @@ First item: parsed data; second item: raw body
496
478
 
497
479
 
498
480
  &mdash;
499
- <div class='inline'><p>
500
- a hash of params to be passed to the service
501
- </p>
481
+ <div class='inline'>
482
+ <p>a hash of params to be passed to the service</p>
502
483
  </div>
503
484
 
504
485
  </li>
@@ -515,9 +496,8 @@ a hash of params to be passed to the service
515
496
 
516
497
 
517
498
  &mdash;
518
- <div class='inline'><p>
519
- additional http headers
520
- </p>
499
+ <div class='inline'>
500
+ <p>additional http headers</p>
521
501
  </div>
522
502
 
523
503
  </li>
@@ -555,9 +535,8 @@ additional http headers
555
535
 
556
536
 
557
537
  &mdash;
558
- <div class='inline'><p>
559
- First item: parsed data; second item: raw body
560
- </p>
538
+ <div class='inline'>
539
+ <p>First item: parsed data; second item: raw body</p>
561
540
  </div>
562
541
 
563
542
  </li>
@@ -577,10 +556,9 @@ First item: parsed data; second item: raw body
577
556
  <td>
578
557
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/model.rb', line 63</span>
579
558
 
580
- <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>
581
- <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>
582
- <span class='rubyid_end end kw'>end</span>
583
- </pre>
559
+ <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>
560
+ <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>
561
+ <span class='kw'>end</span></pre>
584
562
  </td>
585
563
  </tr>
586
564
  </table>
@@ -597,9 +575,8 @@ First item: parsed data; second item: raw body
597
575
 
598
576
  </h3><div class="docstring">
599
577
  <div class="discussion">
600
- <p>
601
- First item: parsed data; second item: raw body
602
- </p>
578
+
579
+ <p>First item: parsed data; second item: raw body</p>
603
580
 
604
581
 
605
582
  </div>
@@ -620,9 +597,8 @@ First item: parsed data; second item: raw body
620
597
 
621
598
 
622
599
  &mdash;
623
- <div class='inline'><p>
624
- a hash of params to be passed to the service
625
- </p>
600
+ <div class='inline'>
601
+ <p>a hash of params to be passed to the service</p>
626
602
  </div>
627
603
 
628
604
  </li>
@@ -639,9 +615,8 @@ a hash of params to be passed to the service
639
615
 
640
616
 
641
617
  &mdash;
642
- <div class='inline'><p>
643
- additional http headers
644
- </p>
618
+ <div class='inline'>
619
+ <p>additional http headers</p>
645
620
  </div>
646
621
 
647
622
  </li>
@@ -661,9 +636,8 @@ additional http headers
661
636
 
662
637
  </span>
663
638
 
664
- &mdash; <div class='inline'><p>
665
- Sort results
666
- </p>
639
+ &mdash; <div class='inline'>
640
+ <p>Sort results</p>
667
641
  </div>
668
642
 
669
643
  </li>
@@ -675,9 +649,8 @@ Sort results
675
649
 
676
650
  </span>
677
651
 
678
- &mdash; <div class='inline'><p>
679
- Paginate results
680
- </p>
652
+ &mdash; <div class='inline'>
653
+ <p>Paginate results</p>
681
654
  </div>
682
655
 
683
656
  </li>
@@ -689,9 +662,8 @@ Paginate results
689
662
 
690
663
  </span>
691
664
 
692
- &mdash; <div class='inline'><p>
693
- Number of entries per request
694
- </p>
665
+ &mdash; <div class='inline'>
666
+ <p>Number of entries per request</p>
695
667
  </div>
696
668
 
697
669
  </li>
@@ -703,9 +675,8 @@ Number of entries per request
703
675
 
704
676
  </span>
705
677
 
706
- &mdash; <div class='inline'><p>
707
- Filter results
708
- </p>
678
+ &mdash; <div class='inline'>
679
+ <p>Filter results</p>
709
680
  </div>
710
681
 
711
682
  </li>
@@ -726,9 +697,8 @@ Filter results
726
697
 
727
698
 
728
699
  &mdash;
729
- <div class='inline'><p>
730
- First item: parsed data; second item: raw body
731
- </p>
700
+ <div class='inline'>
701
+ <p>First item: parsed data; second item: raw body</p>
732
702
  </div>
733
703
 
734
704
  </li>
@@ -748,10 +718,9 @@ First item: parsed data; second item: raw body
748
718
  <td>
749
719
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/model.rb', line 16</span>
750
720
 
751
- <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>
752
- <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>
753
- <span class='rubyid_end end kw'>end</span>
754
- </pre>
721
+ <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>
722
+ <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>
723
+ <span class='kw'>end</span></pre>
755
724
  </td>
756
725
  </tr>
757
726
  </table>
@@ -768,9 +737,8 @@ First item: parsed data; second item: raw body
768
737
 
769
738
  </h3><div class="docstring">
770
739
  <div class="discussion">
771
- <p>
772
- First item: parsed data; second item: raw body
773
- </p>
740
+
741
+ <p>First item: parsed data; second item: raw body</p>
774
742
 
775
743
 
776
744
  </div>
@@ -791,9 +759,8 @@ First item: parsed data; second item: raw body
791
759
 
792
760
 
793
761
  &mdash;
794
- <div class='inline'><p>
795
- a hash of params to be passed to the service
796
- </p>
762
+ <div class='inline'>
763
+ <p>a hash of params to be passed to the service</p>
797
764
  </div>
798
765
 
799
766
  </li>
@@ -810,9 +777,8 @@ a hash of params to be passed to the service
810
777
 
811
778
 
812
779
  &mdash;
813
- <div class='inline'><p>
814
- additional http headers
815
- </p>
780
+ <div class='inline'>
781
+ <p>additional http headers</p>
816
782
  </div>
817
783
 
818
784
  </li>
@@ -850,9 +816,8 @@ additional http headers
850
816
 
851
817
 
852
818
  &mdash;
853
- <div class='inline'><p>
854
- First item: parsed data; second item: raw body
855
- </p>
819
+ <div class='inline'>
820
+ <p>First item: parsed data; second item: raw body</p>
856
821
  </div>
857
822
 
858
823
  </li>
@@ -872,10 +837,9 @@ First item: parsed data; second item: raw body
872
837
  <td>
873
838
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/model.rb', line 25</span>
874
839
 
875
- <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>
876
- <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>
877
- <span class='rubyid_end end kw'>end</span>
878
- </pre>
840
+ <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>
841
+ <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>
842
+ <span class='kw'>end</span></pre>
879
843
  </td>
880
844
  </tr>
881
845
  </table>
@@ -892,9 +856,8 @@ First item: parsed data; second item: raw body
892
856
 
893
857
  </h3><div class="docstring">
894
858
  <div class="discussion">
895
- <p>
896
- First item: parsed data; second item: raw body
897
- </p>
859
+
860
+ <p>First item: parsed data; second item: raw body</p>
898
861
 
899
862
 
900
863
  </div>
@@ -915,9 +878,8 @@ First item: parsed data; second item: raw body
915
878
 
916
879
 
917
880
  &mdash;
918
- <div class='inline'><p>
919
- a hash of params to be passed to the service
920
- </p>
881
+ <div class='inline'>
882
+ <p>a hash of params to be passed to the service</p>
921
883
  </div>
922
884
 
923
885
  </li>
@@ -934,9 +896,8 @@ a hash of params to be passed to the service
934
896
 
935
897
 
936
898
  &mdash;
937
- <div class='inline'><p>
938
- additional http headers
939
- </p>
899
+ <div class='inline'>
900
+ <p>additional http headers</p>
940
901
  </div>
941
902
 
942
903
  </li>
@@ -965,23 +926,17 @@ additional http headers
965
926
 
966
927
  </span>
967
928
 
968
- &mdash; <div class='inline'><p>
969
- allowed keys are:
970
- </p>
971
- <ul>
972
- <li>hardware_model [String]
973
-
974
- </li>
975
- <li>info [String]
976
-
977
- </li>
978
- <li>name [String]
979
-
980
- </li>
981
- <li>vendor_class [String]
982
-
983
- </li>
984
- </ul>
929
+ &mdash; <div class='inline'>
930
+ <p>allowed keys are:</p>
931
+ <ul><li>
932
+ <p>hardware_model [String]</p>
933
+ </li><li>
934
+ <p>info [String]</p>
935
+ </li><li>
936
+ <p>name [String]</p>
937
+ </li><li>
938
+ <p>vendor_class [String]</p>
939
+ </li></ul>
985
940
  </div>
986
941
 
987
942
  </li>
@@ -1002,9 +957,8 @@ allowed keys are:
1002
957
 
1003
958
 
1004
959
  &mdash;
1005
- <div class='inline'><p>
1006
- First item: parsed data; second item: raw body
1007
- </p>
960
+ <div class='inline'>
961
+ <p>First item: parsed data; second item: raw body</p>
1008
962
  </div>
1009
963
 
1010
964
  </li>
@@ -1024,10 +978,9 @@ First item: parsed data; second item: raw body
1024
978
  <td>
1025
979
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/model.rb', line 54</span>
1026
980
 
1027
- <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>
1028
- <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>
1029
- <span class='rubyid_end end kw'>end</span>
1030
- </pre>
981
+ <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>
982
+ <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>
983
+ <span class='kw'>end</span></pre>
1031
984
  </td>
1032
985
  </tr>
1033
986
  </table>
@@ -1038,9 +991,9 @@ First item: parsed data; second item: raw body
1038
991
  </div>
1039
992
 
1040
993
  <div id="footer">
1041
- Generated on Tue Mar 19 09:50:24 2013 by
994
+ Generated on Thu Jun 20 12:05:20 2013 by
1042
995
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1043
- 0.8.5.2 (ruby-1.8.7).
996
+ 0.8.3 (ruby-1.9.3).
1044
997
  </div>
1045
998
 
1046
999
  </body>