contentful 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Gemfile.lock +37 -46
  4. data/lib/contentful/array.rb +8 -1
  5. data/lib/contentful/entry.rb +9 -9
  6. data/lib/contentful/fields_resource.rb +9 -8
  7. data/lib/contentful/resource_builder.rb +1 -7
  8. data/lib/contentful/support.rb +22 -0
  9. data/lib/contentful/version.rb +1 -1
  10. data/spec/array_spec.rb +21 -0
  11. data/spec/fixtures/vcr_cassettes/array/nested_resources.yml +159 -0
  12. metadata +5 -106
  13. data/coverage/.last_run.json +0 -5
  14. data/coverage/.resultset.json +0 -1887
  15. data/coverage/.resultset.json.lock +0 -0
  16. data/coverage/assets/0.10.0/application.css +0 -799
  17. data/coverage/assets/0.10.0/application.js +0 -1707
  18. data/coverage/assets/0.10.0/colorbox/border.png +0 -0
  19. data/coverage/assets/0.10.0/colorbox/controls.png +0 -0
  20. data/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
  21. data/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
  22. data/coverage/assets/0.10.0/favicon_green.png +0 -0
  23. data/coverage/assets/0.10.0/favicon_red.png +0 -0
  24. data/coverage/assets/0.10.0/favicon_yellow.png +0 -0
  25. data/coverage/assets/0.10.0/loading.gif +0 -0
  26. data/coverage/assets/0.10.0/magnify.png +0 -0
  27. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  28. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  29. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  30. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  31. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  32. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  33. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  34. data/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  35. data/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  36. data/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  37. data/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  38. data/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  39. data/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  40. data/coverage/index.html +0 -11816
  41. data/doc/Contentful.html +0 -153
  42. data/doc/Contentful/AccessDenied.html +0 -161
  43. data/doc/Contentful/Array.html +0 -743
  44. data/doc/Contentful/ArrayCoercion.html +0 -244
  45. data/doc/Contentful/ArrayLike.html +0 -627
  46. data/doc/Contentful/Asset.html +0 -475
  47. data/doc/Contentful/BadRequest.html +0 -161
  48. data/doc/Contentful/BaseCoercion.html +0 -447
  49. data/doc/Contentful/BaseResource.html +0 -599
  50. data/doc/Contentful/BooleanCoercion.html +0 -244
  51. data/doc/Contentful/Client.html +0 -1606
  52. data/doc/Contentful/Constants.html +0 -636
  53. data/doc/Contentful/ContentType.html +0 -614
  54. data/doc/Contentful/ContentTypeCache.html +0 -430
  55. data/doc/Contentful/DateCoercion.html +0 -240
  56. data/doc/Contentful/DeletedAsset.html +0 -159
  57. data/doc/Contentful/DeletedEntry.html +0 -159
  58. data/doc/Contentful/DynamicEntry.html +0 -214
  59. data/doc/Contentful/Entry.html +0 -273
  60. data/doc/Contentful/Error.html +0 -424
  61. data/doc/Contentful/Field.html +0 -929
  62. data/doc/Contentful/FieldsResource.html +0 -501
  63. data/doc/Contentful/File.html +0 -520
  64. data/doc/Contentful/FloatCoercion.html +0 -240
  65. data/doc/Contentful/IntegerCoercion.html +0 -240
  66. data/doc/Contentful/Link.html +0 -251
  67. data/doc/Contentful/LinkCoercion.html +0 -160
  68. data/doc/Contentful/Locale.html +0 -447
  69. data/doc/Contentful/Location.html +0 -385
  70. data/doc/Contentful/LocationCoercion.html +0 -240
  71. data/doc/Contentful/NotFound.html +0 -161
  72. data/doc/Contentful/ObjectCoercion.html +0 -240
  73. data/doc/Contentful/RateLimitExceeded.html +0 -161
  74. data/doc/Contentful/Request.html +0 -889
  75. data/doc/Contentful/Resource.html +0 -117
  76. data/doc/Contentful/Resource/ArrayLike.html +0 -627
  77. data/doc/Contentful/Resource/AssetFields.html +0 -246
  78. data/doc/Contentful/Resource/AssetFields/ClassMethods.html +0 -174
  79. data/doc/Contentful/Resource/ClassMethods.html +0 -378
  80. data/doc/Contentful/Resource/CustomResource.html +0 -119
  81. data/doc/Contentful/Resource/Fields.html +0 -288
  82. data/doc/Contentful/Resource/Fields/ClassMethods.html +0 -187
  83. data/doc/Contentful/Resource/LocalizedFields.html +0 -305
  84. data/doc/Contentful/Resource/SystemProperties.html +0 -205
  85. data/doc/Contentful/Resource/SystemProperties/ClassMethods.html +0 -174
  86. data/doc/Contentful/ResourceBuilder.html +0 -969
  87. data/doc/Contentful/Response.html +0 -641
  88. data/doc/Contentful/ServerError.html +0 -161
  89. data/doc/Contentful/ServiceUnavailable.html +0 -161
  90. data/doc/Contentful/Space.html +0 -395
  91. data/doc/Contentful/StringCoercion.html +0 -244
  92. data/doc/Contentful/Support.html +0 -550
  93. data/doc/Contentful/SymbolCoercion.html +0 -171
  94. data/doc/Contentful/Sync.html +0 -655
  95. data/doc/Contentful/SyncPage.html +0 -801
  96. data/doc/Contentful/TextCoercion.html +0 -171
  97. data/doc/Contentful/Unauthorized.html +0 -161
  98. data/doc/Contentful/UnparsableJson.html +0 -161
  99. data/doc/Contentful/UnparsableResource.html +0 -137
  100. data/doc/_index.html +0 -537
  101. data/doc/class_list.html +0 -51
  102. data/doc/css/common.css +0 -1
  103. data/doc/css/full_list.css +0 -58
  104. data/doc/css/style.css +0 -481
  105. data/doc/file.CHANGELOG.html +0 -506
  106. data/doc/file.LICENSE.html +0 -72
  107. data/doc/file.README.html +0 -565
  108. data/doc/file_list.html +0 -66
  109. data/doc/frames.html +0 -17
  110. data/doc/index.html +0 -565
  111. data/doc/js/app.js +0 -243
  112. data/doc/js/full_list.js +0 -216
  113. data/doc/js/jquery.js +0 -4
  114. data/doc/method_list.html +0 -1115
  115. data/doc/top-level-namespace.html +0 -112
