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
@@ -1,305 +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
|
-
Module: Contentful::Resource::LocalizedFields
|
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::Resource::LocalizedFields";
|
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 (L)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../Contentful.html" title="Contentful (module)">Contentful</a></span></span> » <span class='title'><span class='object_link'><a href="../Resource.html" title="Contentful::Resource (module)">Resource</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">LocalizedFields</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>Module: Contentful::Resource::LocalizedFields
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</h1>
|
69
|
-
<div class="box_info">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<dl>
|
80
|
-
<dt>Included in:</dt>
|
81
|
-
<dd><span class='object_link'><a href="../Asset.html" title="Contentful::Asset (class)">Asset</a></span>, <span class='object_link'><a href="../Entry.html" title="Contentful::Entry (class)">Entry</a></span></dd>
|
82
|
-
</dl>
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<dl>
|
87
|
-
<dt>Defined in:</dt>
|
88
|
-
<dd>lib/contentful/resource/localized_fields.rb</dd>
|
89
|
-
</dl>
|
90
|
-
|
91
|
-
</div>
|
92
|
-
|
93
|
-
<h2>Overview</h2><div class="docstring">
|
94
|
-
<div class="discussion">
|
95
|
-
|
96
|
-
<p>Include this module into your Resource class to enable it to deal with
|
97
|
-
localized fields</p>
|
98
|
-
|
99
|
-
|
100
|
-
</div>
|
101
|
-
</div>
|
102
|
-
<div class="tags">
|
103
|
-
|
104
|
-
|
105
|
-
</div>
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<h2>
|
114
|
-
Instance Method Summary
|
115
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
116
|
-
</h2>
|
117
|
-
|
118
|
-
<ul class="summary">
|
119
|
-
|
120
|
-
<li class="public ">
|
121
|
-
<span class="summary_signature">
|
122
|
-
|
123
|
-
<a href="#fields_with_locales-instance_method" title="#fields_with_locales (instance method)">#<strong>fields_with_locales</strong> ⇒ Hash </a>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
</span>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
<span class="summary_desc"><div class='inline'>
|
138
|
-
<p>Returns all fields of the asset with locales nested by field.</p>
|
139
|
-
</div></span>
|
140
|
-
|
141
|
-
</li>
|
142
|
-
|
143
|
-
|
144
|
-
<li class="public ">
|
145
|
-
<span class="summary_signature">
|
146
|
-
|
147
|
-
<a href="#locales-instance_method" title="#locales (instance method)">#<strong>locales</strong> ⇒ Object </a>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
</span>
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
<span class="summary_desc"><div class='inline'>
|
162
|
-
<p>Provides a list of the available locales for a Resource.</p>
|
163
|
-
</div></span>
|
164
|
-
|
165
|
-
</li>
|
166
|
-
|
167
|
-
|
168
|
-
</ul>
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<div id="instance_method_details" class="method_details_list">
|
174
|
-
<h2>Instance Method Details</h2>
|
175
|
-
|
176
|
-
|
177
|
-
<div class="method_details first">
|
178
|
-
<h3 class="signature first" id="fields_with_locales-instance_method">
|
179
|
-
|
180
|
-
#<strong>fields_with_locales</strong> ⇒ <tt>Hash</tt>
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
</h3><div class="docstring">
|
187
|
-
<div class="discussion">
|
188
|
-
|
189
|
-
<p>Returns all fields of the asset with locales nested by field</p>
|
190
|
-
|
191
|
-
|
192
|
-
</div>
|
193
|
-
</div>
|
194
|
-
<div class="tags">
|
195
|
-
|
196
|
-
<p class="tag_title">Returns:</p>
|
197
|
-
<ul class="return">
|
198
|
-
|
199
|
-
<li>
|
200
|
-
|
201
|
-
|
202
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
—
|
207
|
-
<div class='inline'>
|
208
|
-
<p>fields for Resource grouped by field name</p>
|
209
|
-
</div>
|
210
|
-
|
211
|
-
</li>
|
212
|
-
|
213
|
-
</ul>
|
214
|
-
|
215
|
-
</div><table class="source_code">
|
216
|
-
<tr>
|
217
|
-
<td>
|
218
|
-
<pre class="lines">
|
219
|
-
|
220
|
-
|
221
|
-
9
|
222
|
-
10
|
223
|
-
11
|
224
|
-
12
|
225
|
-
13
|
226
|
-
14
|
227
|
-
15
|
228
|
-
16
|
229
|
-
17
|
230
|
-
18
|
231
|
-
19</pre>
|
232
|
-
</td>
|
233
|
-
<td>
|
234
|
-
<pre class="code"><span class="info file"># File 'lib/contentful/resource/localized_fields.rb', line 9</span>
|
235
|
-
|
236
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_fields_with_locales'>fields_with_locales</span>
|
237
|
-
<span class='id identifier rubyid_remapped_fields'>remapped_fields</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
238
|
-
<span class='id identifier rubyid_locales'>locales</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_locale'>locale</span><span class='op'>|</span>
|
239
|
-
<span class='id identifier rubyid_fields'>fields</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='op'>|</span>
|
240
|
-
<span class='id identifier rubyid_remapped_fields'>remapped_fields</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
241
|
-
<span class='id identifier rubyid_remapped_fields'>remapped_fields</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='id identifier rubyid_locale'>locale</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
|
242
|
-
<span class='kw'>end</span>
|
243
|
-
<span class='kw'>end</span>
|
244
|
-
|
245
|
-
<span class='id identifier rubyid_remapped_fields'>remapped_fields</span>
|
246
|
-
<span class='kw'>end</span></pre>
|
247
|
-
</td>
|
248
|
-
</tr>
|
249
|
-
</table>
|
250
|
-
</div>
|
251
|
-
|
252
|
-
<div class="method_details ">
|
253
|
-
<h3 class="signature " id="locales-instance_method">
|
254
|
-
|
255
|
-
#<strong>locales</strong> ⇒ <tt>Object</tt>
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
</h3><div class="docstring">
|
262
|
-
<div class="discussion">
|
263
|
-
|
264
|
-
<p>Provides a list of the available locales for a Resource</p>
|
265
|
-
|
266
|
-
|
267
|
-
</div>
|
268
|
-
</div>
|
269
|
-
<div class="tags">
|
270
|
-
|
271
|
-
|
272
|
-
</div><table class="source_code">
|
273
|
-
<tr>
|
274
|
-
<td>
|
275
|
-
<pre class="lines">
|
276
|
-
|
277
|
-
|
278
|
-
22
|
279
|
-
23
|
280
|
-
24</pre>
|
281
|
-
</td>
|
282
|
-
<td>
|
283
|
-
<pre class="code"><span class="info file"># File 'lib/contentful/resource/localized_fields.rb', line 22</span>
|
284
|
-
|
285
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_locales'>locales</span>
|
286
|
-
<span class='ivar'>@fields</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span>
|
287
|
-
<span class='kw'>end</span></pre>
|
288
|
-
</td>
|
289
|
-
</tr>
|
290
|
-
</table>
|
291
|
-
</div>
|
292
|
-
|
293
|
-
</div>
|
294
|
-
|
295
|
-
</div>
|
296
|
-
|
297
|
-
<div id="footer">
|
298
|
-
Generated on Wed Oct 5 11:24:31 2016 by
|
299
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
300
|
-
0.9.5 (ruby-2.3.1).
|
301
|
-
</div>
|
302
|
-
|
303
|
-
</div>
|
304
|
-
</body>
|
305
|
-
</html>
|
@@ -1,205 +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
|
-
Module: Contentful::Resource::SystemProperties
|
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::Resource::SystemProperties";
|
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 (S)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../Contentful.html" title="Contentful (module)">Contentful</a></span></span> » <span class='title'><span class='object_link'><a href="../Resource.html" title="Contentful::Resource (module)">Resource</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">SystemProperties</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>Module: Contentful::Resource::SystemProperties
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</h1>
|
69
|
-
<div class="box_info">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<dl>
|
80
|
-
<dt>Included in:</dt>
|
81
|
-
<dd><span class='object_link'><a href="../DeletedAsset.html" title="Contentful::DeletedAsset (class)">DeletedAsset</a></span>, <span class='object_link'><a href="../DeletedEntry.html" title="Contentful::DeletedEntry (class)">DeletedEntry</a></span>, <span class='object_link'><a href="../Space.html" title="Contentful::Space (class)">Space</a></span>, <span class='object_link'><a href="../SyncPage.html" title="Contentful::SyncPage (class)">SyncPage</a></span></dd>
|
82
|
-
</dl>
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<dl>
|
87
|
-
<dt>Defined in:</dt>
|
88
|
-
<dd>lib/contentful/resource/system_properties.rb</dd>
|
89
|
-
</dl>
|
90
|
-
|
91
|
-
</div>
|
92
|
-
|
93
|
-
<h2>Overview</h2><div class="docstring">
|
94
|
-
<div class="discussion">
|
95
|
-
|
96
|
-
<p>Adds the feature to have system properties to a Resource.</p>
|
97
|
-
|
98
|
-
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
<div class="tags">
|
102
|
-
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
109
|
-
<ul class="summary">
|
110
|
-
|
111
|
-
<li class="public ">
|
112
|
-
<span class="summary_signature">
|
113
|
-
|
114
|
-
<a href="#sys-instance_method" title="#sys (instance method)">#<strong>sys</strong> ⇒ Object </a>
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
</span>
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<span class="note title readonly">readonly</span>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
<span class="summary_desc"><div class='inline'>
|
134
|
-
<p>Returns the value of attribute sys.</p>
|
135
|
-
</div></span>
|
136
|
-
|
137
|
-
</li>
|
138
|
-
|
139
|
-
|
140
|
-
</ul>
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
<div id="instance_attr_details" class="attr_details">
|
147
|
-
<h2>Instance Attribute Details</h2>
|
148
|
-
|
149
|
-
|
150
|
-
<span id=""></span>
|
151
|
-
<div class="method_details first">
|
152
|
-
<h3 class="signature first" id="sys-instance_method">
|
153
|
-
|
154
|
-
#<strong>sys</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
</h3><div class="docstring">
|
161
|
-
<div class="discussion">
|
162
|
-
|
163
|
-
<p>Returns the value of attribute sys</p>
|
164
|
-
|
165
|
-
|
166
|
-
</div>
|
167
|
-
</div>
|
168
|
-
<div class="tags">
|
169
|
-
|
170
|
-
|
171
|
-
</div><table class="source_code">
|
172
|
-
<tr>
|
173
|
-
<td>
|
174
|
-
<pre class="lines">
|
175
|
-
|
176
|
-
|
177
|
-
18
|
178
|
-
19
|
179
|
-
20</pre>
|
180
|
-
</td>
|
181
|
-
<td>
|
182
|
-
<pre class="code"><span class="info file"># File 'lib/contentful/resource/system_properties.rb', line 18</span>
|
183
|
-
|
184
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_sys'>sys</span>
|
185
|
-
<span class='ivar'>@sys</span>
|
186
|
-
<span class='kw'>end</span></pre>
|
187
|
-
</td>
|
188
|
-
</tr>
|
189
|
-
</table>
|
190
|
-
</div>
|
191
|
-
|
192
|
-
</div>
|
193
|
-
|
194
|
-
|
195
|
-
</div>
|
196
|
-
|
197
|
-
<div id="footer">
|
198
|
-
Generated on Fri Jan 6 17:57:03 2017 by
|
199
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
200
|
-
0.9.5 (ruby-2.3.1).
|
201
|
-
</div>
|
202
|
-
|
203
|
-
</div>
|
204
|
-
</body>
|
205
|
-
</html>
|