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::FactValue
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>
@@ -204,10 +203,9 @@ First item: parsed data; second item: raw body.
204
203
  <td>
205
204
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/fact_value.rb', line 4</span>
206
205
 
207
- <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>
208
- <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;fact_values&quot;</span><span class='rbrack token'>]</span>
209
- <span class='rubyid_end end kw'>end</span>
210
- </pre>
206
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
207
+ <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'>fact_values</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
208
+ <span class='kw'>end</span></pre>
211
209
  </td>
212
210
  </tr>
213
211
  </table>
@@ -230,9 +228,8 @@ First item: parsed data; second item: raw body.
230
228
 
231
229
  </h3><div class="docstring">
232
230
  <div class="discussion">
233
- <p>
234
- First item: parsed data; second item: raw body
235
- </p>
231
+
232
+ <p>First item: parsed data; second item: raw body</p>
236
233
 
237
234
 
238
235
  </div>
@@ -253,9 +250,8 @@ First item: parsed data; second item: raw body
253
250
 
254
251
 
255
252
  &mdash;
256
- <div class='inline'><p>
257
- a hash of params to be passed to the service
258
- </p>
253
+ <div class='inline'>
254
+ <p>a hash of params to be passed to the service</p>
259
255
  </div>
260
256
 
261
257
  </li>
@@ -272,9 +268,8 @@ a hash of params to be passed to the service
272
268
 
273
269
 
274
270
  &mdash;
275
- <div class='inline'><p>
276
- additional http headers
277
- </p>
271
+ <div class='inline'>
272
+ <p>additional http headers</p>
278
273
  </div>
279
274
 
280
275
  </li>
@@ -294,9 +289,8 @@ additional http headers
294
289
 
295
290
  </span>
296
291
 
297
- &mdash; <div class='inline'><p>
298
- Part of <tt>/api/hosts/:host_id/facts</tt> path
299
- </p>
292
+ &mdash; <div class='inline'>
293
+ <p>Part of <tt>/api/hosts/:host_id/facts</tt> path</p>
300
294
  </div>
301
295
 
302
296
  </li>
@@ -308,9 +302,8 @@ Part of <tt>/api/hosts/:host_id/facts</tt> path
308
302
 
309
303
  </span>
310
304
 
311
- &mdash; <div class='inline'><p>
312
- Sort results
313
- </p>
305
+ &mdash; <div class='inline'>
306
+ <p>Sort results</p>
314
307
  </div>
315
308
 
316
309
  </li>
@@ -322,9 +315,8 @@ Sort results
322
315
 
323
316
  </span>
324
317
 
325
- &mdash; <div class='inline'><p>
326
- Paginate results
327
- </p>
318
+ &mdash; <div class='inline'>
319
+ <p>Paginate results</p>
328
320
  </div>
329
321
 
330
322
  </li>
@@ -336,9 +328,8 @@ Paginate results
336
328
 
337
329
  </span>
338
330
 
339
- &mdash; <div class='inline'><p>
340
- Number of entries per request
341
- </p>
331
+ &mdash; <div class='inline'>
332
+ <p>Number of entries per request</p>
342
333
  </div>
343
334
 
344
335
  </li>
@@ -350,9 +341,8 @@ Number of entries per request
350
341
 
351
342
  </span>
352
343
 
353
- &mdash; <div class='inline'><p>
354
- Filter results
355
- </p>
344
+ &mdash; <div class='inline'>
345
+ <p>Filter results</p>
356
346
  </div>
357
347
 
358
348
  </li>
@@ -373,9 +363,8 @@ Filter results
373
363
 
374
364
 
375
365
  &mdash;
376
- <div class='inline'><p>
377
- First item: parsed data; second item: raw body
378
- </p>
366
+ <div class='inline'>
367
+ <p>First item: parsed data; second item: raw body</p>
379
368
  </div>
380
369
 
381
370
  </li>
@@ -395,10 +384,9 @@ First item: parsed data; second item: raw body
395
384
  <td>
396
385
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/fact_value.rb', line 17</span>
397
386
 
398
- <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>
399
- <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>
400
- <span class='rubyid_end end kw'>end</span>
401
- </pre>
387
+ <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>
388
+ <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>
389
+ <span class='kw'>end</span></pre>
402
390
  </td>
403
391
  </tr>
404
392
  </table>
@@ -409,9 +397,9 @@ First item: parsed data; second item: raw body
409
397
  </div>
410
398
 
411
399
  <div id="footer">
412
- Generated on Tue Mar 19 09:50:26 2013 by
400
+ Generated on Thu Jun 20 12:05:22 2013 by
413
401
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
414
- 0.8.5.2 (ruby-1.8.7).
402
+ 0.8.3 (ruby-1.9.3).
415
403
  </div>
416
404
 
417
405
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: ForemanApi::Resources::Home
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>
@@ -229,10 +227,9 @@ First item: parsed data; second item: raw body.
229
227
  <td>
