foreman_api 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/Gemfile +2 -0
- data/Rakefile +0 -1
- data/doc/ForemanApi.html +5 -5
- data/doc/ForemanApi/Resources.html +6 -6
- data/doc/ForemanApi/Resources/Architecture.html +260 -127
- data/doc/ForemanApi/Resources/Audit.html +118 -51
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +314 -163
- data/doc/ForemanApi/Resources/Bookmark.html +266 -131
- data/doc/ForemanApi/Resources/CommonParameter.html +260 -127
- data/doc/ForemanApi/Resources/ComputeResource.html +314 -165
- data/doc/ForemanApi/Resources/ConfigTemplate.html +387 -195
- data/doc/ForemanApi/Resources/Dashboard.html +53 -27
- data/doc/ForemanApi/Resources/Domain.html +275 -137
- data/doc/ForemanApi/Resources/Environment.html +254 -123
- data/doc/ForemanApi/Resources/FactValue.html +75 -32
- data/doc/ForemanApi/Resources/Home.html +92 -43
- data/doc/ForemanApi/Resources/Host.html +401 -212
- data/doc/ForemanApi/Resources/HostClass.html +698 -0
- data/doc/ForemanApi/Resources/Hostgroup.html +308 -159
- data/doc/ForemanApi/Resources/HostgroupClass.html +712 -0
- data/doc/ForemanApi/Resources/Image.html +284 -143
- data/doc/ForemanApi/Resources/LookupKey.html +295 -140
- data/doc/ForemanApi/Resources/Medium.html +278 -145
- data/doc/ForemanApi/Resources/Model.html +272 -135
- data/doc/ForemanApi/Resources/OperatingSystem.html +323 -160
- data/doc/ForemanApi/Resources/Parameter.html +1512 -0
- data/doc/ForemanApi/Resources/Ptable.html +266 -131
- data/doc/ForemanApi/Resources/Puppetclass.html +295 -131
- data/doc/ForemanApi/Resources/Report.html +311 -71
- data/doc/ForemanApi/Resources/Role.html +248 -119
- data/doc/ForemanApi/Resources/Setting.html +156 -76
- data/doc/ForemanApi/Resources/SmartProxy.html +257 -125
- data/doc/ForemanApi/Resources/Subnet.html +332 -175
- data/doc/ForemanApi/Resources/TemplateCombination.html +826 -0
- data/doc/ForemanApi/Resources/TemplateKind.html +56 -29
- data/doc/ForemanApi/Resources/User.html +287 -145
- data/doc/ForemanApi/Resources/Usergroup.html +272 -115
- data/doc/_index.html +32 -4
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +10 -0
- data/doc/file.MIT-LICENSE.html +29 -24
- data/doc/file.README.html +60 -59
- data/doc/frames.html +1 -1
- data/doc/index.html +60 -59
- data/doc/method_list.html +434 -266
- data/doc/top-level-namespace.html +3 -3
- data/lib/foreman_api.rb +0 -13
- data/lib/foreman_api/base.rb +77 -7
- data/lib/foreman_api/documentation.json +1 -1
- data/lib/foreman_api/resources/architecture.rb +27 -32
- data/lib/foreman_api/resources/audit.rb +9 -10
- data/lib/foreman_api/resources/auth_source_ldap.rb +47 -52
- data/lib/foreman_api/resources/bookmark.rb +31 -36
- data/lib/foreman_api/resources/common_parameter.rb +27 -32
- data/lib/foreman_api/resources/compute_resource.rb +43 -48
- data/lib/foreman_api/resources/config_template.rb +43 -50
- data/lib/foreman_api/resources/dashboard.rb +4 -5
- data/lib/foreman_api/resources/domain.rb +30 -35
- data/lib/foreman_api/resources/environment.rb +25 -30
- data/lib/foreman_api/resources/fact_value.rb +5 -5
- data/lib/foreman_api/resources/home.rb +7 -9
- data/lib/foreman_api/resources/host.rb +63 -69
- data/lib/foreman_api/resources/host_class.rb +39 -0
- data/lib/foreman_api/resources/hostgroup.rb +43 -48
- data/lib/foreman_api/resources/hostgroup_class.rb +40 -0
- data/lib/foreman_api/resources/image.rb +40 -45
- data/lib/foreman_api/resources/lookup_key.rb +36 -40
- data/lib/foreman_api/resources/medium.rb +29 -34
- data/lib/foreman_api/resources/model.rb +31 -36
- data/lib/foreman_api/resources/operating_system.rb +39 -45
- data/lib/foreman_api/resources/parameter.rb +96 -0
- data/lib/foreman_api/resources/ptable.rb +29 -34
- data/lib/foreman_api/resources/puppetclass.rb +31 -34
- data/lib/foreman_api/resources/report.rb +17 -20
- data/lib/foreman_api/resources/role.rb +25 -30
- data/lib/foreman_api/resources/setting.rb +15 -18
- data/lib/foreman_api/resources/smart_proxy.rb +27 -32
- data/lib/foreman_api/resources/subnet.rb +47 -52
- data/lib/foreman_api/resources/template_combination.rb +21 -25
- data/lib/foreman_api/resources/template_kind.rb +4 -5
- data/lib/foreman_api/resources/user.rb +36 -41
- data/lib/foreman_api/resources/usergroup.rb +25 -30
- data/lib/foreman_api/version.rb +1 -1
- metadata +10 -2
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ForemanApi::Resources::Audit
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -150,7 +150,7 @@
|
|
150
150
|
<li class="public ">
|
151
151
|
<span class="summary_signature">
|
152
152
|
|
153
|
-
<a href="#index-instance_method" title="#index (instance method)">- (
|
153
|
+
<a href="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</strong>(params = {}, headers = {}) </a>
|
154
154
|
|
155
155
|
|
156
156
|
|
@@ -164,7 +164,10 @@
|
|
164
164
|
|
165
165
|
|
166
166
|
|
167
|
-
<span class="summary_desc"><div class='inline'
|
167
|
+
<span class="summary_desc"><div class='inline'><p>
|
168
|
+
First item: parsed data; second item: raw body.
|
169
|
+
</p>
|
170
|
+
</div></span>
|
168
171
|
|
169
172
|
</li>
|
170
173
|
|
@@ -172,7 +175,7 @@
|
|
172
175
|
<li class="public ">
|
173
176
|
<span class="summary_signature">
|
174
177
|
|
175
|
-
<a href="#show-instance_method" title="#show (instance method)">- (
|
178
|
+
<a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
|
176
179
|
|
177
180
|
|
178
181
|
|
@@ -186,7 +189,10 @@
|
|
186
189
|
|
187
190
|
|
188
191
|
|
189
|
-
<span class="summary_desc"><div class='inline'
|
192
|
+
<span class="summary_desc"><div class='inline'><p>
|
193
|
+
First item: parsed data; second item: raw body.
|
194
|
+
</p>
|
195
|
+
</div></span>
|
190
196
|
|
191
197
|
</li>
|
192
198
|
|
@@ -223,9 +229,10 @@
|
|
223
229
|
<td>
|
224
230
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/audit.rb', line 4</span>
|
225
231
|
|
226
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
227
|
-
<span class='ivar'>@doc</span> <span class='op'>||=</span> <span class='
|
228
|
-
<span class='kw'>end</span
|
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'>"audits"</span><span class='rbrack token'>]</span>
|
234
|
+
<span class='rubyid_end end kw'>end</span>
|
235
|
+
</pre>
|
229
236
|
</td>
|
230
237
|
</tr>
|
231
238
|
</table>
|
@@ -240,7 +247,7 @@
|
|
240
247
|
<div class="method_details first">
|
241
248
|
<h3 class="signature first" id="index-instance_method">
|
242
249
|
|
243
|
-
- (<tt>
|
250
|
+
- (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
|
244
251
|
|
245
252
|
|
246
253
|
|
@@ -248,7 +255,10 @@
|
|
248
255
|
|
249
256
|
</h3><div class="docstring">
|
250
257
|
<div class="discussion">
|
251
|
-
|
258
|
+
<p>
|
259
|
+
First item: parsed data; second item: raw body
|
260
|
+
</p>
|
261
|
+
|
252
262
|
|
253
263
|
</div>
|
254
264
|
</div>
|
@@ -264,12 +274,13 @@
|
|
264
274
|
<span class='type'>(<tt>Hash</tt>)</span>
|
265
275
|
|
266
276
|
|
267
|
-
<em class="default">(defaults to: <tt>{
|
277
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
268
278
|
|
269
279
|
|
270
280
|
—
|
271
|
-
<div class='inline'>
|
272
|
-
|
281
|
+
<div class='inline'><p>
|
282
|
+
a hash of params to be passed to the service
|
283
|
+
</p>
|
273
284
|
</div>
|
274
285
|
|
275
286
|
</li>
|
@@ -282,12 +293,13 @@
|
|
282
293
|
<span class='type'>(<tt>Hash</tt>)</span>
|
283
294
|
|
284
295
|
|
285
|
-
<em class="default">(defaults to: <tt>{
|
296
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
286
297
|
|
287
298
|
|
288
299
|
—
|
289
|
-
<div class='inline'>
|
290
|
-
|
300
|
+
<div class='inline'><p>
|
301
|
+
additional http headers
|
302
|
+
</p>
|
291
303
|
</div>
|
292
304
|
|
293
305
|
</li>
|
@@ -300,6 +312,20 @@
|
|
300
312
|
<p class="tag_title">Options Hash (<tt>params</tt>):</p>
|
301
313
|
<ul class="option">
|
302
314
|
|
315
|
+
<li>
|
316
|
+
<span class="name">host_id</span>
|
317
|
+
<span class="type">(<tt>Object</tt>)</span>
|
318
|
+
<span class="default">
|
319
|
+
|
320
|
+
</span>
|
321
|
+
|
322
|
+
— <div class='inline'><p>
|
323
|
+
Part of <tt>/api/hosts/:host_id/audits</tt> path
|
324
|
+
</p>
|
325
|
+
</div>
|
326
|
+
|
327
|
+
</li>
|
328
|
+
|
303
329
|
<li>
|
304
330
|
<span class="name">order</span>
|
305
331
|
<span class="type">(<tt>String</tt>)</span>
|
@@ -307,8 +333,9 @@
|
|
307
333
|
|
308
334
|
</span>
|
309
335
|
|
310
|
-
— <div class='inline'>
|
311
|
-
|
336
|
+
— <div class='inline'><p>
|
337
|
+
Sort results
|
338
|
+
</p>
|
312
339
|
</div>
|
313
340
|
|
314
341
|
</li>
|
@@ -320,8 +347,9 @@
|
|
320
347
|
|
321
348
|
</span>
|
322
349
|
|
323
|
-
— <div class='inline'>
|
324
|
-
|
350
|
+
— <div class='inline'><p>
|
351
|
+
Paginate results
|
352
|
+
</p>
|
325
353
|
</div>
|
326
354
|
|
327
355
|
</li>
|
@@ -333,8 +361,9 @@
|
|
333
361
|
|
334
362
|
</span>
|
335
363
|
|
336
|
-
— <div class='inline'>
|
337
|
-
|
364
|
+
— <div class='inline'><p>
|
365
|
+
Number of entries per request
|
366
|
+
</p>
|
338
367
|
</div>
|
339
368
|
|
340
369
|
</li>
|
@@ -346,8 +375,9 @@
|
|
346
375
|
|
347
376
|
</span>
|
348
377
|
|
349
|
-
— <div class='inline'>
|
350
|
-
|
378
|
+
— <div class='inline'><p>
|
379
|
+
Filter results
|
380
|
+
</p>
|
351
381
|
</div>
|
352
382
|
|
353
383
|
</li>
|
@@ -357,6 +387,25 @@
|
|
357
387
|
|
358
388
|
|
359
389
|
|
390
|
+
<p class="tag_title">Returns:</p>
|
391
|
+
<ul class="return">
|
392
|
+
|
393
|
+
<li>
|
394
|
+
|
395
|
+
|
396
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
—
|
401
|
+
<div class='inline'><p>
|
402
|
+
First item: parsed data; second item: raw body
|
403
|
+
</p>
|
404
|
+
</div>
|
405
|
+
|
406
|
+
</li>
|
407
|
+
|
408
|
+
</ul>
|
360
409
|
|
361
410
|
</div><table class="source_code">
|
362
411
|
<tr>
|
@@ -364,20 +413,17 @@
|
|
364
413
|
<pre class="lines">
|
365
414
|
|
366
415
|
|
367
|
-
15
|
368
|
-
16
|
369
416
|
17
|
370
417
|
18
|
371
418
|
19</pre>
|
372
419
|
</td>
|
373
420
|
<td>
|
374
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/audit.rb', line
|
421
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/audit.rb', line 17</span>
|
375
422
|
|
376
|
-
<span class='kw'>def</span> <span class='
|
377
|
-
<span class='
|
378
|
-
|
379
|
-
|
380
|
-
<span class='kw'>end</span></pre>
|
423
|
+
<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>
|
424
|
+
<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>
|
425
|
+
<span class='rubyid_end end kw'>end</span>
|
426
|
+
</pre>
|
381
427
|
</td>
|
382
428
|
</tr>
|
383
429
|
</table>
|
@@ -386,7 +432,7 @@
|
|
386
432
|
<div class="method_details ">
|
387
433
|
<h3 class="signature " id="show-instance_method">
|
388
434
|
|
389
|
-
- (<tt>
|
435
|
+
- (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
|
390
436
|
|
391
437
|
|
392
438
|
|
@@ -394,7 +440,10 @@
|
|
394
440
|
|
395
441
|
</h3><div class="docstring">
|
396
442
|
<div class="discussion">
|
397
|
-
|
443
|
+
<p>
|
444
|
+
First item: parsed data; second item: raw body
|
445
|
+
</p>
|
446
|
+
|
398
447
|
|
399
448
|
</div>
|
400
449
|
</div>
|
@@ -410,12 +459,13 @@
|
|
410
459
|
<span class='type'>(<tt>Hash</tt>)</span>
|
411
460
|
|
412
461
|
|
413
|
-
<em class="default">(defaults to: <tt>{
|
462
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
414
463
|
|
415
464
|
|
416
465
|
—
|
417
|
-
<div class='inline'>
|
418
|
-
|
466
|
+
<div class='inline'><p>
|
467
|
+
a hash of params to be passed to the service
|
468
|
+
</p>
|
419
469
|
</div>
|
420
470
|
|
421
471
|
</li>
|
@@ -428,12 +478,13 @@
|
|
428
478
|
<span class='type'>(<tt>Hash</tt>)</span>
|
429
479
|
|
430
480
|
|
431
|
-
<em class="default">(defaults to: <tt>{
|
481
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
432
482
|
|
433
483
|
|
434
484
|
—
|
435
|
-
<div class='inline'>
|
436
|
-
|
485
|
+
<div class='inline'><p>
|
486
|
+
additional http headers
|
487
|
+
</p>
|
437
488
|
</div>
|
438
489
|
|
439
490
|
</li>
|
@@ -460,6 +511,25 @@
|
|
460
511
|
|
461
512
|
|
462
513
|
|
514
|
+
<p class="tag_title">Returns:</p>
|
515
|
+
<ul class="return">
|
516
|
+
|
517
|
+
<li>
|
518
|
+
|
519
|
+
|
520
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
521
|
+
|
522
|
+
|
523
|
+
|
524
|
+
—
|
525
|
+
<div class='inline'><p>
|
526
|
+
First item: parsed data; second item: raw body
|
527
|
+
</p>
|
528
|
+
</div>
|
529
|
+
|
530
|
+
</li>
|
531
|
+
|
532
|
+
</ul>
|
463
533
|
|
464
534
|
</div><table class="source_code">
|
465
535
|
<tr>
|
@@ -467,20 +537,17 @@
|
|
467
537
|
<pre class="lines">
|
468
538
|
|
469
539
|
|
470
|
-
25
|
471
540
|
26
|
472
541
|
27
|
473
|
-
28
|
474
|
-
29</pre>
|
542
|
+
28</pre>
|
475
543
|
</td>
|
476
544
|
<td>
|
477
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/audit.rb', line
|
545
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/audit.rb', line 26</span>
|
478
546
|
|
479
|
-
<span class='kw'>def</span> <span class='
|
480
|
-
<span class='
|
481
|
-
|
482
|
-
|
483
|
-
<span class='kw'>end</span></pre>
|
547
|
+
<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>
|
548
|
+
<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>
|
549
|
+
<span class='rubyid_end end kw'>end</span>
|
550
|
+
</pre>
|
484
551
|
</td>
|
485
552
|
</tr>
|
486
553
|
</table>
|
@@ -491,9 +558,9 @@
|
|
491
558
|
</div>
|
492
559
|
|
493
560
|
<div id="footer">
|
494
|
-
Generated on
|
561
|
+
Generated on Tue Mar 19 09:50:23 2013 by
|
495
562
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
496
|
-
0.8.
|
563
|
+
0.8.5.2 (ruby-1.8.7).
|
497
564
|
</div>
|
498
565
|
|
499
566
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ForemanApi::Resources::AuthSourceLdap
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -150,7 +150,7 @@
|
|
150
150
|
<li class="public ">
|
151
151
|
<span class="summary_signature">
|
152
152
|
|
153
|
-
<a href="#create-instance_method" title="#create (instance method)">- (
|
153
|
+
<a href="#create-instance_method" title="#create (instance method)">- (Array) <strong>create</strong>(params = {}, headers = {}) </a>
|
154
154
|
|
155
155
|
|
156
156
|
|
@@ -164,7 +164,10 @@
|
|
164
164
|
|
165
165
|
|
166
166
|
|
167
|
-
<span class="summary_desc"><div class='inline'
|
167
|
+
<span class="summary_desc"><div class='inline'><p>
|
168
|
+
First item: parsed data; second item: raw body.
|
169
|
+
</p>
|
170
|
+
</div></span>
|
168
171
|
|
169
172
|
</li>
|
170
173
|
|
@@ -172,7 +175,7 @@
|
|
172
175
|
<li class="public ">
|
173
176
|
<span class="summary_signature">
|
174
177
|
|
175
|
-
<a href="#destroy-instance_method" title="#destroy (instance method)">- (
|
178
|
+
<a href="#destroy-instance_method" title="#destroy (instance method)">- (Array) <strong>destroy</strong>(params = {}, headers = {}) </a>
|
176
179
|
|
177
180
|
|
178
181
|
|
@@ -186,7 +189,10 @@
|
|
186
189
|
|
187
190
|
|
188
191
|
|
189
|
-
<span class="summary_desc"><div class='inline'
|
192
|
+
<span class="summary_desc"><div class='inline'><p>
|
193
|
+
First item: parsed data; second item: raw body.
|
194
|
+
</p>
|
195
|
+
</div></span>
|
190
196
|
|
191
197
|
</li>
|
192
198
|
|
@@ -194,7 +200,7 @@
|
|
194
200
|
<li class="public ">
|
195
201
|
<span class="summary_signature">
|
196
202
|
|
197
|
-
<a href="#index-instance_method" title="#index (instance method)">- (
|
203
|
+
<a href="#index-instance_method" title="#index (instance method)">- (Array) <strong>index</strong>(params = {}, headers = {}) </a>
|
198
204
|
|
199
205
|
|
200
206
|
|
@@ -208,7 +214,10 @@
|
|
208
214
|
|
209
215
|
|
210
216
|
|
211
|
-
<span class="summary_desc"><div class='inline'
|
217
|
+
<span class="summary_desc"><div class='inline'><p>
|
218
|
+
First item: parsed data; second item: raw body.
|
219
|
+
</p>
|
220
|
+
</div></span>
|
212
221
|
|
213
222
|
</li>
|
214
223
|
|
@@ -216,7 +225,7 @@
|
|
216
225
|
<li class="public ">
|
217
226
|
<span class="summary_signature">
|
218
227
|
|
219
|
-
<a href="#show-instance_method" title="#show (instance method)">- (
|
228
|
+
<a href="#show-instance_method" title="#show (instance method)">- (Array) <strong>show</strong>(params = {}, headers = {}) </a>
|
220
229
|
|
221
230
|
|
222
231
|
|
@@ -230,7 +239,10 @@
|
|
230
239
|
|
231
240
|
|
232
241
|
|
233
|
-
<span class="summary_desc"><div class='inline'
|
242
|
+
<span class="summary_desc"><div class='inline'><p>
|
243
|
+
First item: parsed data; second item: raw body.
|
244
|
+
</p>
|
245
|
+
</div></span>
|
234
246
|
|
235
247
|
</li>
|
236
248
|
|
@@ -238,7 +250,7 @@
|
|
238
250
|
<li class="public ">
|
239
251
|
<span class="summary_signature">
|
240
252
|
|
241
|
-
<a href="#update-instance_method" title="#update (instance method)">- (
|
253
|
+
<a href="#update-instance_method" title="#update (instance method)">- (Array) <strong>update</strong>(params = {}, headers = {}) </a>
|
242
254
|
|
243
255
|
|
244
256
|
|
@@ -252,7 +264,10 @@
|
|
252
264
|
|
253
265
|
|
254
266
|
|
255
|
-
<span class="summary_desc"><div class='inline'
|
267
|
+
<span class="summary_desc"><div class='inline'><p>
|
268
|
+
First item: parsed data; second item: raw body.
|
269
|
+
</p>
|
270
|
+
</div></span>
|
256
271
|
|
257
272
|
</li>
|
258
273
|
|
@@ -289,9 +304,10 @@
|
|
289
304
|
<td>
|
290
305
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line 4</span>
|
291
306
|
|
292
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
293
|
-
<span class='ivar'>@doc</span> <span class='op'>||=</span> <span class='
|
294
|
-
<span class='kw'>end</span
|
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'>"auth_source_ldaps"</span><span class='rbrack token'>]</span>
|
309
|
+
<span class='rubyid_end end kw'>end</span>
|
310
|
+
</pre>
|
295
311
|
</td>
|
296
312
|
</tr>
|
297
313
|
</table>
|
@@ -306,7 +322,7 @@
|
|
306
322
|
<div class="method_details first">
|
307
323
|
<h3 class="signature first" id="create-instance_method">
|
308
324
|
|
309
|
-
- (<tt>
|
325
|
+
- (<tt>Array</tt>) <strong>create</strong>(params = {}, headers = {})
|
310
326
|
|
311
327
|
|
312
328
|
|
@@ -314,7 +330,10 @@
|
|
314
330
|
|
315
331
|
</h3><div class="docstring">
|
316
332
|
<div class="discussion">
|
317
|
-
|
333
|
+
<p>
|
334
|
+
First item: parsed data; second item: raw body
|
335
|
+
</p>
|
336
|
+
|
318
337
|
|
319
338
|
</div>
|
320
339
|
</div>
|
@@ -330,12 +349,13 @@
|
|
330
349
|
<span class='type'>(<tt>Hash</tt>)</span>
|
331
350
|
|
332
351
|
|
333
|
-
<em class="default">(defaults to: <tt>{
|
352
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
334
353
|
|
335
354
|
|
336
355
|
—
|
337
|
-
<div class='inline'>
|
338
|
-
|
356
|
+
<div class='inline'><p>
|
357
|
+
a hash of params to be passed to the service
|
358
|
+
</p>
|
339
359
|
</div>
|
340
360
|
|
341
361
|
</li>
|
@@ -348,12 +368,13 @@
|
|
348
368
|
<span class='type'>(<tt>Hash</tt>)</span>
|
349
369
|
|
350
370
|
|
351
|
-
<em class="default">(defaults to: <tt>{
|
371
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
352
372
|
|
353
373
|
|
354
374
|
—
|
355
|
-
<div class='inline'>
|
356
|
-
|
375
|
+
<div class='inline'><p>
|
376
|
+
additional http headers
|
377
|
+
</p>
|
357
378
|
</div>
|
358
379
|
|
359
380
|
</li>
|
@@ -373,33 +394,47 @@
|
|
373
394
|
|
374
395
|
</span>
|
375
396
|
|
376
|
-
— <div class='inline'>
|
377
|
-
|
378
|
-
|
379
|
-
<
|
380
|
-
|
381
|
-
|
382
|
-
</li
|
383
|
-
<
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
</li
|
389
|
-
<
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
</li
|
395
|
-
<
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
</li
|
401
|
-
<
|
402
|
-
|
397
|
+
— <div class='inline'><p>
|
398
|
+
allowed keys are:
|
399
|
+
</p>
|
400
|
+
<ul>
|
401
|
+
<li>account [String]
|
402
|
+
|
403
|
+
</li>
|
404
|
+
<li>account_password [String] Required if onthefly_register is true
|
405
|
+
|
406
|
+
</li>
|
407
|
+
<li>attr_firstname [String] Required if onthefly_register is true
|
408
|
+
|
409
|
+
</li>
|
410
|
+
<li>attr_lastname [String] Required if onthefly_register is true
|
411
|
+
|
412
|
+
</li>
|
413
|
+
<li>attr_login [String] Required if onthefly_register is true
|
414
|
+
|
415
|
+
</li>
|
416
|
+
<li>attr_mail [String] Required if onthefly_register is true
|
417
|
+
|
418
|
+
</li>
|
419
|
+
<li>base_dn [String]
|
420
|
+
|
421
|
+
</li>
|
422
|
+
<li>host [String]
|
423
|
+
|
424
|
+
</li>
|
425
|
+
<li>name [String]
|
426
|
+
|
427
|
+
</li>
|
428
|
+
<li>onthefly_register [String]
|
429
|
+
|
430
|
+
</li>
|
431
|
+
<li>port [String] Defaults to 389
|
432
|
+
|
433
|
+
</li>
|
434
|
+
<li>tls [String]
|
435
|
+
|
436
|
+
</li>
|
437
|
+
</ul>
|
403
438
|
</div>
|
404
439
|
|
405
440
|
</li>
|
@@ -409,6 +444,25 @@
|
|
409
444
|
|
410
445
|
|
411
446
|
|
447
|
+
<p class="tag_title">Returns:</p>
|
448
|
+
<ul class="return">
|
449
|
+
|
450
|
+
<li>
|
451
|
+
|
452
|
+
|
453
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
—
|
458
|
+
<div class='inline'><p>
|
459
|
+
First item: parsed data; second item: raw body
|
460
|
+
</p>
|
461
|
+
</div>
|
462
|
+
|
463
|
+
</li>
|
464
|
+
|
465
|
+
</ul>
|
412
466
|
|
413
467
|
</div><table class="source_code">
|
414
468
|
<tr>
|
@@ -416,20 +470,17 @@
|
|
416
470
|
<pre class="lines">
|
417
471
|
|
418
472
|
|
473
|
+
45
|
419
474
|
46
|
420
|
-
47
|
421
|
-
48
|
422
|
-
49
|
423
|
-
50</pre>
|
475
|
+
47</pre>
|
424
476
|
</td>
|
425
477
|
<td>
|
426
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line
|
478
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line 45</span>
|
427
479
|
|
428
|
-
<span class='kw'>def</span> <span class='
|
429
|
-
<span class='
|
430
|
-
|
431
|
-
|
432
|
-
<span class='kw'>end</span></pre>
|
480
|
+
<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>
|
481
|
+
<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>
|
482
|
+
<span class='rubyid_end end kw'>end</span>
|
483
|
+
</pre>
|
433
484
|
</td>
|
434
485
|
</tr>
|
435
486
|
</table>
|
@@ -438,7 +489,7 @@
|
|
438
489
|
<div class="method_details ">
|
439
490
|
<h3 class="signature " id="destroy-instance_method">
|
440
491
|
|
441
|
-
- (<tt>
|
492
|
+
- (<tt>Array</tt>) <strong>destroy</strong>(params = {}, headers = {})
|
442
493
|
|
443
494
|
|
444
495
|
|
@@ -446,7 +497,10 @@
|
|
446
497
|
|
447
498
|
</h3><div class="docstring">
|
448
499
|
<div class="discussion">
|
449
|
-
|
500
|
+
<p>
|
501
|
+
First item: parsed data; second item: raw body
|
502
|
+
</p>
|
503
|
+
|
450
504
|
|
451
505
|
</div>
|
452
506
|
</div>
|
@@ -462,12 +516,13 @@
|
|
462
516
|
<span class='type'>(<tt>Hash</tt>)</span>
|
463
517
|
|
464
518
|
|
465
|
-
<em class="default">(defaults to: <tt>{
|
519
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
466
520
|
|
467
521
|
|
468
522
|
—
|
469
|
-
<div class='inline'>
|
470
|
-
|
523
|
+
<div class='inline'><p>
|
524
|
+
a hash of params to be passed to the service
|
525
|
+
</p>
|
471
526
|
</div>
|
472
527
|
|
473
528
|
</li>
|
@@ -480,12 +535,13 @@
|
|
480
535
|
<span class='type'>(<tt>Hash</tt>)</span>
|
481
536
|
|
482
537
|
|
483
|
-
<em class="default">(defaults to: <tt>{
|
538
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
484
539
|
|
485
540
|
|
486
541
|
—
|
487
|
-
<div class='inline'>
|
488
|
-
|
542
|
+
<div class='inline'><p>
|
543
|
+
additional http headers
|
544
|
+
</p>
|
489
545
|
</div>
|
490
546
|
|
491
547
|
</li>
|
@@ -512,6 +568,25 @@
|
|
512
568
|
|
513
569
|
|
514
570
|
|
571
|
+
<p class="tag_title">Returns:</p>
|
572
|
+
<ul class="return">
|
573
|
+
|
574
|
+
<li>
|
575
|
+
|
576
|
+
|
577
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
578
|
+
|
579
|
+
|
580
|
+
|
581
|
+
—
|
582
|
+
<div class='inline'><p>
|
583
|
+
First item: parsed data; second item: raw body
|
584
|
+
</p>
|
585
|
+
</div>
|
586
|
+
|
587
|
+
</li>
|
588
|
+
|
589
|
+
</ul>
|
515
590
|
|
516
591
|
</div><table class="source_code">
|
517
592
|
<tr>
|
@@ -519,20 +594,17 @@
|
|
519
594
|
<pre class="lines">
|
520
595
|
|
521
596
|
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
83
|
526
|
-
84</pre>
|
597
|
+
77
|
598
|
+
78
|
599
|
+
79</pre>
|
527
600
|
</td>
|
528
601
|
<td>
|
529
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line
|
602
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line 77</span>
|
530
603
|
|
531
|
-
<span class='kw'>def</span> <span class='
|
532
|
-
<span class='
|
533
|
-
|
534
|
-
|
535
|
-
<span class='kw'>end</span></pre>
|
604
|
+
<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>
|
605
|
+
<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>
|
606
|
+
<span class='rubyid_end end kw'>end</span>
|
607
|
+
</pre>
|
536
608
|
</td>
|
537
609
|
</tr>
|
538
610
|
</table>
|
@@ -541,7 +613,7 @@
|
|
541
613
|
<div class="method_details ">
|
542
614
|
<h3 class="signature " id="index-instance_method">
|
543
615
|
|
544
|
-
- (<tt>
|
616
|
+
- (<tt>Array</tt>) <strong>index</strong>(params = {}, headers = {})
|
545
617
|
|
546
618
|
|
547
619
|
|
@@ -549,7 +621,10 @@
|
|
549
621
|
|
550
622
|
</h3><div class="docstring">
|
551
623
|
<div class="discussion">
|
552
|
-
|
624
|
+
<p>
|
625
|
+
First item: parsed data; second item: raw body
|
626
|
+
</p>
|
627
|
+
|
553
628
|
|
554
629
|
</div>
|
555
630
|
</div>
|
@@ -565,12 +640,13 @@
|
|
565
640
|
<span class='type'>(<tt>Hash</tt>)</span>
|
566
641
|
|
567
642
|
|
568
|
-
<em class="default">(defaults to: <tt>{
|
643
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
569
644
|
|
570
645
|
|
571
646
|
—
|
572
|
-
<div class='inline'>
|
573
|
-
|
647
|
+
<div class='inline'><p>
|
648
|
+
a hash of params to be passed to the service
|
649
|
+
</p>
|
574
650
|
</div>
|
575
651
|
|
576
652
|
</li>
|
@@ -583,12 +659,13 @@
|
|
583
659
|
<span class='type'>(<tt>Hash</tt>)</span>
|
584
660
|
|
585
661
|
|
586
|
-
<em class="default">(defaults to: <tt>{
|
662
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
587
663
|
|
588
664
|
|
589
665
|
—
|
590
|
-
<div class='inline'>
|
591
|
-
|
666
|
+
<div class='inline'><p>
|
667
|
+
additional http headers
|
668
|
+
</p>
|
592
669
|
</div>
|
593
670
|
|
594
671
|
</li>
|
@@ -608,8 +685,9 @@
|
|
608
685
|
|
609
686
|
</span>
|
610
687
|
|
611
|
-
— <div class='inline'>
|
612
|
-
|
688
|
+
— <div class='inline'><p>
|
689
|
+
Paginate results
|
690
|
+
</p>
|
613
691
|
</div>
|
614
692
|
|
615
693
|
</li>
|
@@ -621,8 +699,9 @@
|
|
621
699
|
|
622
700
|
</span>
|
623
701
|
|
624
|
-
— <div class='inline'>
|
625
|
-
|
702
|
+
— <div class='inline'><p>
|
703
|
+
Number of entries per request
|
704
|
+
</p>
|
626
705
|
</div>
|
627
706
|
|
628
707
|
</li>
|
@@ -632,6 +711,25 @@
|
|
632
711
|
|
633
712
|
|
634
713
|
|
714
|
+
<p class="tag_title">Returns:</p>
|
715
|
+
<ul class="return">
|
716
|
+
|
717
|
+
<li>
|
718
|
+
|
719
|
+
|
720
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
721
|
+
|
722
|
+
|
723
|
+
|
724
|
+
—
|
725
|
+
<div class='inline'><p>
|
726
|
+
First item: parsed data; second item: raw body
|
727
|
+
</p>
|
728
|
+
</div>
|
729
|
+
|
730
|
+
</li>
|
731
|
+
|
732
|
+
</ul>
|
635
733
|
|
636
734
|
</div><table class="source_code">
|
637
735
|
<tr>
|
@@ -639,20 +737,17 @@
|
|
639
737
|
<pre class="lines">
|
640
738
|
|
641
739
|
|
642
|
-
13
|
643
740
|
14
|
644
741
|
15
|
645
|
-
16
|
646
|
-
17</pre>
|
742
|
+
16</pre>
|
647
743
|
</td>
|
648
744
|
<td>
|
649
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line
|
745
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line 14</span>
|
650
746
|
|
651
|
-
<span class='kw'>def</span> <span class='
|
652
|
-
<span class='
|
653
|
-
|
654
|
-
|
655
|
-
<span class='kw'>end</span></pre>
|
747
|
+
<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>
|
748
|
+
<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>
|
749
|
+
<span class='rubyid_end end kw'>end</span>
|
750
|
+
</pre>
|
656
751
|
</td>
|
657
752
|
</tr>
|
658
753
|
</table>
|
@@ -661,7 +756,7 @@
|
|
661
756
|
<div class="method_details ">
|
662
757
|
<h3 class="signature " id="show-instance_method">
|
663
758
|
|
664
|
-
- (<tt>
|
759
|
+
- (<tt>Array</tt>) <strong>show</strong>(params = {}, headers = {})
|
665
760
|
|
666
761
|
|
667
762
|
|
@@ -669,7 +764,10 @@
|
|
669
764
|
|
670
765
|
</h3><div class="docstring">
|
671
766
|
<div class="discussion">
|
672
|
-
|
767
|
+
<p>
|
768
|
+
First item: parsed data; second item: raw body
|
769
|
+
</p>
|
770
|
+
|
673
771
|
|
674
772
|
</div>
|
675
773
|
</div>
|
@@ -685,12 +783,13 @@
|
|
685
783
|
<span class='type'>(<tt>Hash</tt>)</span>
|
686
784
|
|
687
785
|
|
688
|
-
<em class="default">(defaults to: <tt>{
|
786
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
689
787
|
|
690
788
|
|
691
789
|
—
|
692
|
-
<div class='inline'>
|
693
|
-
|
790
|
+
<div class='inline'><p>
|
791
|
+
a hash of params to be passed to the service
|
792
|
+
</p>
|
694
793
|
</div>
|
695
794
|
|
696
795
|
</li>
|
@@ -703,12 +802,13 @@
|
|
703
802
|
<span class='type'>(<tt>Hash</tt>)</span>
|
704
803
|
|
705
804
|
|
706
|
-
<em class="default">(defaults to: <tt>{
|
805
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
707
806
|
|
708
807
|
|
709
808
|
—
|
710
|
-
<div class='inline'>
|
711
|
-
|
809
|
+
<div class='inline'><p>
|
810
|
+
additional http headers
|
811
|
+
</p>
|
712
812
|
</div>
|
713
813
|
|
714
814
|
</li>
|
@@ -735,6 +835,25 @@
|
|
735
835
|
|
736
836
|
|
737
837
|
|
838
|
+
<p class="tag_title">Returns:</p>
|
839
|
+
<ul class="return">
|
840
|
+
|
841
|
+
<li>
|
842
|
+
|
843
|
+
|
844
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
845
|
+
|
846
|
+
|
847
|
+
|
848
|
+
—
|
849
|
+
<div class='inline'><p>
|
850
|
+
First item: parsed data; second item: raw body
|
851
|
+
</p>
|
852
|
+
</div>
|
853
|
+
|
854
|
+
</li>
|
855
|
+
|
856
|
+
</ul>
|
738
857
|
|
739
858
|
</div><table class="source_code">
|
740
859
|
<tr>
|
@@ -744,18 +863,15 @@
|
|
744
863
|
|
745
864
|
23
|
746
865
|
24
|
747
|
-
25
|
748
|
-
26
|
749
|
-
27</pre>
|
866
|
+
25</pre>
|
750
867
|
</td>
|
751
868
|
<td>
|
752
869
|
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line 23</span>
|
753
870
|
|
754
|
-
<span class='kw'>def</span> <span class='
|
755
|
-
<span class='
|
756
|
-
|
757
|
-
|
758
|
-
<span class='kw'>end</span></pre>
|
871
|
+
<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>
|
872
|
+
<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>
|
873
|
+
<span class='rubyid_end end kw'>end</span>
|
874
|
+
</pre>
|
759
875
|
</td>
|
760
876
|
</tr>
|
761
877
|
</table>
|
@@ -764,7 +880,7 @@
|
|
764
880
|
<div class="method_details ">
|
765
881
|
<h3 class="signature " id="update-instance_method">
|
766
882
|
|
767
|
-
- (<tt>
|
883
|
+
- (<tt>Array</tt>) <strong>update</strong>(params = {}, headers = {})
|
768
884
|
|
769
885
|
|
770
886
|
|
@@ -772,7 +888,10 @@
|
|
772
888
|
|
773
889
|
</h3><div class="docstring">
|
774
890
|
<div class="discussion">
|
775
|
-
|
891
|
+
<p>
|
892
|
+
First item: parsed data; second item: raw body
|
893
|
+
</p>
|
894
|
+
|
776
895
|
|
777
896
|
</div>
|
778
897
|
</div>
|
@@ -788,12 +907,13 @@
|
|
788
907
|
<span class='type'>(<tt>Hash</tt>)</span>
|
789
908
|
|
790
909
|
|
791
|
-
<em class="default">(defaults to: <tt>{
|
910
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
792
911
|
|
793
912
|
|
794
913
|
—
|
795
|
-
<div class='inline'>
|
796
|
-
|
914
|
+
<div class='inline'><p>
|
915
|
+
a hash of params to be passed to the service
|
916
|
+
</p>
|
797
917
|
</div>
|
798
918
|
|
799
919
|
</li>
|
@@ -806,12 +926,13 @@
|
|
806
926
|
<span class='type'>(<tt>Hash</tt>)</span>
|
807
927
|
|
808
928
|
|
809
|
-
<em class="default">(defaults to: <tt>{
|
929
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
810
930
|
|
811
931
|
|
812
932
|
—
|
813
|
-
<div class='inline'>
|
814
|
-
|
933
|
+
<div class='inline'><p>
|
934
|
+
additional http headers
|
935
|
+
</p>
|
815
936
|
</div>
|
816
937
|
|
817
938
|
</li>
|
@@ -840,33 +961,47 @@
|
|
840
961
|
|
841
962
|
</span>
|
842
963
|
|
843
|
-
— <div class='inline'>
|
844
|
-
|
845
|
-
|
846
|
-
<
|
847
|
-
|
848
|
-
|
849
|
-
</li
|
850
|
-
<
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
</li
|
856
|
-
<
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
</li
|
862
|
-
<
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
</li
|
868
|
-
<
|
869
|
-
|
964
|
+
— <div class='inline'><p>
|
965
|
+
allowed keys are:
|
966
|
+
</p>
|
967
|
+
<ul>
|
968
|
+
<li>account [String]
|
969
|
+
|
970
|
+
</li>
|
971
|
+
<li>account_password [String] Required if onthefly_register is true
|
972
|
+
|
973
|
+
</li>
|
974
|
+
<li>attr_firstname [String] Required if onthefly_register is true
|
975
|
+
|
976
|
+
</li>
|
977
|
+
<li>attr_lastname [String] Required if onthefly_register is true
|
978
|
+
|
979
|
+
</li>
|
980
|
+
<li>attr_login [String] Required if onthefly_register is true
|
981
|
+
|
982
|
+
</li>
|
983
|
+
<li>attr_mail [String] Required if onthefly_register is true
|
984
|
+
|
985
|
+
</li>
|
986
|
+
<li>base_dn [String]
|
987
|
+
|
988
|
+
</li>
|
989
|
+
<li>host [String]
|
990
|
+
|
991
|
+
</li>
|
992
|
+
<li>name [String]
|
993
|
+
|
994
|
+
</li>
|
995
|
+
<li>onthefly_register [String]
|
996
|
+
|
997
|
+
</li>
|
998
|
+
<li>port [String] Defaults to 389
|
999
|
+
|
1000
|
+
</li>
|
1001
|
+
<li>tls [String]
|
1002
|
+
|
1003
|
+
</li>
|
1004
|
+
</ul>
|
870
1005
|
</div>
|
871
1006
|
|
872
1007
|
</li>
|
@@ -876,6 +1011,25 @@
|
|
876
1011
|
|
877
1012
|
|
878
1013
|
|
1014
|
+
<p class="tag_title">Returns:</p>
|
1015
|
+
<ul class="return">
|
1016
|
+
|
1017
|
+
<li>
|
1018
|
+
|
1019
|
+
|
1020
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
1021
|
+
|
1022
|
+
|
1023
|
+
|
1024
|
+
—
|
1025
|
+
<div class='inline'><p>
|
1026
|
+
First item: parsed data; second item: raw body
|
1027
|
+
</p>
|
1028
|
+
</div>
|
1029
|
+
|
1030
|
+
</li>
|
1031
|
+
|
1032
|
+
</ul>
|
879
1033
|
|
880
1034
|
</div><table class="source_code">
|
881
1035
|
<tr>
|
@@ -883,20 +1037,17 @@
|
|
883
1037
|
<pre class="lines">
|
884
1038
|
|
885
1039
|
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
73
|
890
|
-
74</pre>
|
1040
|
+
68
|
1041
|
+
69
|
1042
|
+
70</pre>
|
891
1043
|
</td>
|
892
1044
|
<td>
|
893
|
-
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line
|
1045
|
+
<pre class="code"><span class="info file"># File 'lib/foreman_api/resources/auth_source_ldap.rb', line 68</span>
|
894
1046
|
|
895
|
-
<span class='kw'>def</span> <span class='
|
896
|
-
<span class='
|
897
|
-
|
898
|
-
|
899
|
-
<span class='kw'>end</span></pre>
|
1047
|
+
<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>
|
1048
|
+
<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>
|
1049
|
+
<span class='rubyid_end end kw'>end</span>
|
1050
|
+
</pre>
|
900
1051
|
</td>
|
901
1052
|
</tr>
|
902
1053
|
</table>
|
@@ -907,9 +1058,9 @@
|
|
907
1058
|
</div>
|
908
1059
|
|
909
1060
|
<div id="footer">
|
910
|
-
Generated on
|
1061
|
+
Generated on Tue Mar 19 09:50:28 2013 by
|
911
1062
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
912
|
-
0.8.
|
1063
|
+
0.8.5.2 (ruby-1.8.7).
|
913
1064
|
</div>
|
914
1065
|
|
915
1066
|
</body>
|