stackup 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,378 +0,0 @@
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
- Class: Stackup::ErrorMappingProxy
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" 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#!Stackup/ErrorMappingProxy.html";
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 (E)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Stackup.html" title="Stackup (module)">Stackup</a></span></span>
36
- &raquo;
37
- <span class="title">ErrorMappingProxy</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>Class: Stackup::ErrorMappingProxy
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Object</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Stackup::ErrorMappingProxy</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/stackup/error_mapping_proxy.rb</dd>
98
-
99
- </dl>
100
- <div class="clear"></div>
101
-
102
- <h2>Overview</h2><div class="docstring">
103
- <div class="discussion">
104
-
105
- <p>An error-mapping proxy for Aws::CloudFormation models.</p>
106
-
107
- <p>It exists to convert certain types of `ValidationError`, where useful
108
- information is hidden inside the “message”, to Stackup exceptions.</p>
109
-
110
-
111
- </div>
112
- </div>
113
- <div class="tags">
114
-
115
-
116
- </div>
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
- <h2>
125
- Instance Method Summary
126
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
127
- </h2>
128
-
129
- <ul class="summary">
130
-
131
- <li class="public ">
132
- <span class="summary_signature">
133
-
134
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (ErrorMappingProxy) <strong>initialize</strong>(delegate) </a>
135
-
136
-
137
-
138
- </span>
139
-
140
-
141
- <span class="note title constructor">constructor</span>
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
- <span class="summary_desc"><div class='inline'>
151
- <p>A new instance of ErrorMappingProxy.</p>
152
- </div></span>
153
-
154
- </li>
155
-
156
-
157
- <li class="public ">
158
- <span class="summary_signature">
159
-
160
- <a href="#method_missing-instance_method" title="#method_missing (instance method)">- (Object) <strong>method_missing</strong>(*args) </a>
161
-
162
-
163
-
164
- </span>
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
- <span class="summary_desc"><div class='inline'></div></span>
175
-
176
- </li>
177
-
178
-
179
- <li class="public ">
180
- <span class="summary_signature">
181
-
182
- <a href="#respond_to%3F-instance_method" title="#respond_to? (instance method)">- (Boolean) <strong>respond_to?</strong>(method) </a>
183
-
184
-
185
-
186
- </span>
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
- <span class="summary_desc"><div class='inline'></div></span>
197
-
198
- </li>
199
-
200
-
201
- </ul>
202
-
203
-
204
- <div id="constructor_details" class="method_details_list">
205
- <h2>Constructor Details</h2>
206
-
207
- <div class="method_details first">
208
- <h3 class="signature first" id="initialize-instance_method">
209
-
210
- - (<tt><span class='object_link'><a href="" title="Stackup::ErrorMappingProxy (class)">ErrorMappingProxy</a></span></tt>) <strong>initialize</strong>(delegate)
211
-
212
-
213
-
214
-
215
-
216
- </h3><div class="docstring">
217
- <div class="discussion">
218
-
219
- <p>Returns a new instance of ErrorMappingProxy</p>
220
-
221
-
222
- </div>
223
- </div>
224
- <div class="tags">
225
-
226
-
227
- </div><table class="source_code">
228
- <tr>
229
- <td>
230
- <pre class="lines">
231
-
232
-
233
- 12
234
- 13
235
- 14</pre>
236
- </td>
237
- <td>
238
- <pre class="code"><span class="info file"># File 'lib/stackup/error_mapping_proxy.rb', line 12</span>
239
-
240
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_delegate'>delegate</span><span class='rparen'>)</span>
241
- <span class='ivar'>@delegate</span> <span class='op'>=</span> <span class='id identifier rubyid_delegate'>delegate</span>
242
- <span class='kw'>end</span></pre>
243
- </td>
244
- </tr>
245
- </table>
246
- </div>
247
-
248
- </div>
249
- <div id="method_missing_details" class="method_details_list">
250
- <h2>Dynamic Method Handling</h2>
251
- <p class="notice this">
252
- This class handles dynamic methods through the <tt>method_missing</tt> method
253
-
254
- </p>
255
-
256
- <div class="method_details first">
257
- <h3 class="signature first" id="method_missing-instance_method">
258
-
259
- - (<tt>Object</tt>) <strong>method_missing</strong>(*args)
260
-
261
-
262
-
263
-
264
-
265
- </h3><table class="source_code">
266
- <tr>
267
- <td>
268
- <pre class="lines">
269
-
270
-
271
- 16
272
- 17
273
- 18
274
- 19
275
- 20
276
- 21
277
- 22
278
- 23
279
- 24
280
- 25
281
- 26
282
- 27
283
- 28
284
- 29</pre>
285
- </td>
286
- <td>
287
- <pre class="code"><span class="info file"># File 'lib/stackup/error_mapping_proxy.rb', line 16</span>
288
-
289
- <span class='kw'>def</span> <span class='id identifier rubyid_method_missing'>method_missing</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
290
- <span class='ivar'>@delegate</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
291
- <span class='kw'>rescue</span> <span class='const'>Aws</span><span class='op'>::</span><span class='const'>CloudFormation</span><span class='op'>::</span><span class='const'>Errors</span><span class='op'>::</span><span class='const'>ValidationError</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_e'>e</span>
292
- <span class='kw'>case</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
293
- <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>No updates are to be performed.</span><span class='tstring_end'>&quot;</span></span>
294
- <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NoUpdateRequired</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>no updates are required</span><span class='tstring_end'>&quot;</span></span>
295
- <span class='kw'>when</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>Stack .* does not exist$</span><span class='regexp_end'>/</span></span>
296
- <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NoSuchStack</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>no such stack</span><span class='tstring_end'>&quot;</span></span>
297
- <span class='kw'>when</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'> can ?not be </span><span class='regexp_end'>/</span></span>
298
- <span class='id identifier rubyid_raise'>raise</span> <span class='const'>InvalidStateError</span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
299
- <span class='kw'>else</span>
300
- <span class='id identifier rubyid_raise'>raise</span> <span class='id identifier rubyid_e'>e</span>
301
- <span class='kw'>end</span>
302
- <span class='kw'>end</span></pre>
303
- </td>
304
- </tr>
305
- </table>
306
- </div>
307
-
308
- </div>
309
-
310
-
311
- <div id="instance_method_details" class="method_details_list">
312
- <h2>Instance Method Details</h2>
313
-
314
-
315
- <div class="method_details first">
316
- <h3 class="signature first" id="respond_to?-instance_method">
317
-
318
- - (<tt>Boolean</tt>) <strong>respond_to?</strong>(method)
319
-
320
-
321
-
322
-
323
-
324
- </h3><div class="docstring">
325
- <div class="discussion">
326
-
327
-
328
- </div>
329
- </div>
330
- <div class="tags">
331
-
332
- <p class="tag_title">Returns:</p>
333
- <ul class="return">
334
-
335
- <li>
336
-
337
-
338
- <span class='type'>(<tt>Boolean</tt>)</span>
339
-
340
-
341
-
342
- </li>
343
-
344
- </ul>
345
-
346
- </div><table class="source_code">
347
- <tr>
348
- <td>
349
- <pre class="lines">
350
-
351
-
352
- 31
353
- 32
354
- 33</pre>
355
- </td>
356
- <td>
357
- <pre class="code"><span class="info file"># File 'lib/stackup/error_mapping_proxy.rb', line 31</span>
358
-
359
- <span class='kw'>def</span> <span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='rparen'>)</span>
360
- <span class='ivar'>@delegate</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='rparen'>)</span>
361
- <span class='kw'>end</span></pre>
362
- </td>
363
- </tr>
364
- </table>
365
- </div>
366
-
367
- </div>
368
-
369
- </div>
370
-
371
- <div id="footer">
372
- Generated on Fri Oct 9 11:23:11 2015 by
373
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
374
- 0.8.7.6 (ruby-2.2.2).
375
- </div>
376
-
377
- </body>
378
- </html>
@@ -1,142 +0,0 @@
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
- Exception: Stackup::InvalidStateError
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" 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#!Stackup/InvalidStateError.html";
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 (I)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Stackup.html" title="Stackup (module)">Stackup</a></span></span>
36
- &raquo;
37
- <span class="title">InvalidStateError</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>Exception: Stackup::InvalidStateError
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName"><span class='object_link'><a href="ServiceError.html" title="Stackup::ServiceError (class)">ServiceError</a></span></span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">StandardError</li>
82
-
83
- <li class="next"><span class='object_link'><a href="ServiceError.html" title="Stackup::ServiceError (class)">ServiceError</a></span></li>
84
-
85
- <li class="next">Stackup::InvalidStateError</li>
86
-
87
- </ul>
88
- <a href="#" class="inheritanceTree">show all</a>
89
-
90
- </dd>
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- <dt class="r2 last">Defined in:</dt>
101
- <dd class="r2 last">lib/stackup/errors.rb</dd>
102
-
103
- </dl>
104
- <div class="clear"></div>
105
-
106
- <h2>Overview</h2><div class="docstring">
107
- <div class="discussion">
108
-
109
- <p>Raised if we can&#39;t perform that operation now</p>
110
-
111
-
112
- </div>
113
- </div>
114
- <div class="tags">
115
-
116
-
117
- </div>
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
- </div>
134
-
135
- <div id="footer">
136
- Generated on Fri Oct 9 11:23:11 2015 by
137
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
138
- 0.8.7.6 (ruby-2.2.2).
139
- </div>
140
-
141
- </body>
142
- </html>