230
228
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/home.rb', line 4</span>
231
229
 
232
- <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>
233
- <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;home&quot;</span><span class='rbrack token'>]</span>
234
- <span class='rubyid_end end kw'>end</span>
235
- </pre>
230
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_doc'>doc</span>
231
+ <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'>home</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
232
+ <span class='kw'>end</span></pre>
236
233
  </td>
237
234
  </tr>
238
235
  </table>
@@ -255,9 +252,8 @@ First item: parsed data; second item: raw body.
255
252
 
256
253
  </h3><div class="docstring">
257
254
  <div class="discussion">
258
- <p>
259
- First item: parsed data; second item: raw body
260
- </p>
255
+
256
+ <p>First item: parsed data; second item: raw body</p>
261
257
 
262
258
 
263
259
  </div>
@@ -278,9 +274,8 @@ First item: parsed data; second item: raw body
278
274
 
279
275
 
280
276
  &mdash;
281
- <div class='inline'><p>
282
- a hash of params to be passed to the service
283
- </p>
277
+ <div class='inline'>
278
+ <p>a hash of params to be passed to the service</p>
284
279
  </div>
285
280
 
286
281
  </li>
@@ -297,9 +292,8 @@ a hash of params to be passed to the service
297
292
 
298
293
 
299
294
  &mdash;
300
- <div class='inline'><p>
301
- additional http headers
302
- </p>
295
+ <div class='inline'>
296
+ <p>additional http headers</p>
303
297
  </div>
304
298
 
305
299
  </li>
@@ -317,9 +311,8 @@ additional http headers
317
311
 
318
312
 
319
313
  &mdash;
320
- <div class='inline'><p>
321
- First item: parsed data; second item: raw body
322
- </p>
314
+ <div class='inline'>
315
+ <p>First item: parsed data; second item: raw body</p>
323
316
  </div>
324
317
 
325
318
  </li>
@@ -339,10 +332,9 @@ First item: parsed data; second item: raw body
339
332
  <td>
340
333
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/home.rb', line 12</span>
341
334
 
342
- <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>
343
- <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>
344
- <span class='rubyid_end end kw'>end</span>
345
- </pre>
335
+ <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>
336
+ <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>
337
+ <span class='kw'>end</span></pre>
346
338
  </td>
347
339
  </tr>
348
340
  </table>
@@ -359,9 +351,8 @@ First item: parsed data; second item: raw body
359
351
 
360
352
  </h3><div class="docstring">
361
353
  <div class="discussion">
362
- <p>
363
- First item: parsed data; second item: raw body
364
- </p>
354
+
355
+ <p>First item: parsed data; second item: raw body</p>
365
356
 
366
357
 
367
358
  </div>
@@ -382,9 +373,8 @@ First item: parsed data; second item: raw body
382
373
 
383
374
 
384
375
  &mdash;
385
- <div class='inline'><p>
386
- a hash of params to be passed to the service
387
- </p>
376
+ <div class='inline'>
377
+ <p>a hash of params to be passed to the service</p>
388
378
  </div>
389
379
 
390
380
  </li>
@@ -401,9 +391,8 @@ a hash of params to be passed to the service
401
391
 
402
392
 
403
393
  &mdash;
404
- <div class='inline'><p>
405
- additional http headers
406
- </p>
394
+ <div class='inline'>
395
+ <p>additional http headers</p>
407
396
  </div>
408
397
 
409
398
  </li>
@@ -421,9 +410,8 @@ additional http headers
421
410
 
422
411
 
423
412
  &mdash;
424
- <div class='inline'><p>
425
- First item: parsed data; second item: raw body
426
- </p>
413
+ <div class='inline'>
414
+ <p>First item: parsed data; second item: raw body</p>
427
415
  </div>
428
416
 
429
417
  </li>
@@ -443,10 +431,9 @@ First item: parsed data; second item: raw body
443
431
  <td>
444
432
  <pre class="code"><span class="info file"># File 'lib/foreman_api/resources/home.rb', line 20</span>
445
433
 
446
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_status identifier id'>status</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>
447
- <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>
448
- <span class='rubyid_end end kw'>end</span>
449
- </pre>
434
+ <span class='kw'>def</span> <span class='id identifier rubyid_status'>status</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
+ <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>
436
+ <span class='kw'>end</span></pre>
450
437
  </td>
451
438
  </tr>
452
439
  </table>
@@ -457,9 +444,9 @@ First item: parsed data; second item: raw body
457
444
  </div>
458
445
 
459
446
  <div id="footer">
460
- Generated on Tue Mar 19 09:50:23 2013 by
447
+ Generated on Thu Jun 20 12:05:20 2013 by
461
448
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
462
- 0.8.5.2 (ruby-1.8.7).
449
+ 0.8.3 (ruby-1.9.3).
463
450
  </div>
464
451
 
465
452
  </body>