contentful 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +37 -46
- data/lib/contentful/array.rb +8 -1
- data/lib/contentful/entry.rb +9 -9
- data/lib/contentful/fields_resource.rb +9 -8
- data/lib/contentful/resource_builder.rb +1 -7
- data/lib/contentful/support.rb +22 -0
- data/lib/contentful/version.rb +1 -1
- data/spec/array_spec.rb +21 -0
- data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +159 -0
- metadata +5 -106
- data/coverage/.last_run.json +0 -5
- data/coverage/.resultset.json +0 -1887
- data/coverage/.resultset.json.lock +0 -0
- data/coverage/assets/0.10.0/application.css +0 -799
- data/coverage/assets/0.10.0/application.js +0 -1707
- data/coverage/assets/0.10.0/colorbox/border.png +0 -0
- data/coverage/assets/0.10.0/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.10.0/favicon_green.png +0 -0
- data/coverage/assets/0.10.0/favicon_red.png +0 -0
- data/coverage/assets/0.10.0/favicon_yellow.png +0 -0
- data/coverage/assets/0.10.0/loading.gif +0 -0
- data/coverage/assets/0.10.0/magnify.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +0 -11816
- data/doc/Contentful.html +0 -153
- data/doc/Contentful/AccessDenied.html +0 -161
- data/doc/Contentful/Array.html +0 -743
- data/doc/Contentful/ArrayCoercion.html +0 -244
- data/doc/Contentful/ArrayLike.html +0 -627
- data/doc/Contentful/Asset.html +0 -475
- data/doc/Contentful/BadRequest.html +0 -161
- data/doc/Contentful/BaseCoercion.html +0 -447
- data/doc/Contentful/BaseResource.html +0 -599
- data/doc/Contentful/BooleanCoercion.html +0 -244
- data/doc/Contentful/Client.html +0 -1606
- data/doc/Contentful/Constants.html +0 -636
- data/doc/Contentful/ContentType.html +0 -614
- data/doc/Contentful/ContentTypeCache.html +0 -430
- data/doc/Contentful/DateCoercion.html +0 -240
- data/doc/Contentful/DeletedAsset.html +0 -159
- data/doc/Contentful/DeletedEntry.html +0 -159
- data/doc/Contentful/DynamicEntry.html +0 -214
- data/doc/Contentful/Entry.html +0 -273
- data/doc/Contentful/Error.html +0 -424
- data/doc/Contentful/Field.html +0 -929
- data/doc/Contentful/FieldsResource.html +0 -501
- data/doc/Contentful/File.html +0 -520
- data/doc/Contentful/FloatCoercion.html +0 -240
- data/doc/Contentful/IntegerCoercion.html +0 -240
- data/doc/Contentful/Link.html +0 -251
- data/doc/Contentful/LinkCoercion.html +0 -160
- data/doc/Contentful/Locale.html +0 -447
- data/doc/Contentful/Location.html +0 -385
- data/doc/Contentful/LocationCoercion.html +0 -240
- data/doc/Contentful/NotFound.html +0 -161
- data/doc/Contentful/ObjectCoercion.html +0 -240
- data/doc/Contentful/RateLimitExceeded.html +0 -161
- data/doc/Contentful/Request.html +0 -889
- data/doc/Contentful/Resource.html +0 -117
- data/doc/Contentful/Resource/ArrayLike.html +0 -627
- data/doc/Contentful/Resource/AssetFields.html +0 -246
- data/doc/Contentful/Resource/AssetFields/ClassMethods.html +0 -174
- data/doc/Contentful/Resource/ClassMethods.html +0 -378
- data/doc/Contentful/Resource/CustomResource.html +0 -119
- data/doc/Contentful/Resource/Fields.html +0 -288
- data/doc/Contentful/Resource/Fields/ClassMethods.html +0 -187
- data/doc/Contentful/Resource/LocalizedFields.html +0 -305
- data/doc/Contentful/Resource/SystemProperties.html +0 -205
- data/doc/Contentful/Resource/SystemProperties/ClassMethods.html +0 -174
- data/doc/Contentful/ResourceBuilder.html +0 -969
- data/doc/Contentful/Response.html +0 -641
- data/doc/Contentful/ServerError.html +0 -161
- data/doc/Contentful/ServiceUnavailable.html +0 -161
- data/doc/Contentful/Space.html +0 -395
- data/doc/Contentful/StringCoercion.html +0 -244
- data/doc/Contentful/Support.html +0 -550
- data/doc/Contentful/SymbolCoercion.html +0 -171
- data/doc/Contentful/Sync.html +0 -655
- data/doc/Contentful/SyncPage.html +0 -801
- data/doc/Contentful/TextCoercion.html +0 -171
- data/doc/Contentful/Unauthorized.html +0 -161
- data/doc/Contentful/UnparsableJson.html +0 -161
- data/doc/Contentful/UnparsableResource.html +0 -137
- data/doc/_index.html +0 -537
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -481
- data/doc/file.CHANGELOG.html +0 -506
- data/doc/file.LICENSE.html +0 -72
- data/doc/file.README.html +0 -565
- data/doc/file_list.html +0 -66
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -565
- data/doc/js/app.js +0 -243
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1115
- data/doc/top-level-namespace.html +0 -112
data/doc/Contentful/File.html
DELETED
@@ -1,520 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Class: Contentful::File
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.5
|
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
|
-
pathId = "Contentful::File";
|
19
|
-
relpath = '../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../class_list.html"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../_index.html">Index (F)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../Contentful.html" title="Contentful (module)">Contentful</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">File</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<iframe id="search_frame" src="../class_list.html"></iframe>
|
63
|
-
|
64
|
-
<div id="content"><h1>Class: Contentful::File
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</h1>
|
69
|
-
<div class="box_info">
|
70
|
-
|
71
|
-
<dl>
|
72
|
-
<dt>Inherits:</dt>
|
73
|
-
<dd>
|
74
|
-
<span class="inheritName">Object</span>
|
75
|
-
|
76
|
-
<ul class="fullTree">
|
77
|
-
<li>Object</li>
|
78
|
-
|
79
|
-
<li class="next">Contentful::File</li>
|
80
|
-
|
81
|
-
</ul>
|
82
|
-
<a href="#" class="inheritanceTree">show all</a>
|
83
|
-
|
84
|
-
</dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<dl>
|
98
|
-
<dt>Defined in:</dt>
|
99
|
-
<dd>lib/contentful/file.rb</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
<h2>Overview</h2><div class="docstring">
|
105
|
-
<div class="discussion">
|
106
|
-
|
107
|
-
<p>An Assets's file info</p>
|
108
|
-
|
109
|
-
|
110
|
-
</div>
|
111
|
-
</div>
|
112
|
-
<div class="tags">
|
113
|
-
|
114
|
-
|
115
|
-
</div>
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
120
|
-
<ul class="summary">
|
121
|
-
|
122
|
-
<li class="public ">
|
123
|
-
<span class="summary_signature">
|
124
|
-
|
125
|
-
<a href="#content_type-instance_method" title="#content_type (instance method)">#<strong>content_type</strong> ⇒ Object </a>
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
</span>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
<span class="note title readonly">readonly</span>
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
<span class="summary_desc"><div class='inline'>
|
145
|
-
<p>Returns the value of attribute content_type.</p>
|
146
|
-
</div></span>
|
147
|
-
|
148
|
-
</li>
|
149
|
-
|
150
|
-
|
151
|
-
<li class="public ">
|
152
|
-
<span class="summary_signature">
|
153
|
-
|
154
|
-
<a href="#details-instance_method" title="#details (instance method)">#<strong>details</strong> ⇒ Object </a>
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
</span>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
<span class="note title readonly">readonly</span>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<span class="summary_desc"><div class='inline'>
|
174
|
-
<p>Returns the value of attribute details.</p>
|
175
|
-
</div></span>
|
176
|
-
|
177
|
-
</li>
|
178
|
-
|
179
|
-
|
180
|
-
<li class="public ">
|
181
|
-
<span class="summary_signature">
|
182
|
-
|
183
|
-
<a href="#file_name-instance_method" title="#file_name (instance method)">#<strong>file_name</strong> ⇒ Object </a>
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
</span>
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
<span class="note title readonly">readonly</span>
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
<span class="summary_desc"><div class='inline'>
|
203
|
-
<p>Returns the value of attribute file_name.</p>
|
204
|
-
</div></span>
|
205
|
-
|
206
|
-
</li>
|
207
|
-
|
208
|
-
|
209
|
-
<li class="public ">
|
210
|
-
<span class="summary_signature">
|
211
|
-
|
212
|
-
<a href="#url-instance_method" title="#url (instance method)">#<strong>url</strong> ⇒ Object </a>
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
</span>
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
<span class="note title readonly">readonly</span>
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
<span class="summary_desc"><div class='inline'>
|
232
|
-
<p>Returns the value of attribute url.</p>
|
233
|
-
</div></span>
|
234
|
-
|
235
|
-
</li>
|
236
|
-
|
237
|
-
|
238
|
-
</ul>
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
<h2>
|
245
|
-
Instance Method Summary
|
246
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
247
|
-
</h2>
|
248
|
-
|
249
|
-
<ul class="summary">
|
250
|
-
|
251
|
-
<li class="public ">
|
252
|
-
<span class="summary_signature">
|
253
|
-
|
254
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(json) ⇒ File </a>
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
</span>
|
259
|
-
|
260
|
-
|
261
|
-
<span class="note title constructor">constructor</span>
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
<span class="summary_desc"><div class='inline'>
|
271
|
-
<p>A new instance of File.</p>
|
272
|
-
</div></span>
|
273
|
-
|
274
|
-
</li>
|
275
|
-
|
276
|
-
|
277
|
-
</ul>
|
278
|
-
|
279
|
-
|
280
|
-
<div id="constructor_details" class="method_details_list">
|
281
|
-
<h2>Constructor Details</h2>
|
282
|
-
|
283
|
-
<div class="method_details first">
|
284
|
-
<h3 class="signature first" id="initialize-instance_method">
|
285
|
-
|
286
|
-
#<strong>initialize</strong>(json) ⇒ <tt><span class='object_link'><a href="" title="Contentful::File (class)">File</a></span></tt>
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
</h3><div class="docstring">
|
293
|
-
<div class="discussion">
|
294
|
-
|
295
|
-
<p>Returns a new instance of File</p>
|
296
|
-
|
297
|
-
|
298
|
-
</div>
|
299
|
-
</div>
|
300
|
-
<div class="tags">
|
301
|
-
|
302
|
-
|
303
|
-
</div><table class="source_code">
|
304
|
-
<tr>
|
305
|
-
<td>
|
306
|
-
<pre class="lines">
|
307
|
-
|
308
|
-
|
309
|
-
5
|
310
|
-
6
|
311
|
-
7
|
312
|
-
8
|
313
|
-
9
|
314
|
-
10</pre>
|
315
|
-
</td>
|
316
|
-
<td>
|
317
|
-
<pre class="code"><span class="info file"># File 'lib/contentful/file.rb', line 5</span>
|
318
|
-
|
319
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_json'>json</span><span class='rparen'>)</span>
|
320
|
-
<span class='ivar'>@file_name</span> <span class='op'>=</span> <span class='id identifier rubyid_json'>json</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fileName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
321
|
-
<span class='ivar'>@content_type</span> <span class='op'>=</span> <span class='id identifier rubyid_json'>json</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>contentType</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
322
|
-
<span class='ivar'>@details</span> <span class='op'>=</span> <span class='id identifier rubyid_json'>json</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>details</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
323
|
-
<span class='ivar'>@url</span> <span class='op'>=</span> <span class='id identifier rubyid_json'>json</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>url</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
324
|
-
<span class='kw'>end</span></pre>
|
325
|
-
</td>
|
326
|
-
</tr>
|
327
|
-
</table>
|
328
|
-
</div>
|
329
|
-
|
330
|
-
</div>
|
331
|
-
|
332
|
-
<div id="instance_attr_details" class="attr_details">
|
333
|
-
<h2>Instance Attribute Details</h2>
|
334
|
-
|
335
|
-
|
336
|
-
<span id=""></span>
|
337
|
-
<div class="method_details first">
|
338
|
-
<h3 class="signature first" id="content_type-instance_method">
|
339
|
-
|
340
|
-
#<strong>content_type</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
</h3><div class="docstring">
|
347
|
-
<div class="discussion">
|
348
|
-
|
349
|
-
<p>Returns the value of attribute content_type</p>
|
350
|
-
|
351
|
-
|
352
|
-
</div>
|
353
|
-
</div>
|
354
|
-
<div class="tags">
|
355
|
-
|
356
|
-
|
357
|
-
</div><table class="source_code">
|
358
|
-
<tr>
|
359
|
-
<td>
|
360
|
-
<pre class="lines">
|
361
|
-
|
362
|
-
|
363
|
-
4
|
364
|
-
5
|
365
|
-
6</pre>
|
366
|
-
</td>
|
367
|
-
<td>
|
368
|
-
<pre class="code"><span class="info file"># File 'lib/contentful/file.rb', line 4</span>
|
369
|
-
|
370
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_content_type'>content_type</span>
|
371
|
-
<span class='ivar'>@content_type</span>
|
372
|
-
<span class='kw'>end</span></pre>
|
373
|
-
</td>
|
374
|
-
</tr>
|
375
|
-
</table>
|
376
|
-
</div>
|
377
|
-
|
378
|
-
|
379
|
-
<span id=""></span>
|
380
|
-
<div class="method_details ">
|
381
|
-
<h3 class="signature " id="details-instance_method">
|
382
|
-
|
383
|
-
#<strong>details</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
</h3><div class="docstring">
|
390
|
-
<div class="discussion">
|
391
|
-
|
392
|
-
<p>Returns the value of attribute details</p>
|
393
|
-
|
394
|
-
|
395
|
-
</div>
|
396
|
-
</div>
|
397
|
-
<div class="tags">
|
398
|
-
|
399
|
-
|
400
|
-
</div><table class="source_code">
|
401
|
-
<tr>
|
402
|
-
<td>
|
403
|
-
<pre class="lines">
|
404
|
-
|
405
|
-
|
406
|
-
4
|
407
|
-
5
|
408
|
-
6</pre>
|
409
|
-
</td>
|
410
|
-
<td>
|
411
|
-
<pre class="code"><span class="info file"># File 'lib/contentful/file.rb', line 4</span>
|
412
|
-
|
413
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_details'>details</span>
|
414
|
-
<span class='ivar'>@details</span>
|
415
|
-
<span class='kw'>end</span></pre>
|
416
|
-
</td>
|
417
|
-
</tr>
|
418
|
-
</table>
|
419
|
-
</div>
|
420
|
-
|
421
|
-
|
422
|
-
<span id=""></span>
|
423
|
-
<div class="method_details ">
|
424
|
-
<h3 class="signature " id="file_name-instance_method">
|
425
|
-
|
426
|
-
#<strong>file_name</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
</h3><div class="docstring">
|
433
|
-
<div class="discussion">
|
434
|
-
|
435
|
-
<p>Returns the value of attribute file_name</p>
|
436
|
-
|
437
|
-
|
438
|
-
</div>
|
439
|
-
</div>
|
440
|
-
<div class="tags">
|
441
|
-
|
442
|
-
|
443
|
-
</div><table class="source_code">
|
444
|
-
<tr>
|
445
|
-
<td>
|
446
|
-
<pre class="lines">
|
447
|
-
|
448
|
-
|
449
|
-
4
|
450
|
-
5
|
451
|
-
6</pre>
|
452
|
-
</td>
|
453
|
-
<td>
|
454
|
-
<pre class="code"><span class="info file"># File 'lib/contentful/file.rb', line 4</span>
|
455
|
-
|
456
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_file_name'>file_name</span>
|
457
|
-
<span class='ivar'>@file_name</span>
|
458
|
-
<span class='kw'>end</span></pre>
|
459
|
-
</td>
|
460
|
-
</tr>
|
461
|
-
</table>
|
462
|
-
</div>
|
463
|
-
|
464
|
-
|
465
|
-
<span id=""></span>
|
466
|
-
<div class="method_details ">
|
467
|
-
<h3 class="signature " id="url-instance_method">
|
468
|
-
|
469
|
-
#<strong>url</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
</h3><div class="docstring">
|
476
|
-
<div class="discussion">
|
477
|
-
|
478
|
-
<p>Returns the value of attribute url</p>
|
479
|
-
|
480
|
-
|
481
|
-
</div>
|
482
|
-
</div>
|
483
|
-
<div class="tags">
|
484
|
-
|
485
|
-
|
486
|
-
</div><table class="source_code">
|
487
|
-
<tr>
|
488
|
-
<td>
|
489
|
-
<pre class="lines">
|
490
|
-
|
491
|
-
|
492
|
-
4
|
493
|
-
5
|
494
|
-
6</pre>
|
495
|
-
</td>
|
496
|
-
<td>
|
497
|
-
<pre class="code"><span class="info file"># File 'lib/contentful/file.rb', line 4</span>
|
498
|
-
|
499
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_url'>url</span>
|
500
|
-
<span class='ivar'>@url</span>
|
501
|
-
<span class='kw'>end</span></pre>
|
502
|
-
</td>
|
503
|
-
</tr>
|
504
|
-
</table>
|
505
|
-
</div>
|
506
|
-
|
507
|
-
</div>
|
508
|
-
|
509
|
-
|
510
|
-
</div>
|
511
|
-
|
512
|
-
<div id="footer">
|
513
|
-
Generated on Tue Jul 25 15:15:32 2017 by
|
514
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
515
|
-
0.9.5 (ruby-2.4.1).
|
516
|
-
</div>
|
517
|
-
|
518
|
-
</div>
|
519
|
-
</body>
|
520
|
-
</html>
|