rhc-rest 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/COPYRIGHT +1 -0
- data/Gemfile +4 -0
- data/LICENSE +11 -0
- data/Rakefile +1 -0
- data/bin/sample-usage.rb +124 -0
- data/doc/Gemfile.html +119 -0
- data/doc/Rakefile.html +117 -0
- data/doc/Rhc/Rest/Application.html +571 -0
- data/doc/Rhc/Rest/BaseException.html +226 -0
- data/doc/Rhc/Rest/Cartridge.html +475 -0
- data/doc/Rhc/Rest/Client.html +609 -0
- data/doc/Rhc/Rest/ClientErrorException.html +167 -0
- data/doc/Rhc/Rest/Domain.html +457 -0
- data/doc/Rhc/Rest/Key.html +378 -0
- data/doc/Rhc/Rest/RequestDeniedException.html +166 -0
- data/doc/Rhc/Rest/ResourceAccessException.html +161 -0
- data/doc/Rhc/Rest/ResourceNotFoundException.html +166 -0
- data/doc/Rhc/Rest/ServerErrorException.html +161 -0
- data/doc/Rhc/Rest/ServiceUnavailableException.html +167 -0
- data/doc/Rhc/Rest/UnAuthorizedException.html +167 -0
- data/doc/Rhc/Rest/User.html +354 -0
- data/doc/Rhc/Rest/ValidationException.html +255 -0
- data/doc/Rhc/Rest.html +410 -0
- data/doc/Rhc.html +329 -0
- data/doc/created.rid +13 -0
- data/doc/doc/created.rid +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +112 -0
- data/doc/js/darkfish.js +153 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +543 -0
- data/doc/table_of_contents.html +198 -0
- data/lib/rhc-rest/application.rb +81 -0
- data/lib/rhc-rest/cartridge.rb +64 -0
- data/lib/rhc-rest/client.rb +122 -0
- data/lib/rhc-rest/domain.rb +56 -0
- data/lib/rhc-rest/exceptions/exceptions.rb +73 -0
- data/lib/rhc-rest/key.rb +34 -0
- data/lib/rhc-rest/user.rb +41 -0
- data/lib/rhc-rest/version.rb +5 -0
- data/lib/rhc-rest.rb +155 -0
- data/rhc-rest.gemspec +26 -0
- data/rhc-rest.spec +79 -0
- metadata +162 -0
data/doc/Rhc.html
ADDED
@@ -0,0 +1,329 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>module Rhc - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body id="top" class="module">
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="file-metadata">
|
47
|
+
<nav id="file-list-section" class="section">
|
48
|
+
<h3 class="section-header">Defined In</h3>
|
49
|
+
<ul>
|
50
|
+
<li>lib/rhc-rest.rb
|
51
|
+
<li>lib/rhc-rest/version.rb
|
52
|
+
<li>lib/rhc-rest/application.rb
|
53
|
+
<li>lib/rhc-rest/cartridge.rb
|
54
|
+
<li>lib/rhc-rest/user.rb
|
55
|
+
<li>lib/rhc-rest/exceptions/exceptions.rb
|
56
|
+
<li>lib/rhc-rest/domain.rb
|
57
|
+
<li>lib/rhc-rest/key.rb
|
58
|
+
<li>lib/rhc-rest/client.rb
|
59
|
+
</ul>
|
60
|
+
</nav>
|
61
|
+
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
65
|
+
<div id="class-metadata">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</div>
|
71
|
+
|
72
|
+
<div id="project-metadata">
|
73
|
+
<nav id="fileindex-section" class="section project-section">
|
74
|
+
<h3 class="section-header">Pages</h3>
|
75
|
+
|
76
|
+
<ul>
|
77
|
+
|
78
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
79
|
+
|
80
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
81
|
+
|
82
|
+
</ul>
|
83
|
+
</nav>
|
84
|
+
|
85
|
+
<nav id="classindex-section" class="section project-section">
|
86
|
+
<h3 class="section-header">Class and Module Index</h3>
|
87
|
+
|
88
|
+
<ul class="link-list">
|
89
|
+
|
90
|
+
<li><a href="./Rhc.html">Rhc</a>
|
91
|
+
|
92
|
+
<li><a href="./Rhc/Rest.html">Rhc::Rest</a>
|
93
|
+
|
94
|
+
<li><a href="./Rhc/Rest/Application.html">Rhc::Rest::Application</a>
|
95
|
+
|
96
|
+
<li><a href="./Rhc/Rest/BaseException.html">Rhc::Rest::BaseException</a>
|
97
|
+
|
98
|
+
<li><a href="./Rhc/Rest/Cartridge.html">Rhc::Rest::Cartridge</a>
|
99
|
+
|
100
|
+
<li><a href="./Rhc/Rest/Client.html">Rhc::Rest::Client</a>
|
101
|
+
|
102
|
+
<li><a href="./Rhc/Rest/ClientErrorException.html">Rhc::Rest::ClientErrorException</a>
|
103
|
+
|
104
|
+
<li><a href="./Rhc/Rest/Domain.html">Rhc::Rest::Domain</a>
|
105
|
+
|
106
|
+
<li><a href="./Rhc/Rest/Key.html">Rhc::Rest::Key</a>
|
107
|
+
|
108
|
+
<li><a href="./Rhc/Rest/RequestDeniedException.html">Rhc::Rest::RequestDeniedException</a>
|
109
|
+
|
110
|
+
<li><a href="./Rhc/Rest/ResourceAccessException.html">Rhc::Rest::ResourceAccessException</a>
|
111
|
+
|
112
|
+
<li><a href="./Rhc/Rest/ResourceNotFoundException.html">Rhc::Rest::ResourceNotFoundException</a>
|
113
|
+
|
114
|
+
<li><a href="./Rhc/Rest/ServerErrorException.html">Rhc::Rest::ServerErrorException</a>
|
115
|
+
|
116
|
+
<li><a href="./Rhc/Rest/ServiceUnavailableException.html">Rhc::Rest::ServiceUnavailableException</a>
|
117
|
+
|
118
|
+
<li><a href="./Rhc/Rest/UnAuthorizedException.html">Rhc::Rest::UnAuthorizedException</a>
|
119
|
+
|
120
|
+
<li><a href="./Rhc/Rest/User.html">Rhc::Rest::User</a>
|
121
|
+
|
122
|
+
<li><a href="./Rhc/Rest/ValidationException.html">Rhc::Rest::ValidationException</a>
|
123
|
+
|
124
|
+
</ul>
|
125
|
+
</nav>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
</nav>
|
129
|
+
|
130
|
+
<div id="documentation">
|
131
|
+
<h1 class="module">module Rhc</h1>
|
132
|
+
|
133
|
+
<div id="description" class="description">
|
134
|
+
|
135
|
+
<p>Copyright 2011 Red Hat, Inc.</p>
|
136
|
+
|
137
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
138
|
+
copy of this software and associated documentation files (the
|
139
|
+
“Software”), to deal in the Software without restriction, including
|
140
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
141
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
142
|
+
persons to whom the Software is furnished to do so, subject to the
|
143
|
+
following conditions:</p>
|
144
|
+
|
145
|
+
<p>The above copyright notice and this permission notice shall be included in
|
146
|
+
all copies or substantial portions of the Software.</p>
|
147
|
+
|
148
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
149
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
150
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
151
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
152
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
153
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
154
|
+
DEALINGS IN THE SOFTWARE.</p>
|
155
|
+
|
156
|
+
<p>Copyright 2011 Red Hat, Inc.</p>
|
157
|
+
|
158
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
159
|
+
copy of this software and associated documentation files (the
|
160
|
+
“Software”), to deal in the Software without restriction, including
|
161
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
162
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
163
|
+
persons to whom the Software is furnished to do so, subject to the
|
164
|
+
following conditions:</p>
|
165
|
+
|
166
|
+
<p>The above copyright notice and this permission notice shall be included in
|
167
|
+
all copies or substantial portions of the Software.</p>
|
168
|
+
|
169
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
170
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
171
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
172
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
173
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
174
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
175
|
+
DEALINGS IN THE SOFTWARE.</p>
|
176
|
+
|
177
|
+
<p>Copyright 2011 Red Hat, Inc.</p>
|
178
|
+
|
179
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
180
|
+
copy of this software and associated documentation files (the
|
181
|
+
“Software”), to deal in the Software without restriction, including
|
182
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
183
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
184
|
+
persons to whom the Software is furnished to do so, subject to the
|
185
|
+
following conditions:</p>
|
186
|
+
|
187
|
+
<p>The above copyright notice and this permission notice shall be included in
|
188
|
+
all copies or substantial portions of the Software.</p>
|
189
|
+
|
190
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
191
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
192
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
193
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
194
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
195
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
196
|
+
DEALINGS IN THE SOFTWARE.</p>
|
197
|
+
|
198
|
+
<p>Copyright 2011 Red Hat, Inc.</p>
|
199
|
+
|
200
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
201
|
+
copy of this software and associated documentation files (the
|
202
|
+
“Software”), to deal in the Software without restriction, including
|
203
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
204
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
205
|
+
persons to whom the Software is furnished to do so, subject to the
|
206
|
+
following conditions:</p>
|
207
|
+
|
208
|
+
<p>The above copyright notice and this permission notice shall be included in
|
209
|
+
all copies or substantial portions of the Software.</p>
|
210
|
+
|
211
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
212
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
213
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
214
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
215
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
216
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
217
|
+
DEALINGS IN THE SOFTWARE.</p>
|
218
|
+
|
219
|
+
<p>Copyright 2011 Red Hat, Inc.</p>
|
220
|
+
|
221
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
222
|
+
copy of this software and associated documentation files (the
|
223
|
+
“Software”), to deal in the Software without restriction, including
|
224
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
225
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
226
|
+
persons to whom the Software is furnished to do so, subject to the
|
227
|
+
following conditions:</p>
|
228
|
+
|
229
|
+
<p>The above copyright notice and this permission notice shall be included in
|
230
|
+
all copies or substantial portions of the Software.</p>
|
231
|
+
|
232
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
233
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
234
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
235
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
236
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
237
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
238
|
+
DEALINGS IN THE SOFTWARE.</p>
|
239
|
+
|
240
|
+
<p>Copyright 2011 Red Hat, Inc.</p>
|
241
|
+
|
242
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
243
|
+
copy of this software and associated documentation files (the
|
244
|
+
“Software”), to deal in the Software without restriction, including
|
245
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
246
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
247
|
+
persons to whom the Software is furnished to do so, subject to the
|
248
|
+
following conditions:</p>
|
249
|
+
|
250
|
+
<p>The above copyright notice and this permission notice shall be included in
|
251
|
+
all copies or substantial portions of the Software.</p>
|
252
|
+
|
253
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
254
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
255
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
256
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
257
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
258
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
259
|
+
DEALINGS IN THE SOFTWARE.</p>
|
260
|
+
|
261
|
+
<p>Copyright 2011 Red Hat, Inc.</p>
|
262
|
+
|
263
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
264
|
+
copy of this software and associated documentation files (the
|
265
|
+
“Software”), to deal in the Software without restriction, including
|
266
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
267
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
268
|
+
persons to whom the Software is furnished to do so, subject to the
|
269
|
+
following conditions:</p>
|
270
|
+
|
271
|
+
<p>The above copyright notice and this permission notice shall be included in
|
272
|
+
all copies or substantial portions of the Software.</p>
|
273
|
+
|
274
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
275
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
276
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
277
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
278
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
279
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
280
|
+
DEALINGS IN THE SOFTWARE.</p>
|
281
|
+
|
282
|
+
<p>Copyright 2011 Red Hat, Inc.</p>
|
283
|
+
|
284
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
285
|
+
copy of this software and associated documentation files (the
|
286
|
+
“Software”), to deal in the Software without restriction, including
|
287
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
288
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
289
|
+
persons to whom the Software is furnished to do so, subject to the
|
290
|
+
following conditions:</p>
|
291
|
+
|
292
|
+
<p>The above copyright notice and this permission notice shall be included in
|
293
|
+
all copies or substantial portions of the Software.</p>
|
294
|
+
|
295
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
296
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
297
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
298
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
299
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
300
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
301
|
+
DEALINGS IN THE SOFTWARE.</p>
|
302
|
+
|
303
|
+
</div><!-- description -->
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
<!-- Methods -->
|
318
|
+
|
319
|
+
</section><!-- 5Buntitled-5D -->
|
320
|
+
|
321
|
+
</div><!-- documentation -->
|
322
|
+
|
323
|
+
|
324
|
+
<footer id="validator-badges">
|
325
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
326
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
327
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
328
|
+
</footer>
|
329
|
+
|
data/doc/created.rid
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Fri, 10 Feb 2012 16:23:58 -0800
|
2
|
+
./Rakefile Mon, 06 Feb 2012 15:02:19 -0800
|
3
|
+
./lib/rhc-rest/exceptions/exceptions.rb Fri, 10 Feb 2012 16:23:49 -0800
|
4
|
+
./lib/rhc-rest/application.rb Fri, 10 Feb 2012 16:11:38 -0800
|
5
|
+
./lib/rhc-rest/cartridge.rb Fri, 10 Feb 2012 16:12:08 -0800
|
6
|
+
./lib/rhc-rest.rb Fri, 10 Feb 2012 15:32:33 -0800
|
7
|
+
./lib/rhc-rest/key.rb Fri, 10 Feb 2012 16:12:48 -0800
|
8
|
+
./lib/rhc-rest/user.rb Fri, 10 Feb 2012 16:13:05 -0800
|
9
|
+
./bin/sample-usage.rb Fri, 10 Feb 2012 15:28:57 -0800
|
10
|
+
./Gemfile Mon, 06 Feb 2012 15:02:19 -0800
|
11
|
+
./lib/rhc-rest/client.rb Fri, 10 Feb 2012 16:10:43 -0800
|
12
|
+
./lib/rhc-rest/domain.rb Fri, 10 Feb 2012 16:12:33 -0800
|
13
|
+
./lib/rhc-rest/version.rb Fri, 10 Feb 2012 15:32:22 -0800
|
data/doc/doc/created.rid
ADDED
File without changes
|
data/doc/images/add.png
ADDED
Binary file
|
Binary file
|
Binary file
|
data/doc/images/bug.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/date.png
ADDED
Binary file
|
Binary file
|
data/doc/images/find.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/ruby.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/images/zoom.png
ADDED
Binary file
|
data/doc/index.html
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
+
|
7
|
+
<title>RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
+
|
11
|
+
<script type="text/javascript">
|
12
|
+
var rdoc_rel_prefix = "./";
|
13
|
+
</script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
+
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
+
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
+
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
+
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
+
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
+
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<nav id="metadata">
|
25
|
+
<nav id="home-section" class="section">
|
26
|
+
<h3 class="section-header">
|
27
|
+
<a href="./index.html">Home</a>
|
28
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
+
</h3>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
|
34
|
+
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
+
<form action="#" method="get" accept-charset="utf-8">
|
36
|
+
<h3 class="section-header">
|
37
|
+
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
+
</h3>
|
40
|
+
</form>
|
41
|
+
|
42
|
+
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
+
</nav>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="project-metadata">
|
47
|
+
<nav id="fileindex-section" class="section project-section">
|
48
|
+
<h3 class="section-header">Pages</h3>
|
49
|
+
|
50
|
+
<ul>
|
51
|
+
|
52
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a>
|
53
|
+
|
54
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a>
|
55
|
+
|
56
|
+
</ul>
|
57
|
+
</nav>
|
58
|
+
|
59
|
+
<nav id="classindex-section" class="section project-section">
|
60
|
+
<h3 class="section-header">Class and Module Index</h3>
|
61
|
+
|
62
|
+
<ul class="link-list">
|
63
|
+
|
64
|
+
<li><a href="./Rhc.html">Rhc</a>
|
65
|
+
|
66
|
+
<li><a href="./Rhc/Rest.html">Rhc::Rest</a>
|
67
|
+
|
68
|
+
<li><a href="./Rhc/Rest/Application.html">Rhc::Rest::Application</a>
|
69
|
+
|
70
|
+
<li><a href="./Rhc/Rest/BaseException.html">Rhc::Rest::BaseException</a>
|
71
|
+
|
72
|
+
<li><a href="./Rhc/Rest/Cartridge.html">Rhc::Rest::Cartridge</a>
|
73
|
+
|
74
|
+
<li><a href="./Rhc/Rest/Client.html">Rhc::Rest::Client</a>
|
75
|
+
|
76
|
+
<li><a href="./Rhc/Rest/ClientErrorException.html">Rhc::Rest::ClientErrorException</a>
|
77
|
+
|
78
|
+
<li><a href="./Rhc/Rest/Domain.html">Rhc::Rest::Domain</a>
|
79
|
+
|
80
|
+
<li><a href="./Rhc/Rest/Key.html">Rhc::Rest::Key</a>
|
81
|
+
|
82
|
+
<li><a href="./Rhc/Rest/RequestDeniedException.html">Rhc::Rest::RequestDeniedException</a>
|
83
|
+
|
84
|
+
<li><a href="./Rhc/Rest/ResourceAccessException.html">Rhc::Rest::ResourceAccessException</a>
|
85
|
+
|
86
|
+
<li><a href="./Rhc/Rest/ResourceNotFoundException.html">Rhc::Rest::ResourceNotFoundException</a>
|
87
|
+
|
88
|
+
<li><a href="./Rhc/Rest/ServerErrorException.html">Rhc::Rest::ServerErrorException</a>
|
89
|
+
|
90
|
+
<li><a href="./Rhc/Rest/ServiceUnavailableException.html">Rhc::Rest::ServiceUnavailableException</a>
|
91
|
+
|
92
|
+
<li><a href="./Rhc/Rest/UnAuthorizedException.html">Rhc::Rest::UnAuthorizedException</a>
|
93
|
+
|
94
|
+
<li><a href="./Rhc/Rest/User.html">Rhc::Rest::User</a>
|
95
|
+
|
96
|
+
<li><a href="./Rhc/Rest/ValidationException.html">Rhc::Rest::ValidationException</a>
|
97
|
+
|
98
|
+
</ul>
|
99
|
+
</nav>
|
100
|
+
|
101
|
+
</div>
|
102
|
+
</nav>
|
103
|
+
|
104
|
+
<p>This is the API documentation for RDoc Documentation.
|
105
|
+
|
106
|
+
|
107
|
+
<footer id="validator-badges">
|
108
|
+
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
109
|
+
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
110
|
+
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
111
|
+
</footer>
|
112
|
+
|
data/doc/js/darkfish.js
ADDED
@@ -0,0 +1,153 @@
|
|
1
|
+
/**
|
2
|
+
*
|
3
|
+
* Darkfish Page Functions
|
4
|
+
* $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
|
5
|
+
*
|
6
|
+
* Author: Michael Granger <mgranger@laika.com>
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Provide console simulation for firebug-less environments */
|
11
|
+
if (!("console" in window) || !("firebug" in console)) {
|
12
|
+
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
13
|
+
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
14
|
+
|
15
|
+
window.console = {};
|
16
|
+
for (var i = 0; i < names.length; ++i)
|
17
|
+
window.console[names[i]] = function() {};
|
18
|
+
};
|
19
|
+
|
20
|
+
|
21
|
+
/**
|
22
|
+
* Unwrap the first element that matches the given @expr@ from the targets and return them.
|
23
|
+
*/
|
24
|
+
$.fn.unwrap = function( expr ) {
|
25
|
+
return this.each( function() {
|
26
|
+
$(this).parents( expr ).eq( 0 ).after( this ).remove();
|
27
|
+
});
|
28
|
+
};
|
29
|
+
|
30
|
+
|
31
|
+
function showSource( e ) {
|
32
|
+
var target = e.target;
|
33
|
+
var codeSections = $(target).
|
34
|
+
parents('.method-detail').
|
35
|
+
find('.method-source-code');
|
36
|
+
|
37
|
+
$(target).
|
38
|
+
parents('.method-detail').
|
39
|
+
find('.method-source-code').
|
40
|
+
slideToggle();
|
41
|
+
};
|
42
|
+
|
43
|
+
function hookSourceViews() {
|
44
|
+
$('.method-heading').click( showSource );
|
45
|
+
};
|
46
|
+
|
47
|
+
function toggleDebuggingSection() {
|
48
|
+
$('.debugging-section').slideToggle();
|
49
|
+
};
|
50
|
+
|
51
|
+
function hookDebuggingToggle() {
|
52
|
+
$('#debugging-toggle img').click( toggleDebuggingSection );
|
53
|
+
};
|
54
|
+
|
55
|
+
function hookTableOfContentsToggle() {
|
56
|
+
$('.indexpage li .toc-toggle').each( function() {
|
57
|
+
$(this).click( function() {
|
58
|
+
$(this).toggleClass('open');
|
59
|
+
});
|
60
|
+
|
61
|
+
var section = $(this).next();
|
62
|
+
|
63
|
+
$(this).click( function() {
|
64
|
+
section.slideToggle();
|
65
|
+
});
|
66
|
+
});
|
67
|
+
}
|
68
|
+
|
69
|
+
function hookSearch() {
|
70
|
+
var input = $('#search-field').eq(0);
|
71
|
+
var result = $('#search-results').eq(0);
|
72
|
+
$(result).show();
|
73
|
+
|
74
|
+
var search_section = $('#search-section').get(0);
|
75
|
+
$(search_section).show();
|
76
|
+
|
77
|
+
var search = new Search(search_data, input, result);
|
78
|
+
|
79
|
+
search.renderItem = function(result) {
|
80
|
+
var li = document.createElement('li');
|
81
|
+
var html = '';
|
82
|
+
|
83
|
+
// TODO add relative path to <script> per-page
|
84
|
+
html += '<p class="search-match"><a href="' + rdoc_rel_prefix + result.path + '">' + this.hlt(result.title);
|
85
|
+
if (result.params)
|
86
|
+
html += '<span class="params">' + result.params + '</span>';
|
87
|
+
html += '</a>';
|
88
|
+
|
89
|
+
|
90
|
+
if (result.namespace)
|
91
|
+
html += '<p class="search-namespace">' + this.hlt(result.namespace);
|
92
|
+
|
93
|
+
if (result.snippet)
|
94
|
+
html += '<div class="search-snippet">' + result.snippet + '</div>';
|
95
|
+
|
96
|
+
li.innerHTML = html;
|
97
|
+
|
98
|
+
return li;
|
99
|
+
}
|
100
|
+
|
101
|
+
search.select = function(result) {
|
102
|
+
var result_element = result.get(0);
|
103
|
+
window.location.href = result_element.firstChild.firstChild.href;
|
104
|
+
}
|
105
|
+
|
106
|
+
search.scrollIntoView = search.scrollInWindow;
|
107
|
+
};
|
108
|
+
|
109
|
+
function highlightTarget( anchor ) {
|
110
|
+
console.debug( "Highlighting target '%s'.", anchor );
|
111
|
+
|
112
|
+
$("a[name=" + anchor + "]").each( function() {
|
113
|
+
if ( !$(this).parent().parent().hasClass('target-section') ) {
|
114
|
+
console.debug( "Wrapping the target-section" );
|
115
|
+
$('div.method-detail').unwrap( 'div.target-section' );
|
116
|
+
$(this).parent().wrap( '<div class="target-section"></div>' );
|
117
|
+
} else {
|
118
|
+
console.debug( "Already wrapped." );
|
119
|
+
}
|
120
|
+
});
|
121
|
+
};
|
122
|
+
|
123
|
+
function highlightLocationTarget() {
|
124
|
+
console.debug( "Location hash: %s", window.location.hash );
|
125
|
+
if ( ! window.location.hash || window.location.hash.length == 0 ) return;
|
126
|
+
|
127
|
+
var anchor = window.location.hash.substring(1);
|
128
|
+
console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
|
129
|
+
|
130
|
+
highlightTarget( anchor );
|
131
|
+
};
|
132
|
+
|
133
|
+
function highlightClickTarget( event ) {
|
134
|
+
console.debug( "Highlighting click target for event %o", event.target );
|
135
|
+
try {
|
136
|
+
var anchor = $(event.target).attr( 'href' ).substring(1);
|
137
|
+
console.debug( "Found target anchor: %s", anchor );
|
138
|
+
highlightTarget( anchor );
|
139
|
+
} catch ( err ) {
|
140
|
+
console.error( "Exception while highlighting: %o", err );
|
141
|
+
};
|
142
|
+
};
|
143
|
+
|
144
|
+
|
145
|
+
$(document).ready( function() {
|
146
|
+
hookSourceViews();
|
147
|
+
hookDebuggingToggle();
|
148
|
+
hookSearch();
|
149
|
+
highlightLocationTarget();
|
150
|
+
hookTableOfContentsToggle();
|
151
|
+
|
152
|
+
$('ul.link-list a').bind( "click", highlightClickTarget );
|
153
|
+
});
|