@@ -1,801 +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::SyncPage
8
-
9
- &mdash; 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::SyncPage";
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> &raquo;
40
- <span class='title'><span class='object_link'><a href="../Contentful.html" title="Contentful (module)">Contentful</a></span></span>
41
- &raquo;
42
- <span class="title">SyncPage</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::SyncPage
65
-
66
-
67
-
68
- </h1>
69
- <div class="box_info">
70
-
71
- <dl>
72
- <dt>Inherits:</dt>
73
- <dd>
74
- <span class="inheritName"><span class='object_link'><a href="BaseResource.html" title="Contentful::BaseResource (class)">BaseResource</a></span></span>
75
-
76
- <ul class="fullTree">
77
- <li>Object</li>
78
-
79
- <li class="next"><span class='object_link'><a href="BaseResource.html" title="Contentful::BaseResource (class)">BaseResource</a></span></li>
80
-
81
- <li class="next">Contentful::SyncPage</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
- </dl>
88
-
89
-
90
-
91
-
92
-
93
-
94
- <dl>
95
- <dt>Includes:</dt>
96
- <dd><span class='object_link'><a href="ArrayLike.html" title="Contentful::ArrayLike (module)">ArrayLike</a></span></dd>
97
- </dl>
98
-
99
-
100
-
101
-
102
-
103
-
104
- <dl>
105
- <dt>Defined in:</dt>
106
- <dd>lib/contentful/sync_page.rb</dd>
107
- </dl>
108
-
109
- </div>
110
-
111
- <h2>Overview</h2><div class="docstring">
112
- <div class="discussion">
113
-
114
- <p>Wrapper Class for Sync results</p>
115
-
116
-
117
- </div>
118
- </div>
119
- <div class="tags">
120
-
121
-
122
- </div>
123
-
124
-
125
-
126
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
127
- <ul class="summary">
128
-
129
- <li class="public ">
130
- <span class="summary_signature">
131
-
132
- <a href="#items-instance_method" title="#items (instance method)">#<strong>items</strong> &#x21d2; Object </a>
133
-
134
-
135
-
136
- </span>
137
-
138
-
139
-
140
-
141
- <span class="note title readonly">readonly</span>
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
- <span class="summary_desc"><div class='inline'>
152
- <p>Returns the value of attribute items.</p>
153
- </div></span>
154
-
155
- </li>
156
-
157
-
158
- <li class="public ">
159
- <span class="summary_signature">
160
-
161
- <a href="#next_page_url-instance_method" title="#next_page_url (instance method)">#<strong>next_page_url</strong> &#x21d2; Object </a>
162
-
163
-
164
-
165
- </span>
166
-
167
-
168
-
169
-
170
- <span class="note title readonly">readonly</span>
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
- <span class="summary_desc"><div class='inline'>
181
- <p>Returns the value of attribute next_page_url.</p>
182
- </div></span>
183
-
184
- </li>
185
-
186
-
187
- <li class="public ">
188
- <span class="summary_signature">
189
-
190
- <a href="#next_sync_url-instance_method" title="#next_sync_url (instance method)">#<strong>next_sync_url</strong> &#x21d2; Object </a>
191
-
192
-
193
-
194
- </span>
195
-
196
-
197
-
198
-
199
- <span class="note title readonly">readonly</span>
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
- <span class="summary_desc"><div class='inline'>
210
- <p>Returns the value of attribute next_sync_url.</p>
211
- </div></span>
212
-
213
- </li>
214
-
215
-
216
- <li class="public ">
217
- <span class="summary_signature">
218
-
219
- <a href="#sync-instance_method" title="#sync (instance method)">#<strong>sync</strong> &#x21d2; Object </a>
220
-
221
-
222
-
223
- </span>
224
-
225
-
226
-
227
-
228
- <span class="note title readonly">readonly</span>
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
-
238
- <span class="summary_desc"><div class='inline'>
239
- <p>Returns the value of attribute sync.</p>
240
- </div></span>
241
-
242
- </li>
243
-
244
-
245
- </ul>
246
-
247
-
248
-
249
-
250
-
251
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="BaseResource.html" title="Contentful::BaseResource (class)">BaseResource</a></span></h3>
252
- <p class="inherited"><span class='object_link'><a href="BaseResource.html#default_locale-instance_method" title="Contentful::BaseResource#default_locale (method)">#default_locale</a></span>, <span class='object_link'><a href="BaseResource.html#raw-instance_method" title="Contentful::BaseResource#raw (method)">#raw</a></span>, <span class='object_link'><a href="BaseResource.html#sys-instance_method" title="Contentful::BaseResource#sys (method)">#sys</a></span></p>
253
-
254
-
255
-
256
- <h2>
257
- Instance Method Summary
258
- <small><a href="#" class="summary_toggle">collapse</a></small>
259
- </h2>
260
-
261
- <ul class="summary">
262
-
263
- <li class="public ">
264
- <span class="summary_signature">
265
-
266
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(item, default_locale) &#x21d2; SyncPage </a>
267
-
268
-
269
-
270
- </span>
271
-
272
-
273
- <span class="note title constructor">constructor</span>
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
-
282
- <span class="summary_desc"><div class='inline'>
283
- <p>A new instance of SyncPage.</p>
284
- </div></span>
285
-
286
- </li>
287
-
288
-
289
- <li class="public ">
290
- <span class="summary_signature">
291
-
292
- <a href="#last_page%3F-instance_method" title="#last_page? (instance method)">#<strong>last_page?</strong> &#x21d2; Boolean </a>
293
-
294
-
295
-
296
- </span>
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
- <span class="summary_desc"><div class='inline'>
307
- <p>Returns wether it is the last sync page.</p>
308
- </div></span>
309
-
310
- </li>
311
-
312
-
313
- <li class="public ">
314
- <span class="summary_signature">
315
-
316
- <a href="#next_page-instance_method" title="#next_page (instance method)">#<strong>next_page</strong> &#x21d2; Contentful::SyncPage, void </a>
317
-
318
-
319
-
320
- </span>
321
-
322
-
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
- <span class="summary_desc"><div class='inline'>
331
- <p>Requests next sync page from API.</p>
332
- </div></span>
333
-
334
- </li>
335
-
336
-
337
- <li class="public ">
338
- <span class="summary_signature">
339
-
340
- <a href="#next_page%3F-instance_method" title="#next_page? (instance method)">#<strong>next_page?</strong> &#x21d2; Boolean </a>
341
-
342
-
343
-
344
- </span>
345
-
346
-
347
-
348
-
349
-
350
-
351
-
352
-
353
-
354
- <span class="summary_desc"><div class='inline'>
355
- <p>Returns wether there is a next sync page.</p>
356
- </div></span>
357
-
358
- </li>
359
-
360
-
361
- </ul>
362
-
363
-
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
- <h3 class="inherited">Methods included from <span class='object_link'><a href="ArrayLike.html" title="Contentful::ArrayLike (module)">ArrayLike</a></span></h3>
374
- <p class="inherited"><span class='object_link'><a href="ArrayLike.html#%5B%5D-instance_method" title="Contentful::ArrayLike#[] (method)">#[]</a></span>, <span class='object_link'><a href="ArrayLike.html#array%3F-instance_method" title="Contentful::ArrayLike#array? (method)">#array?</a></span>, <span class='object_link'><a href="ArrayLike.html#each_item-instance_method" title="Contentful::ArrayLike#each_item (method)">#each_item</a></span>, <span class='object_link'><a href="ArrayLike.html#empty%3F-instance_method" title="Contentful::ArrayLike#empty? (method)">#empty?</a></span>, <span class='object_link'><a href="ArrayLike.html#last-instance_method" title="Contentful::ArrayLike#last (method)">#last</a></span>, <span class='object_link'><a href="ArrayLike.html#size-instance_method" title="Contentful::ArrayLike#size (method)">#size</a></span></p>
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseResource.html" title="Contentful::BaseResource (class)">BaseResource</a></span></h3>
386
- <p class="inherited"><span class='object_link'><a href="BaseResource.html#%3D%3D-instance_method" title="Contentful::BaseResource#== (method)">#==</a></span>, <span class='object_link'><a href="BaseResource.html#reload-instance_method" title="Contentful::BaseResource#reload (method)">#reload</a></span></p>
387
- <div id="constructor_details" class="method_details_list">
388
- <h2>Constructor Details</h2>
389
-
390
- <div class="method_details first">
391
- <h3 class="signature first" id="initialize-instance_method">
392
-
393
- #<strong>initialize</strong>(item, default_locale) &#x21d2; <tt><span class='object_link'><a href="" title="Contentful::SyncPage (class)">SyncPage</a></span></tt>
394
-
395
-
396
-
397
-
398
-
399
- </h3><div class="docstring">
400
- <div class="discussion">
401
-
402
- <p>Returns a new instance of SyncPage</p>
403
-
404
-
405
- </div>
406
- </div>
407
- <div class="tags">
408
-
409
-
410
- </div><table class="source_code">
411
- <tr>
412
- <td>
413
- <pre class="lines">
414
-
415
-
416
- 11
417
- 12
418
- 13
419
- 14
420
- 15
421
- 16
422
- 17</pre>
423
- </td>
424
- <td>
425
- <pre class="code"><span class="info file"># File 'lib/contentful/sync_page.rb', line 11</span>
426
-
427
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_item'>item</span><span class='comma'>,</span> <span class='id identifier rubyid_default_locale'>default_locale</span><span class='comma'>,</span> <span class='op'>*</span><span class='rparen'>)</span>
428
- <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_item'>item</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>default_locale:</span> <span class='id identifier rubyid_default_locale'>default_locale</span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='kw'>true</span><span class='rparen'>)</span>
429
-
430
- <span class='ivar'>@items</span> <span class='op'>=</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>items</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span>
431
- <span class='ivar'>@next_sync_url</span> <span class='op'>=</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nextSyncUrl</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span>
432
- <span class='ivar'>@next_page_url</span> <span class='op'>=</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nextPageUrl</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span>
433
- <span class='kw'>end</span></pre>
434
- </td>
435
- </tr>
436
- </table>
437
- </div>
438
-
439
- </div>
440
-
441
- <div id="instance_attr_details" class="attr_details">
442
- <h2>Instance Attribute Details</h2>
443
-
444
-
445
- <span id=""></span>
446
- <div class="method_details first">
447
- <h3 class="signature first" id="items-instance_method">
448
-
449
- #<strong>items</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
450
-
451
-
452
-
453
-
454
-
455
- </h3><div class="docstring">
456
- <div class="discussion">
457
-
458
- <p>Returns the value of attribute items</p>
459
-
460
-
461
- </div>
462
- </div>
463
- <div class="tags">
464
-
465
-
466
- </div><table class="source_code">
467
- <tr>
468
- <td>
469
- <pre class="lines">
470
-
471
-
472
- 9
473
- 10
474
- 11</pre>
475
- </td>
476
- <td>
477
- <pre class="code"><span class="info file"># File 'lib/contentful/sync_page.rb', line 9</span>
478
-
479
- <span class='kw'>def</span> <span class='id identifier rubyid_items'>items</span>
480
- <span class='ivar'>@items</span>
481
- <span class='kw'>end</span></pre>
482
- </td>
483
- </tr>
484
- </table>
485
- </div>
486
-
487
-
488
- <span id=""></span>
489
- <div class="method_details ">
490
- <h3 class="signature " id="next_page_url-instance_method">
491
-
492
- #<strong>next_page_url</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
493
-
494
-
495
-
496
-
497
-
498
- </h3><div class="docstring">
499
- <div class="discussion">
500
-
501
- <p>Returns the value of attribute next_page_url</p>
502
-
503
-
504
- </div>
505
- </div>
506
- <div class="tags">
507
-
508
-
509
- </div><table class="source_code">
510
- <tr>
511
- <td>
512
- <pre class="lines">
513
-
514
-
515
- 9
516
- 10
517
- 11</pre>
518
- </td>
519
- <td>
520
- <pre class="code"><span class="info file"># File 'lib/contentful/sync_page.rb', line 9</span>
521
-
522
- <span class='kw'>def</span> <span class='id identifier rubyid_next_page_url'>next_page_url</span>
523
- <span class='ivar'>@next_page_url</span>
524
- <span class='kw'>end</span></pre>
525
- </td>
526
- </tr>
527
- </table>
528
- </div>
529
-
530
-
531
- <span id=""></span>
532
- <div class="method_details ">
533
- <h3 class="signature " id="next_sync_url-instance_method">
534
-
535
- #<strong>next_sync_url</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
536
-
537
-
538
-
539
-
540
-
541
- </h3><div class="docstring">
542
- <div class="discussion">
543
-
544
- <p>Returns the value of attribute next_sync_url</p>
545
-
546
-
547
- </div>
548
- </div>
549
- <div class="tags">
550
-
551
-
552
- </div><table class="source_code">
553
- <tr>
554
- <td>
555
- <pre class="lines">
556
-
557
-
558
- 9
559
- 10
560
- 11</pre>
561
- </td>
562
- <td>
563
- <pre class="code"><span class="info file"># File 'lib/contentful/sync_page.rb', line 9</span>
564
-
565
- <span class='kw'>def</span> <span class='id identifier rubyid_next_sync_url'>next_sync_url</span>
566
- <span class='ivar'>@next_sync_url</span>
567
- <span class='kw'>end</span></pre>
568
- </td>
569
- </tr>
570
- </table>
571
- </div>
572
-
573
-
574
- <span id=""></span>
575
- <div class="method_details ">
576
- <h3 class="signature " id="sync-instance_method">
577
-
578
- #<strong>sync</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
579
-
580
-
581
-
582
-
583
-
584
- </h3><div class="docstring">
585
- <div class="discussion">
586
-
587
- <p>Returns the value of attribute sync</p>
588
-
589
-
590
- </div>
591
- </div>
592
- <div class="tags">
593
-
594
-
595
- </div><table class="source_code">
596
- <tr>
597
- <td>
598
- <pre class="lines">
599
-
600
-
601
- 9
602
- 10
603
- 11</pre>
604
- </td>
605
- <td>
606
- <pre class="code"><span class="info file"># File 'lib/contentful/sync_page.rb', line 9</span>
607
-
608
- <span class='kw'>def</span> <span class='id identifier rubyid_sync'>sync</span>
609
- <span class='ivar'>@sync</span>
610
- <span class='kw'>end</span></pre>
611
- </td>
612
- </tr>
613
- </table>
614
- </div>
615
-
616
- </div>
617
-
618
-
619
- <div id="instance_method_details" class="method_details_list">
620
- <h2>Instance Method Details</h2>
621
-
622
-
623
- <div class="method_details first">
624
- <h3 class="signature first" id="last_page?-instance_method">
625
-
626
- #<strong>last_page?</strong> &#x21d2; <tt>Boolean</tt>
627
-
628
-
629
-
630
-
631
-
632
- </h3><div class="docstring">
633
- <div class="discussion">
634
-
635
- <p>Returns wether it is the last sync page</p>
636
-
637
-
638
- </div>
639
- </div>
640
- <div class="tags">
641
-
642
- <p class="tag_title">Returns:</p>
643
- <ul class="return">
644
-
645
- <li>
646
-
647
-
648
- <span class='type'>(<tt>Boolean</tt>)</span>
649
-
650
-
651
-
652
- </li>
653
-
654
- </ul>
655
-
656
- </div><table class="source_code">
657
- <tr>
658
- <td>
659
- <pre class="lines">
660
-
661
-
662
- 43
663
- 44
664
- 45</pre>
665
- </td>
666
- <td>
667
- <pre class="code"><span class="info file"># File 'lib/contentful/sync_page.rb', line 43</span>
668
-
669
- <span class='kw'>def</span> <span class='id identifier rubyid_last_page?'>last_page?</span>
670
- <span class='op'>!</span><span class='id identifier rubyid_next_page_url'>next_page_url</span>
671
- <span class='kw'>end</span></pre>
672
- </td>
673
- </tr>
674
- </table>
675
- </div>
676
-
677
- <div class="method_details ">
678
- <h3 class="signature " id="next_page-instance_method">
679
-
680
- #<strong>next_page</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Contentful::SyncPage (class)">Contentful::SyncPage</a></span></tt>, <tt>void</tt>
681
-
682
-
683
-
684
-
685
-
686
- </h3><div class="docstring">
687
- <div class="discussion">
688
-
689
- <p>Requests next sync page from API</p>
690
-
691
-
692
- </div>
693
- </div>
694
- <div class="tags">
695
-
696
- <p class="tag_title">Returns:</p>
697
- <ul class="return">
698
-
699
- <li>
700
-
701
-
702
- <span class='type'>(<tt><span class='object_link'><a href="" title="Contentful::SyncPage (class)">Contentful::SyncPage</a></span></tt>, <tt>void</tt>)</span>
703
-
704
-
705
-
706
- </li>
707
-
708
- </ul>
709
-
710
- </div><table class="source_code">
711
- <tr>
712
- <td>
713
- <pre class="lines">
714
-
715
-
716
- 27
717
- 28
718
- 29</pre>
719
- </td>
720
- <td>
721
- <pre class="code"><span class="info file"># File 'lib/contentful/sync_page.rb', line 27</span>
722
-
723
- <span class='kw'>def</span> <span class='id identifier rubyid_next_page'>next_page</span>
724
- <span class='id identifier rubyid_sync'>sync</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_next_page_url'>next_page_url</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_next_page?'>next_page?</span>
725
- <span class='kw'>end</span></pre>
726
- </td>
727
- </tr>
728
- </table>
729
- </div>
730
-
731
- <div class="method_details ">
732
- <h3 class="signature " id="next_page?-instance_method">
733
-
734
- #<strong>next_page?</strong> &#x21d2; <tt>Boolean</tt>
735
-
736
-
737
-
738
-
739
-
740
- </h3><div class="docstring">
741
- <div class="discussion">
742
-
743
- <p>Returns wether there is a next sync page</p>
744
-
745
-
746
- </div>
747
- </div>
748
- <div class="tags">
749
-
750
- <p class="tag_title">Returns:</p>
751
- <ul class="return">
752
-
753
- <li>
754
-
755
-
756
- <span class='type'>(<tt>Boolean</tt>)</span>
757
-
758
-
759
-
760
- </li>
761
-
762
- </ul>
763
-
764
- </div><table class="source_code">
765
- <tr>
766
- <td>
767
- <pre class="lines">
768
-
769
-
770
- 34
771
- 35
772
- 36
773
- 37
774
- 38</pre>
775
- </td>
776
- <td>
777
- <pre class="code"><span class="info file"># File 'lib/contentful/sync_page.rb', line 34</span>
778
-
779
- <span class='kw'>def</span> <span class='id identifier rubyid_next_page?'>next_page?</span>
780
- <span class='comment'># rubocop:disable Style/DoubleNegation
781
- </span> <span class='op'>!</span><span class='op'>!</span><span class='id identifier rubyid_next_page_url'>next_page_url</span>
782
- <span class='comment'># rubocop:enable Style/DoubleNegation
783
- </span><span class='kw'>end</span></pre>
784
- </td>
785
- </tr>
786
- </table>
787
- </div>
788
-
789
- </div>
790
-
791
- </div>
792
-
793
- <div id="footer">
794
- Generated on Tue Jul 25 15:15:33 2017 by
795
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
796
- 0.9.5 (ruby-2.4.1).
797
- </div>
798
-
799
- </div>
800
- </body>
801
- </html>