contentful 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/ChangeLog.md +6 -0
- data/Gemfile +5 -0
- data/README.md +1 -0
- data/contentful.gemspec +1 -1
- data/lib/contentful/array.rb +1 -2
- data/lib/contentful/asset.rb +3 -3
- data/lib/contentful/client.rb +15 -18
- data/lib/contentful/content_type.rb +1 -1
- data/lib/contentful/dynamic_entry.rb +6 -6
- data/lib/contentful/entry.rb +1 -1
- data/lib/contentful/error.rb +3 -3
- data/lib/contentful/field.rb +1 -1
- data/lib/contentful/file.rb +1 -1
- data/lib/contentful/link.rb +2 -2
- data/lib/contentful/locale.rb +1 -1
- data/lib/contentful/location.rb +1 -1
- data/lib/contentful/resource.rb +10 -11
- data/lib/contentful/resource_builder.rb +63 -39
- data/lib/contentful/space.rb +1 -1
- data/lib/contentful/support.rb +5 -3
- data/lib/contentful/version.rb +1 -1
- data/spec/fixtures/json_responses/includes.json +111 -0
- data/spec/fixtures/json_responses/link_array.json +43 -0
- data/spec/resource_building_spec.rb +20 -0
- data/spec/spec_helper.rb +5 -1
- metadata +138 -192
- data/.README.md.swp +0 -0
- data/do_request.sh +0 -5
- data/doc/Contentful.html +0 -131
- data/doc/Contentful/AccessDenied.html +0 -158
- data/doc/Contentful/Array.html +0 -346
- data/doc/Contentful/Asset.html +0 -315
- data/doc/Contentful/BadRequest.html +0 -158
- data/doc/Contentful/Client.html +0 -1407
- data/doc/Contentful/ContentType.html +0 -183
- data/doc/Contentful/DynamicEntry.html +0 -333
- data/doc/Contentful/Entry.html +0 -198
- data/doc/Contentful/Error.html +0 -413
- data/doc/Contentful/Field.html +0 -161
- data/doc/Contentful/File.html +0 -160
- data/doc/Contentful/Link.html +0 -275
- data/doc/Contentful/Locale.html +0 -161
- data/doc/Contentful/NotFound.html +0 -158
- data/doc/Contentful/Request.html +0 -669
- data/doc/Contentful/Resource.html +0 -606
- data/doc/Contentful/Resource/AssetFields.html +0 -413
- data/doc/Contentful/Resource/AssetFields/ClassMethods.html +0 -174
- data/doc/Contentful/Resource/ClassMethods.html +0 -271
- data/doc/Contentful/Resource/Fields.html +0 -398
- data/doc/Contentful/Resource/Fields/ClassMethods.html +0 -187
- data/doc/Contentful/Resource/SystemProperties.html +0 -444
- data/doc/Contentful/Resource/SystemProperties/ClassMethods.html +0 -174
- data/doc/Contentful/ResourceBuilder.html +0 -1400
- data/doc/Contentful/Response.html +0 -546
- data/doc/Contentful/ServerError.html +0 -158
- data/doc/Contentful/Space.html +0 -183
- data/doc/Contentful/Support.html +0 -198
- data/doc/Contentful/Unauthorized.html +0 -158
- data/doc/Contentful/UnparsableJson.html +0 -158
- data/doc/Contentful/UnparsableResource.html +0 -158
- data/doc/_index.html +0 -410
- data/doc/class_list.html +0 -54
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -57
- data/doc/css/style.css +0 -338
- data/doc/file.README.html +0 -214
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -26
- data/doc/index.html +0 -214
- data/doc/js/app.js +0 -219
- data/doc/js/full_list.js +0 -178
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -533
- data/doc/top-level-namespace.html +0 -112
data/doc/Contentful/Asset.html
DELETED
@@ -1,315 +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: Contentful::Asset
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.3
|
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#!" + 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 (A)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../Contentful.html" title="Contentful (module)">Contentful</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Asset</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: Contentful::Asset
|
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">Contentful::Asset</li>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
<a href="#" class="inheritanceTree">show all</a>
|
85
|
-
|
86
|
-
</dd>
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
<dt class="r2">Includes:</dt>
|
94
|
-
<dd class="r2"><span class='object_link'><a href="Resource.html" title="Contentful::Resource (module)">Resource</a></span>, <span class='object_link'><a href="Resource/AssetFields.html" title="Contentful::Resource::AssetFields (module)">Resource::AssetFields</a></span>, <span class='object_link'><a href="Resource/SystemProperties.html" title="Contentful::Resource::SystemProperties (module)">Resource::SystemProperties</a></span></dd>
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
<dt class="r1 last">Defined in:</dt>
|
101
|
-
<dd class="r1 last">lib/contentful/asset.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>Resource class for Asset. <a
|
110
|
-
href="https://www.contentful.com/developers/documentation/content-delivery-api/#assets">www.contentful.com/developers/documentation/content-delivery-api/#assets</a></p>
|
111
|
-
|
112
|
-
|
113
|
-
</div>
|
114
|
-
</div>
|
115
|
-
<div class="tags">
|
116
|
-
|
117
|
-
|
118
|
-
</div>
|
119
|
-
<h2>Constant Summary</h2>
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
<h2>Constant Summary</h2>
|
125
|
-
|
126
|
-
<h3 class="inherited">Constants included
|
127
|
-
from <span class='object_link'><a href="Resource/AssetFields.html" title="Contentful::Resource::AssetFields (module)">Resource::AssetFields</a></span></h3>
|
128
|
-
<p class="inherited"><span class='object_link'><a href="Resource/AssetFields.html#FIELDS_COERCIONS-constant" title="Contentful::Resource::AssetFields::FIELDS_COERCIONS (constant)">Resource::AssetFields::FIELDS_COERCIONS</a></span></p>
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
<h3 class="inherited">Constants included
|
133
|
-
from <span class='object_link'><a href="Resource/SystemProperties.html" title="Contentful::Resource::SystemProperties (module)">Resource::SystemProperties</a></span></h3>
|
134
|
-
<p class="inherited"><span class='object_link'><a href="Resource/SystemProperties.html#SYS_COERCIONS-constant" title="Contentful::Resource::SystemProperties::SYS_COERCIONS (constant)">Resource::SystemProperties::SYS_COERCIONS</a></span></p>
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
<h3 class="inherited">Constants included
|
139
|
-
from <span class='object_link'><a href="Resource.html" title="Contentful::Resource (module)">Resource</a></span></h3>
|
140
|
-
<p class="inherited"><span class='object_link'><a href="Resource.html#COERCIONS-constant" title="Contentful::Resource::COERCIONS (constant)">Resource::COERCIONS</a></span></p>
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
<h2>Instance Attribute Summary</h2>
|
146
|
-
|
147
|
-
<h3 class="inherited">Attributes included from <span class='object_link'><a href="Resource/SystemProperties.html" title="Contentful::Resource::SystemProperties (module)">Resource::SystemProperties</a></span></h3>
|
148
|
-
<p class="inherited"><span class='object_link'><a href="Resource/SystemProperties.html#sys-instance_method" title="Contentful::Resource::SystemProperties#sys (method)">#sys</a></span></p>
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
<h3 class="inherited">Attributes included from <span class='object_link'><a href="Resource.html" title="Contentful::Resource (module)">Resource</a></span></h3>
|
153
|
-
<p class="inherited"><span class='object_link'><a href="Resource.html#client-instance_method" title="Contentful::Resource#client (method)">#client</a></span>, <span class='object_link'><a href="Resource.html#properties-instance_method" title="Contentful::Resource#properties (method)">#properties</a></span></p>
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
<h2>
|
158
|
-
Instance Method Summary
|
159
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
160
|
-
</h2>
|
161
|
-
|
162
|
-
<ul class="summary">
|
163
|
-
|
164
|
-
<li class="public ">
|
165
|
-
<span class="summary_signature">
|
166
|
-
|
167
|
-
<a href="#image_url-instance_method" title="#image_url (instance method)">- (Object) <strong>image_url</strong>(options = {}) </a>
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
</span>
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
<span class="summary_desc"><div class='inline'>
|
182
|
-
<p>Returns the image url of an asset Allows you to pass in the following
|
183
|
-
options for image resizing: :width :height :format :quality See <a
|
184
|
-
href="https://www.contentful.com/developers/documentation/content-delivery-api/#image-asset-resizing">www.contentful.com/developers/documentation/content-delivery-api/#image-asset-resizing</a>.</p>
|
185
|
-
</div></span>
|
186
|
-
|
187
|
-
</li>
|
188
|
-
|
189
|
-
|
190
|
-
</ul>
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="Resource/AssetFields.html" title="Contentful::Resource::AssetFields (module)">Resource::AssetFields</a></span></h3>
|
203
|
-
<p class="inherited"><span class='object_link'><a href="Resource/AssetFields.html#fields-instance_method" title="Contentful::Resource::AssetFields#fields (method)">#fields</a></span>, <span class='object_link'><a href="Resource/AssetFields.html#included-class_method" title="Contentful::Resource::AssetFields.included (method)">included</a></span>, <span class='object_link'><a href="Resource/AssetFields.html#initialize-instance_method" title="Contentful::Resource::AssetFields#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Resource/AssetFields.html#inspect-instance_method" title="Contentful::Resource::AssetFields#inspect (method)">#inspect</a></span></p>
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="Resource/SystemProperties.html" title="Contentful::Resource::SystemProperties (module)">Resource::SystemProperties</a></span></h3>
|
214
|
-
<p class="inherited"><span class='object_link'><a href="Resource/SystemProperties.html#included-class_method" title="Contentful::Resource::SystemProperties.included (method)">included</a></span>, <span class='object_link'><a href="Resource/SystemProperties.html#initialize-instance_method" title="Contentful::Resource::SystemProperties#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Resource/SystemProperties.html#inspect-instance_method" title="Contentful::Resource::SystemProperties#inspect (method)">#inspect</a></span></p>
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
<h3 class="inherited">Methods included from <span class='object_link'><a href="Resource.html" title="Contentful::Resource (module)">Resource</a></span></h3>
|
225
|
-
<p class="inherited"><span class='object_link'><a href="Resource.html#array%3F-instance_method" title="Contentful::Resource#array? (method)">#array?</a></span>, <span class='object_link'><a href="Resource.html#fields-instance_method" title="Contentful::Resource#fields (method)">#fields</a></span>, <span class='object_link'><a href="Resource.html#initialize-instance_method" title="Contentful::Resource#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Resource.html#inspect-instance_method" title="Contentful::Resource#inspect (method)">#inspect</a></span>, <span class='object_link'><a href="Resource.html#sys-instance_method" title="Contentful::Resource#sys (method)">#sys</a></span></p>
|
226
|
-
|
227
|
-
|
228
|
-
<div id="instance_method_details" class="method_details_list">
|
229
|
-
<h2>Instance Method Details</h2>
|
230
|
-
|
231
|
-
|
232
|
-
<div class="method_details first">
|
233
|
-
<h3 class="signature first" id="image_url-instance_method">
|
234
|
-
|
235
|
-
- (<tt>Object</tt>) <strong>image_url</strong>(options = {})
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
</h3><div class="docstring">
|
242
|
-
<div class="discussion">
|
243
|
-
|
244
|
-
<p>Returns the image url of an asset Allows you to pass in the following
|
245
|
-
options for image resizing:</p>
|
246
|
-
|
247
|
-
<pre class="code ruby"><code class="ruby"><span class='symbol'>:width</span>
|
248
|
-
<span class='symbol'>:height</span>
|
249
|
-
<span class='symbol'>:format</span>
|
250
|
-
<span class='symbol'>:quality</span></code></pre>
|
251
|
-
|
252
|
-
<p>See <a
|
253
|
-
href="https://www.contentful.com/developers/documentation/content-delivery-api/#image-asset-resizing">www.contentful.com/developers/documentation/content-delivery-api/#image-asset-resizing</a></p>
|
254
|
-
|
255
|
-
|
256
|
-
</div>
|
257
|
-
</div>
|
258
|
-
<div class="tags">
|
259
|
-
|
260
|
-
|
261
|
-
</div><table class="source_code">
|
262
|
-
<tr>
|
263
|
-
<td>
|
264
|
-
<pre class="lines">
|
265
|
-
|
266
|
-
|
267
|
-
19
|
268
|
-
20
|
269
|
-
21
|
270
|
-
22
|
271
|
-
23
|
272
|
-
24
|
273
|
-
25
|
274
|
-
26
|
275
|
-
27
|
276
|
-
28
|
277
|
-
29
|
278
|
-
30
|
279
|
-
31
|
280
|
-
32</pre>
|
281
|
-
</td>
|
282
|
-
<td>
|
283
|
-
<pre class="code"><span class="info file"># File 'lib/contentful/asset.rb', line 19</span>
|
284
|
-
|
285
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_image_url'>image_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
286
|
-
<span class='id identifier rubyid_query'>query</span> <span class='op'>=</span> <span class='lbrace'>{</span>
|
287
|
-
<span class='label'>w:</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:w</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:width</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
288
|
-
<span class='label'>h:</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:h</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:height</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
289
|
-
<span class='label'>fm:</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:fm</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:format</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
290
|
-
<span class='label'>q:</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:q</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:quality</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
291
|
-
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_reject'>reject</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='rbrace'>}</span>
|
292
|
-
|
293
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_query'>query</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
294
|
-
<span class='id identifier rubyid_file'>file</span><span class='period'>.</span><span class='id identifier rubyid_url'>url</span>
|
295
|
-
<span class='kw'>else</span>
|
296
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_file'>file</span><span class='period'>.</span><span class='id identifier rubyid_url'>url</span><span class='rbrace'>}</span><span class='tstring_content'>?</span><span class='embexpr_beg'>#{</span> <span class='const'>URI</span><span class='period'>.</span><span class='id identifier rubyid_encode_www_form'>encode_www_form</span><span class='lparen'>(</span><span class='id identifier rubyid_query'>query</span><span class='rparen'>)</span> <span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
297
|
-
<span class='kw'>end</span>
|
298
|
-
<span class='kw'>end</span></pre>
|
299
|
-
</td>
|
300
|
-
</tr>
|
301
|
-
</table>
|
302
|
-
</div>
|
303
|
-
|
304
|
-
</div>
|
305
|
-
|
306
|
-
</div>
|
307
|
-
|
308
|
-
<div id="footer">
|
309
|
-
Generated on Tue Mar 11 09:25:52 2014 by
|
310
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
311
|
-
0.8.7.3 (ruby-1.9.3).
|
312
|
-
</div>
|
313
|
-
|
314
|
-
</body>
|
315
|
-
</html>
|
@@ -1,158 +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: Contentful::BadRequest
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.3
|
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#!" + 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 (B)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../Contentful.html" title="Contentful (module)">Contentful</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">BadRequest</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: Contentful::BadRequest
|
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="Error.html" title="Contentful::Error (class)">Error</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="Error.html" title="Contentful::Error (class)">Error</a></span></li>
|
84
|
-
|
85
|
-
<li class="next">Contentful::BadRequest</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/contentful/error.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>400</p>
|
110
|
-
|
111
|
-
|
112
|
-
</div>
|
113
|
-
</div>
|
114
|
-
<div class="tags">
|
115
|
-
|
116
|
-
|
117
|
-
</div>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<h2>Instance Attribute Summary</h2>
|
124
|
-
|
125
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Error.html" title="Contentful::Error (class)">Error</a></span></h3>
|
126
|
-
<p class="inherited"><span class='object_link'><a href="Error.html#response-instance_method" title="Contentful::Error#response (method)">#response</a></span></p>
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
<h2>Method Summary</h2>
|
137
|
-
|
138
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Error.html" title="Contentful::Error (class)">Error</a></span></h3>
|
139
|
-
<p class="inherited"><span class='object_link'><a href="Error.html#%5B%5D-class_method" title="Contentful::Error.[] (method)">[]</a></span>, <span class='object_link'><a href="Error.html#initialize-instance_method" title="Contentful::Error#initialize (method)">#initialize</a></span></p>
|
140
|
-
|
141
|
-
<div id="constructor_details" class="method_details_list">
|
142
|
-
<h2>Constructor Details</h2>
|
143
|
-
|
144
|
-
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="Error.html#initialize-instance_method" title="Contentful::Error#initialize (method)">Contentful::Error</a></span></p>
|
145
|
-
|
146
|
-
</div>
|
147
|
-
|
148
|
-
|
149
|
-
</div>
|
150
|
-
|
151
|
-
<div id="footer">
|
152
|
-
Generated on Tue Mar 11 09:25:52 2014 by
|
153
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
154
|
-
0.8.7.3 (ruby-1.9.3).
|
155
|
-
</div>
|
156
|
-
|
157
|
-
</body>
|
158
|
-
</html>
|