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::FactValue
|
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>
|
@@ -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='
|
208
|
-
<span class='
|
209
|
-
<span class='
|
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'>"</span><span class='tstring_content'>fact_values</span><span class='tstring_end'>"</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
|
-
|
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
|
—
|
256
|
-
<div class='inline'
|
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
|
—
|
275
|
-
<div class='inline'
|
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
|
-
— <div class='inline'
|
298
|
-
Part of <tt>/api/hosts/:host_id/facts</tt> path
|
299
|
-
</p>
|
292
|
+
— <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
|
-
— <div class='inline'
|
312
|
-
Sort results
|
313
|
-
</p>
|
305
|
+
— <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
|
-
— <div class='inline'
|
326
|
-
Paginate results
|
327
|
-
</p>
|
318
|
+
— <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
|
-
— <div class='inline'
|
340
|
-
Number of entries per request
|
341
|
-
</p>
|
331
|
+
— <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
|
-
— <div class='inline'
|
354
|
-
Filter results
|
355
|
-
</p>
|
344
|
+
— <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
|
—
|
376
|
-
<div class='inline'
|
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='
|
399
|
-
<span class='
|
400
|
-
<span class='
|
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
|
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.
|
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
|
-
— 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>
|
@@ -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='
|
233
|
-
<span class='
|
234
|
-
<span class='
|
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'>"</span><span class='tstring_content'>home</span><span class='tstring_end'>"</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
|
-
|
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
|
—
|
281
|
-
<div class='inline'
|
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
|
—
|
300
|
-
<div class='inline'
|
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
|
—
|
320
|
-
<div class='inline'
|
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='
|
343
|
-
<span class='
|
344
|
-
<span class='
|
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
|
-
|
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
|
—
|
385
|
-
<div class='inline'
|
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
|
—
|
404
|
-
<div class='inline'
|
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
|
—
|
424
|
-
<div class='inline'
|
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='
|
447
|
-
<span class='
|
448
|
-
<span class='
|
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
|
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.
|
449
|
+
0.8.3 (ruby-1.9.3).
|
463
450
|
</div>
|
464
451
|
|
465
452
|
</body>
|