foreman_api 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +4 -0
- data/Gemfile +5 -0
- data/README.rdoc +23 -4
- data/doc/ForemanApi/Resources/Architecture.html +902 -0
- data/doc/ForemanApi/Resources/Audit.html +500 -0
- data/doc/ForemanApi/Resources/AuthSourceLdap.html +916 -0
- data/doc/ForemanApi/Resources/Bookmark.html +884 -0
- data/doc/ForemanApi/Resources/CommonParameter.html +902 -0
- data/doc/ForemanApi/Resources/ComputeResource.html +940 -0
- data/doc/ForemanApi/Resources/ConfigTemplate.html +1160 -0
- data/doc/ForemanApi/Resources/Dashboard.html +336 -0
- data/doc/ForemanApi/Resources/Domain.html +914 -0
- data/doc/ForemanApi/Resources/Environment.html +898 -0
- data/doc/ForemanApi/Resources/FactValue.html +375 -0
- data/doc/ForemanApi/Resources/Home.html +417 -0
- data/doc/ForemanApi/Resources/Host.html +1091 -0
- data/doc/ForemanApi/Resources/Hostgroup.html +934 -0
- data/doc/ForemanApi/Resources/Image.html +963 -0
- data/doc/ForemanApi/Resources/LookupKey.html +918 -0
- data/doc/ForemanApi/Resources/Medium.html +920 -0
- data/doc/ForemanApi/Resources/Model.html +910 -0
- data/doc/ForemanApi/Resources/OperatingSystem.html +1057 -0
- data/doc/ForemanApi/Resources/Ptable.html +906 -0
- data/doc/ForemanApi/Resources/Puppetclass.html +898 -0
- data/doc/ForemanApi/Resources/Report.html +625 -0
- data/doc/ForemanApi/Resources/Role.html +872 -0
- data/doc/ForemanApi/Resources/Setting.html +641 -0
- data/doc/ForemanApi/Resources/SmartProxy.html +889 -0
- data/doc/ForemanApi/Resources/Subnet.html +954 -0
- data/doc/ForemanApi/Resources/TemplateKind.html +349 -0
- data/doc/ForemanApi/Resources/User.html +920 -0
- data/doc/ForemanApi/Resources/Usergroup.html +872 -0
- data/doc/ForemanApi/Resources.html +117 -0
- data/doc/ForemanApi.html +117 -0
- data/doc/_index.html +449 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +328 -0
- data/doc/file.MIT-LICENSE.html +93 -0
- data/doc/file.README.html +129 -0
- data/doc/file_list.html +58 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +129 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +1300 -0
- data/doc/top-level-namespace.html +112 -0
- data/foreman_api.gemspec +5 -2
- data/lib/foreman_api/base.rb +129 -0
- data/lib/foreman_api/resources/architecture.rb +17 -7
- data/lib/foreman_api/resources/audit.rb +7 -4
- data/lib/foreman_api/resources/auth_source_ldap.rb +35 -7
- data/lib/foreman_api/resources/bookmark.rb +19 -7
- data/lib/foreman_api/resources/common_parameter.rb +17 -7
- data/lib/foreman_api/resources/compute_resource.rb +33 -7
- data/lib/foreman_api/resources/config_template.rb +28 -9
- data/lib/foreman_api/resources/dashboard.rb +3 -3
- data/lib/foreman_api/resources/domain.rb +21 -7
- data/lib/foreman_api/resources/environment.rb +15 -7
- data/lib/foreman_api/resources/fact_value.rb +6 -3
- data/lib/foreman_api/resources/home.rb +2 -4
- data/lib/foreman_api/resources/host.rb +50 -8
- data/lib/foreman_api/resources/hostgroup.rb +33 -7
- data/lib/foreman_api/resources/image.rb +30 -7
- data/lib/foreman_api/resources/lookup_key.rb +25 -7
- data/lib/foreman_api/resources/medium.rb +19 -7
- data/lib/foreman_api/resources/model.rb +21 -7
- data/lib/foreman_api/resources/operating_system.rb +26 -8
- data/lib/foreman_api/resources/ptable.rb +19 -7
- data/lib/foreman_api/resources/puppetclass.rb +15 -7
- data/lib/foreman_api/resources/report.rb +8 -5
- data/lib/foreman_api/resources/role.rb +13 -7
- data/lib/foreman_api/resources/setting.rb +11 -5
- data/lib/foreman_api/resources/smart_proxy.rb +16 -7
- data/lib/foreman_api/resources/subnet.rb +39 -7
- data/lib/foreman_api/resources/template_kind.rb +4 -3
- data/lib/foreman_api/resources/user.rb +26 -7
- data/lib/foreman_api/resources/usergroup.rb +13 -7
- data/lib/foreman_api/rest_client_oauth.rb +19 -0
- data/lib/foreman_api/version.rb +1 -1
- data/lib/foreman_api.rb +6 -10
- metadata +51 -18
@@ -0,0 +1,117 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Module: ForemanApi::Resources
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.3
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '../';
|
20
|
+
framesUrl = "../frames.html#!" + escape(window.location.href);
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="../_index.html">Index (R)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../ForemanApi.html" title="ForemanApi (module)">ForemanApi</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Resources</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="../class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="../method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="../file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Module: ForemanApi::Resources
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<dt class="r1 last">Defined in:</dt>
|
82
|
+
<dd class="r1 last">lib/foreman_api/resources/user.rb<span class="defines">,<br />
|
83
|
+
lib/foreman_api/resources/home.rb,<br /> lib/foreman_api/resources/role.rb,<br /> lib/foreman_api/resources/host.rb,<br /> lib/foreman_api/resources/image.rb,<br /> lib/foreman_api/resources/model.rb,<br /> lib/foreman_api/resources/audit.rb,<br /> lib/foreman_api/resources/medium.rb,<br /> lib/foreman_api/resources/domain.rb,<br /> lib/foreman_api/resources/ptable.rb,<br /> lib/foreman_api/resources/report.rb,<br /> lib/foreman_api/resources/subnet.rb,<br /> lib/foreman_api/resources/setting.rb,<br /> lib/foreman_api/resources/bookmark.rb,<br /> lib/foreman_api/resources/usergroup.rb,<br /> lib/foreman_api/resources/dashboard.rb,<br /> lib/foreman_api/resources/hostgroup.rb,<br /> lib/foreman_api/resources/fact_value.rb,<br /> lib/foreman_api/resources/lookup_key.rb,<br /> lib/foreman_api/resources/puppetclass.rb,<br /> lib/foreman_api/resources/environment.rb,<br /> lib/foreman_api/resources/smart_proxy.rb,<br /> lib/foreman_api/resources/architecture.rb,<br /> lib/foreman_api/resources/template_kind.rb,<br /> lib/foreman_api/resources/config_template.rb,<br /> lib/foreman_api/resources/compute_resource.rb,<br /> lib/foreman_api/resources/auth_source_ldap.rb,<br /> lib/foreman_api/resources/operating_system.rb,<br /> lib/foreman_api/resources/common_parameter.rb</span>
|
84
|
+
</dd>
|
85
|
+
|
86
|
+
</dl>
|
87
|
+
<div class="clear"></div>
|
88
|
+
|
89
|
+
<h2>Defined Under Namespace</h2>
|
90
|
+
<p class="children">
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Resources/Architecture.html" title="ForemanApi::Resources::Architecture (class)">Architecture</a></span>, <span class='object_link'><a href="Resources/Audit.html" title="ForemanApi::Resources::Audit (class)">Audit</a></span>, <span class='object_link'><a href="Resources/AuthSourceLdap.html" title="ForemanApi::Resources::AuthSourceLdap (class)">AuthSourceLdap</a></span>, <span class='object_link'><a href="Resources/Bookmark.html" title="ForemanApi::Resources::Bookmark (class)">Bookmark</a></span>, <span class='object_link'><a href="Resources/CommonParameter.html" title="ForemanApi::Resources::CommonParameter (class)">CommonParameter</a></span>, <span class='object_link'><a href="Resources/ComputeResource.html" title="ForemanApi::Resources::ComputeResource (class)">ComputeResource</a></span>, <span class='object_link'><a href="Resources/ConfigTemplate.html" title="ForemanApi::Resources::ConfigTemplate (class)">ConfigTemplate</a></span>, <span class='object_link'><a href="Resources/Dashboard.html" title="ForemanApi::Resources::Dashboard (class)">Dashboard</a></span>, <span class='object_link'><a href="Resources/Domain.html" title="ForemanApi::Resources::Domain (class)">Domain</a></span>, <span class='object_link'><a href="Resources/Environment.html" title="ForemanApi::Resources::Environment (class)">Environment</a></span>, <span class='object_link'><a href="Resources/FactValue.html" title="ForemanApi::Resources::FactValue (class)">FactValue</a></span>, <span class='object_link'><a href="Resources/Home.html" title="ForemanApi::Resources::Home (class)">Home</a></span>, <span class='object_link'><a href="Resources/Host.html" title="ForemanApi::Resources::Host (class)">Host</a></span>, <span class='object_link'><a href="Resources/Hostgroup.html" title="ForemanApi::Resources::Hostgroup (class)">Hostgroup</a></span>, <span class='object_link'><a href="Resources/Image.html" title="ForemanApi::Resources::Image (class)">Image</a></span>, <span class='object_link'><a href="Resources/LookupKey.html" title="ForemanApi::Resources::LookupKey (class)">LookupKey</a></span>, <span class='object_link'><a href="Resources/Medium.html" title="ForemanApi::Resources::Medium (class)">Medium</a></span>, <span class='object_link'><a href="Resources/Model.html" title="ForemanApi::Resources::Model (class)">Model</a></span>, <span class='object_link'><a href="Resources/OperatingSystem.html" title="ForemanApi::Resources::OperatingSystem (class)">OperatingSystem</a></span>, <span class='object_link'><a href="Resources/Ptable.html" title="ForemanApi::Resources::Ptable (class)">Ptable</a></span>, <span class='object_link'><a href="Resources/Puppetclass.html" title="ForemanApi::Resources::Puppetclass (class)">Puppetclass</a></span>, <span class='object_link'><a href="Resources/Report.html" title="ForemanApi::Resources::Report (class)">Report</a></span>, <span class='object_link'><a href="Resources/Role.html" title="ForemanApi::Resources::Role (class)">Role</a></span>, <span class='object_link'><a href="Resources/Setting.html" title="ForemanApi::Resources::Setting (class)">Setting</a></span>, <span class='object_link'><a href="Resources/SmartProxy.html" title="ForemanApi::Resources::SmartProxy (class)">SmartProxy</a></span>, <span class='object_link'><a href="Resources/Subnet.html" title="ForemanApi::Resources::Subnet (class)">Subnet</a></span>, <span class='object_link'><a href="Resources/TemplateKind.html" title="ForemanApi::Resources::TemplateKind (class)">TemplateKind</a></span>, <span class='object_link'><a href="Resources/User.html" title="ForemanApi::Resources::User (class)">User</a></span>, <span class='object_link'><a href="Resources/Usergroup.html" title="ForemanApi::Resources::Usergroup (class)">Usergroup</a></span>
|
96
|
+
|
97
|
+
|
98
|
+
</p>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
<div id="footer">
|
111
|
+
Generated on Mon Jan 21 15:44:34 2013 by
|
112
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
113
|
+
0.8.3 (ruby-1.9.3).
|
114
|
+
</div>
|
115
|
+
|
116
|
+
</body>
|
117
|
+
</html>
|
data/doc/ForemanApi.html
ADDED
@@ -0,0 +1,117 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Module: ForemanApi
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.3
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '';
|
20
|
+
framesUrl = "frames.html#!" + escape(window.location.href);
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="_index.html">Index (F)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">ForemanApi</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Module: ForemanApi
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<dt class="r1 last">Defined in:</dt>
|
82
|
+
<dd class="r1 last">lib/foreman_api/resources/user.rb<span class="defines">,<br />
|
83
|
+
lib/foreman_api/resources/home.rb,<br /> lib/foreman_api/resources/role.rb,<br /> lib/foreman_api/resources/host.rb,<br /> lib/foreman_api/resources/image.rb,<br /> lib/foreman_api/resources/model.rb,<br /> lib/foreman_api/resources/audit.rb,<br /> lib/foreman_api/resources/medium.rb,<br /> lib/foreman_api/resources/domain.rb,<br /> lib/foreman_api/resources/ptable.rb,<br /> lib/foreman_api/resources/report.rb,<br /> lib/foreman_api/resources/subnet.rb,<br /> lib/foreman_api/resources/setting.rb,<br /> lib/foreman_api/resources/bookmark.rb,<br /> lib/foreman_api/resources/usergroup.rb,<br /> lib/foreman_api/resources/dashboard.rb,<br /> lib/foreman_api/resources/hostgroup.rb,<br /> lib/foreman_api/resources/fact_value.rb,<br /> lib/foreman_api/resources/lookup_key.rb,<br /> lib/foreman_api/resources/puppetclass.rb,<br /> lib/foreman_api/resources/environment.rb,<br /> lib/foreman_api/resources/smart_proxy.rb,<br /> lib/foreman_api/resources/architecture.rb,<br /> lib/foreman_api/resources/template_kind.rb,<br /> lib/foreman_api/resources/config_template.rb,<br /> lib/foreman_api/resources/compute_resource.rb,<br /> lib/foreman_api/resources/auth_source_ldap.rb,<br /> lib/foreman_api/resources/operating_system.rb,<br /> lib/foreman_api/resources/common_parameter.rb</span>
|
84
|
+
</dd>
|
85
|
+
|
86
|
+
</dl>
|
87
|
+
<div class="clear"></div>
|
88
|
+
|
89
|
+
<h2>Defined Under Namespace</h2>
|
90
|
+
<p class="children">
|
91
|
+
|
92
|
+
|
93
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="ForemanApi/Resources.html" title="ForemanApi::Resources (module)">Resources</a></span>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
</p>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
<div id="footer">
|
111
|
+
Generated on Mon Jan 21 15:44:34 2013 by
|
112
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
113
|
+
0.8.3 (ruby-1.9.3).
|
114
|
+
</div>
|
115
|
+
|
116
|
+
</body>
|
117
|
+
</html>
|