prismic.io 1.4.3 → 1.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/docs/Prismic/API/BadPrismicResponseError.html +44 -43
  4. data/docs/Prismic/API/OAuth.html +99 -98
  5. data/docs/Prismic/API/PrismicWSAuthError.html +67 -66
  6. data/docs/Prismic/API/PrismicWSConnectionError.html +51 -50
  7. data/docs/Prismic/API.html +434 -280
  8. data/docs/Prismic/BasicNullCache.html +49 -48
  9. data/docs/Prismic/DefaultHTTPClient.html +85 -79
  10. data/docs/Prismic/Document.html +279 -83
  11. data/docs/Prismic/Error.html +52 -51
  12. data/docs/Prismic/Experiment.html +60 -59
  13. data/docs/Prismic/Experiments.html +61 -60
  14. data/docs/Prismic/Field.html +54 -53
  15. data/docs/Prismic/Form.html +70 -69
  16. data/docs/Prismic/Fragments/Color.html +60 -59
  17. data/docs/Prismic/Fragments/Date.html +52 -51
  18. data/docs/Prismic/Fragments/DocumentLink.html +78 -76
  19. data/docs/Prismic/Fragments/Embed.html +60 -59
  20. data/docs/Prismic/Fragments/FileLink.html +58 -57
  21. data/docs/Prismic/Fragments/Fragment.html +49 -48
  22. data/docs/Prismic/Fragments/GeoPoint.html +54 -53
  23. data/docs/Prismic/Fragments/Group.html +65 -63
  24. data/docs/Prismic/Fragments/GroupDocument.html +57 -55
  25. data/docs/Prismic/Fragments/Image/View.html +64 -63
  26. data/docs/Prismic/Fragments/Image/ViewDoesNotExistException.html +44 -43
  27. data/docs/Prismic/Fragments/Image.html +69 -68
  28. data/docs/Prismic/Fragments/ImageLink.html +50 -49
  29. data/docs/Prismic/Fragments/Link.html +53 -52
  30. data/docs/Prismic/Fragments/Multiple.html +58 -57
  31. data/docs/Prismic/Fragments/Number.html +54 -53
  32. data/docs/Prismic/Fragments/Select.html +52 -51
  33. data/docs/Prismic/Fragments/Separator.html +54 -53
  34. data/docs/Prismic/Fragments/Slice.html +58 -57
  35. data/docs/Prismic/Fragments/SliceZone.html +54 -53
  36. data/docs/Prismic/Fragments/StructuredText/Block/Embed.html +52 -51
  37. data/docs/Prismic/Fragments/StructuredText/Block/Heading.html +52 -51
  38. data/docs/Prismic/Fragments/StructuredText/Block/Image.html +66 -65
  39. data/docs/Prismic/Fragments/StructuredText/Block/ListItem.html +52 -51
  40. data/docs/Prismic/Fragments/StructuredText/Block/Paragraph.html +47 -46
  41. data/docs/Prismic/Fragments/StructuredText/Block/Preformatted.html +47 -46
  42. data/docs/Prismic/Fragments/StructuredText/Block/Text.html +68 -64
  43. data/docs/Prismic/Fragments/StructuredText/Block.html +47 -46
  44. data/docs/Prismic/Fragments/StructuredText/BlockGroup.html +54 -53
  45. data/docs/Prismic/Fragments/StructuredText/Span/Em.html +47 -46
  46. data/docs/Prismic/Fragments/StructuredText/Span/Hyperlink.html +53 -52
  47. data/docs/Prismic/Fragments/StructuredText/Span/Label.html +52 -51
  48. data/docs/Prismic/Fragments/StructuredText/Span/Strong.html +47 -46
  49. data/docs/Prismic/Fragments/StructuredText/Span.html +52 -51
  50. data/docs/Prismic/Fragments/StructuredText.html +59 -58
  51. data/docs/Prismic/Fragments/Text.html +54 -53
  52. data/docs/Prismic/Fragments/Timestamp.html +52 -51
  53. data/docs/Prismic/Fragments/WebLink.html +50 -49
  54. data/docs/Prismic/Fragments.html +39 -39
  55. data/docs/Prismic/HtmlSerializer.html +57 -56
  56. data/docs/Prismic/JsonParser.html +145 -143
  57. data/docs/Prismic/LinkResolver.html +73 -72
  58. data/docs/Prismic/LruCache.html +70 -69
  59. data/docs/Prismic/Predicates.html +261 -209
  60. data/docs/Prismic/Ref.html +86 -85
  61. data/docs/Prismic/Response.html +75 -73
  62. data/docs/Prismic/SearchForm/AuthenticationException.html +44 -43
  63. data/docs/Prismic/SearchForm/AuthorizationException.html +44 -43
  64. data/docs/Prismic/SearchForm/FormSearchException.html +44 -43
  65. data/docs/Prismic/SearchForm/NoRefSetException.html +44 -43
  66. data/docs/Prismic/SearchForm/RefNotFoundException.html +44 -43
  67. data/docs/Prismic/SearchForm/UnsupportedFormKind.html +44 -43
  68. data/docs/Prismic/SearchForm.html +97 -96
  69. data/docs/Prismic/Variation.html +57 -56
  70. data/docs/Prismic/WithFragments.html +115 -113
  71. data/docs/Prismic.html +91 -93
  72. data/docs/_index.html +32 -35
  73. data/docs/class_list.html +24 -27
  74. data/docs/css/full_list.css +32 -31
  75. data/docs/css/style.css +244 -91
  76. data/docs/file.README.html +39 -74
  77. data/docs/file_list.html +26 -26
  78. data/docs/frames.html +7 -16
  79. data/docs/index.html +39 -74
  80. data/docs/js/app.js +101 -77
  81. data/docs/js/full_list.js +170 -132
  82. data/docs/method_list.html +1995 -1189
  83. data/docs/top-level-namespace.html +34 -36
  84. data/lib/prismic/api.rb +10 -1
  85. data/lib/prismic/fragments/link.rb +3 -2
  86. data/lib/prismic/json_parsers.rb +14 -0
  87. data/lib/prismic/version.rb +1 -1
  88. data/lib/prismic.rb +47 -5
  89. data/spec/cache_spec.rb +2 -2
  90. data/spec/fragments_spec.rb +8 -1
  91. data/spec/json_parsers_spec.rb +13 -1
  92. data/spec/prismic_spec.rb +14 -7
  93. data/spec/responses_mocks/document.json +13 -0
  94. data/spec/simple_search_spec.rb +9 -0
  95. metadata +2 -2
@@ -1,12 +1,12 @@
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">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  Class: Prismic::Document
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.4
9
+ &mdash; Documentation by YARD 0.9.8
10
10
 
11
11
  </title>
12
12
 
@@ -15,9 +15,8 @@
15
15
  <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
18
+ pathId = "Prismic::Document";
19
19
  relpath = '../';
20
- framesUrl = "../frames.html#!Prismic/Document.html";
21
20
  </script>
22
21
 
23
22
 
@@ -28,51 +27,48 @@
28
27
 
29
28
  </head>
30
29
  <body>
31
- <div id="header">
32
- <div id="menu">
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
33
38
 
34
39
  <a href="../_index.html">Index (D)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../Prismic.html" title="Prismic (module)">Prismic</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">Document</span>
38
43
 
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
44
  </div>
42
45
 
43
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  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
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>
58
56
  </a>
59
57
 
60
58
  </div>
61
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: Prismic::Document
62
+ <div id="content"><h1>Class: Prismic::Document
67
63
 
68
64
 
69
65
 
70
66
  </h1>
71
-
72
- <dl class="box">
67
+ <div class="box_info">
73
68
 
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
76
72
  <span class="inheritName">Object</span>
77
73
 
78
74
  <ul class="fullTree">
@@ -83,37 +79,93 @@
83
79
  </ul>
84
80
  <a href="#" class="inheritanceTree">show all</a>
85
81
 
86
- </dd>
87
-
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <dl>
91
+ <dt>Includes:</dt>
92
+ <dd><span class='object_link'><a href="WithFragments.html" title="Prismic::WithFragments (module)">WithFragments</a></span></dd>
93
+ </dl>
94
+
95
+
96
+
97
+
98
+
88
99
 
100
+ <dl>
101
+ <dt>Defined in:</dt>
102
+ <dd>lib/prismic.rb</dd>
103
+ </dl>
89
104
 
105
+ </div>
106
+
107
+
108
+
109
+
110
+
111
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
112
+ <ul class="summary">
113
+
114
+ <li class="public ">
115
+ <span class="summary_signature">
116
+
117
+ <a href="#first_publication_date-instance_method" title="#first_publication_date (instance method)">#<strong>first_publication_date</strong> &#x21d2; Object </a>
90
118
 
119
+
120
+
121
+ </span>
122
+
123
+
91
124
 
92
125
 
93
- <dt class="r2">Includes:</dt>
94
- <dd class="r2"><span class='object_link'><a href="WithFragments.html" title="Prismic::WithFragments (module)">WithFragments</a></span></dd>
95
-
96
126
 
97
127
 
98
128
 
99
129
 
100
- <dt class="r1 last">Defined in:</dt>
101
- <dd class="r1 last">lib/prismic.rb</dd>
102
130
 
103
- </dl>
104
- <div class="clear"></div>
131
+
105
132
 
133
+
134
+ <span class="summary_desc"><div class='inline'><p>Time.</p>
135
+ </div></span>
136
+
137
+ </li>
106
138
 
139
+
140
+ <li class="public ">
141
+ <span class="summary_signature">
142
+
143
+ <a href="#fragments-instance_method" title="#fragments (instance method)">#<strong>fragments</strong> &#x21d2; Array&lt;Fragment&gt; </a>
144
+
107
145
 
146
+
147
+ </span>
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
108
158
 
159
+
160
+ <span class="summary_desc"><div class='inline'></div></span>
161
+
162
+ </li>
109
163
 
110
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
111
- <ul class="summary">
112
164
 
113
165
  <li class="public ">
114
166
  <span class="summary_signature">
115
167
 
116
- <a href="#fragments-instance_method" title="#fragments (instance method)">- (Array&lt;Fragment&gt;) <strong>fragments</strong> </a>
168
+ <a href="#href-instance_method" title="#href (instance method)">#<strong>href</strong> &#x21d2; String </a>
117
169
 
118
170
 
119
171
 
@@ -138,7 +190,7 @@
138
190
  <li class="public ">
139
191
  <span class="summary_signature">
140
192
 
141
- <a href="#href-instance_method" title="#href (instance method)">- (String) <strong>href</strong> </a>
193
+ <a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> &#x21d2; String </a>
142
194
 
143
195
 
144
196
 
@@ -163,7 +215,7 @@
163
215
  <li class="public ">
164
216
  <span class="summary_signature">
165
217
 
166
- <a href="#id-instance_method" title="#id (instance method)">- (String) <strong>id</strong> </a>
218
+ <a href="#last_publication_date-instance_method" title="#last_publication_date (instance method)">#<strong>last_publication_date</strong> &#x21d2; Object </a>
167
219
 
168
220
 
169
221
 
@@ -180,7 +232,8 @@
180
232
 
181
233
 
182
234
 
183
- <span class="summary_desc"><div class='inline'></div></span>
235
+ <span class="summary_desc"><div class='inline'><p>Time.</p>
236
+ </div></span>
184
237
 
185
238
  </li>
186
239
 
@@ -188,7 +241,7 @@
188
241
  <li class="public ">
189
242
  <span class="summary_signature">
190
243
 
191
- <a href="#slugs-instance_method" title="#slugs (instance method)">- (Array&lt;String&gt;) <strong>slugs</strong> </a>
244
+ <a href="#slugs-instance_method" title="#slugs (instance method)">#<strong>slugs</strong> &#x21d2; Array&lt;String&gt; </a>
192
245
 
193
246
 
194
247
 
@@ -213,7 +266,7 @@
213
266
  <li class="public ">
214
267
  <span class="summary_signature">
215
268
 
216
- <a href="#tags-instance_method" title="#tags (instance method)">- (Array&lt;String&gt;) <strong>tags</strong> </a>
269
+ <a href="#tags-instance_method" title="#tags (instance method)">#<strong>tags</strong> &#x21d2; Array&lt;String&gt; </a>
217
270
 
218
271
 
219
272
 
@@ -238,7 +291,7 @@
238
291
  <li class="public ">
239
292
  <span class="summary_signature">
240
293
 
241
- <a href="#type-instance_method" title="#type (instance method)">- (String) <strong>type</strong> </a>
294
+ <a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> &#x21d2; String </a>
242
295
 
243
296
 
244
297
 
@@ -263,7 +316,7 @@
263
316
  <li class="public ">
264
317
  <span class="summary_signature">
265
318
 
266
- <a href="#uid-instance_method" title="#uid (instance method)">- (String) <strong>uid</strong> </a>
319
+ <a href="#uid-instance_method" title="#uid (instance method)">#<strong>uid</strong> &#x21d2; String </a>
267
320
 
268
321
 
269
322
 
@@ -293,7 +346,7 @@
293
346
 
294
347
  <h2>
295
348
  Instance Method Summary
296
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
349
+ <small><a href="#" class="summary_toggle">collapse</a></small>
297
350
  </h2>
298
351
 
299
352
  <ul class="summary">
@@ -301,7 +354,7 @@
301
354
  <li class="public ">
302
355
  <span class="summary_signature">
303
356
 
304
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Document) <strong>initialize</strong>(id, uid, type, href, tags, slugs, fragments) </a>
357
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(id, uid, type, href, tags, slugs, first_publication_date, last_publication_date, fragments) &#x21d2; Document </a>
305
358
 
306
359
 
307
360
 
@@ -326,7 +379,7 @@
326
379
  <li class="public ">
327
380
  <span class="summary_signature">
328
381
 
329
- <a href="#slug-instance_method" title="#slug (instance method)">- (String) <strong>slug</strong> </a>
382
+ <a href="#slug-instance_method" title="#slug (instance method)">#<strong>slug</strong> &#x21d2; String </a>
330
383
 
331
384
 
332
385
 
@@ -359,7 +412,7 @@
359
412
 
360
413
 
361
414
  <h3 class="inherited">Methods included from <span class='object_link'><a href="WithFragments.html" title="Prismic::WithFragments (module)">WithFragments</a></span></h3>
362
- <p class="inherited"><span class='object_link'><a href="WithFragments.html#%5B%5D-instance_method" title="Prismic::WithFragments#[] (method)">#[]</a></span>, <span class='object_link'><a href="WithFragments.html#as_html-instance_method" title="Prismic::WithFragments#as_html (method)">#as_html</a></span>, <span class='object_link'><a href="WithFragments.html#as_text-instance_method" title="Prismic::WithFragments#as_text (method)">#as_text</a></span>, <span class='object_link'><a href="WithFragments.html#each-instance_method" title="Prismic::WithFragments#each (method)">#each</a></span>, <span class='object_link'><a href="WithFragments.html#first_title-instance_method" title="Prismic::WithFragments#first_title (method)">#first_title</a></span>, <span class='object_link'><a href="WithFragments.html#get_color-instance_method" title="Prismic::WithFragments#get_color (method)">#get_color</a></span>, <span class='object_link'><a href="WithFragments.html#get_date-instance_method" title="Prismic::WithFragments#get_date (method)">#get_date</a></span>, <span class='object_link'><a href="WithFragments.html#get_embed-instance_method" title="Prismic::WithFragments#get_embed (method)">#get_embed</a></span>, <span class='object_link'><a href="WithFragments.html#get_geopoint-instance_method" title="Prismic::WithFragments#get_geopoint (method)">#get_geopoint</a></span>, <span class='object_link'><a href="WithFragments.html#get_group-instance_method" title="Prismic::WithFragments#get_group (method)">#get_group</a></span>, <span class='object_link'><a href="WithFragments.html#get_image-instance_method" title="Prismic::WithFragments#get_image (method)">#get_image</a></span>, <span class='object_link'><a href="WithFragments.html#get_link-instance_method" title="Prismic::WithFragments#get_link (method)">#get_link</a></span>, <span class='object_link'><a href="WithFragments.html#get_number-instance_method" title="Prismic::WithFragments#get_number (method)">#get_number</a></span>, <span class='object_link'><a href="WithFragments.html#get_slice_zone-instance_method" title="Prismic::WithFragments#get_slice_zone (method)">#get_slice_zone</a></span>, <span class='object_link'><a href="WithFragments.html#get_structured_text-instance_method" title="Prismic::WithFragments#get_structured_text (method)">#get_structured_text</a></span>, <span class='object_link'><a href="WithFragments.html#get_text-instance_method" title="Prismic::WithFragments#get_text (method)">#get_text</a></span>, <span class='object_link'><a href="WithFragments.html#get_timestamp-instance_method" title="Prismic::WithFragments#get_timestamp (method)">#get_timestamp</a></span>, <span class='object_link'><a href="WithFragments.html#length-instance_method" title="Prismic::WithFragments#length (method)">#length</a></span>, <span class='object_link'><a href="WithFragments.html#linked_documents-instance_method" title="Prismic::WithFragments#linked_documents (method)">#linked_documents</a></span></p>
415
+ <p class="inherited"><span class='object_link'><a href="WithFragments.html#[]-instance_method" title="Prismic::WithFragments#[] (method)">#[]</a></span>, <span class='object_link'><a href="WithFragments.html#as_html-instance_method" title="Prismic::WithFragments#as_html (method)">#as_html</a></span>, <span class='object_link'><a href="WithFragments.html#as_text-instance_method" title="Prismic::WithFragments#as_text (method)">#as_text</a></span>, <span class='object_link'><a href="WithFragments.html#each-instance_method" title="Prismic::WithFragments#each (method)">#each</a></span>, <span class='object_link'><a href="WithFragments.html#first_title-instance_method" title="Prismic::WithFragments#first_title (method)">#first_title</a></span>, <span class='object_link'><a href="WithFragments.html#get_color-instance_method" title="Prismic::WithFragments#get_color (method)">#get_color</a></span>, <span class='object_link'><a href="WithFragments.html#get_date-instance_method" title="Prismic::WithFragments#get_date (method)">#get_date</a></span>, <span class='object_link'><a href="WithFragments.html#get_embed-instance_method" title="Prismic::WithFragments#get_embed (method)">#get_embed</a></span>, <span class='object_link'><a href="WithFragments.html#get_geopoint-instance_method" title="Prismic::WithFragments#get_geopoint (method)">#get_geopoint</a></span>, <span class='object_link'><a href="WithFragments.html#get_group-instance_method" title="Prismic::WithFragments#get_group (method)">#get_group</a></span>, <span class='object_link'><a href="WithFragments.html#get_image-instance_method" title="Prismic::WithFragments#get_image (method)">#get_image</a></span>, <span class='object_link'><a href="WithFragments.html#get_link-instance_method" title="Prismic::WithFragments#get_link (method)">#get_link</a></span>, <span class='object_link'><a href="WithFragments.html#get_number-instance_method" title="Prismic::WithFragments#get_number (method)">#get_number</a></span>, <span class='object_link'><a href="WithFragments.html#get_slice_zone-instance_method" title="Prismic::WithFragments#get_slice_zone (method)">#get_slice_zone</a></span>, <span class='object_link'><a href="WithFragments.html#get_structured_text-instance_method" title="Prismic::WithFragments#get_structured_text (method)">#get_structured_text</a></span>, <span class='object_link'><a href="WithFragments.html#get_text-instance_method" title="Prismic::WithFragments#get_text (method)">#get_text</a></span>, <span class='object_link'><a href="WithFragments.html#get_timestamp-instance_method" title="Prismic::WithFragments#get_timestamp (method)">#get_timestamp</a></span>, <span class='object_link'><a href="WithFragments.html#length-instance_method" title="Prismic::WithFragments#length (method)">#length</a></span>, <span class='object_link'><a href="WithFragments.html#linked_documents-instance_method" title="Prismic::WithFragments#linked_documents (method)">#linked_documents</a></span></p>
363
416
 
364
417
  <div id="constructor_details" class="method_details_list">
365
418
  <h2>Constructor Details</h2>
@@ -367,7 +420,7 @@
367
420
  <div class="method_details first">
368
421
  <h3 class="signature first" id="initialize-instance_method">
369
422
 
370
- - (<tt><span class='object_link'><a href="" title="Prismic::Document (class)">Document</a></span></tt>) <strong>initialize</strong>(id, uid, type, href, tags, slugs, fragments)
423
+ #<strong>initialize</strong>(id, uid, type, href, tags, slugs, first_publication_date, last_publication_date, fragments) &#x21d2; <tt><span class='object_link'><a href="" title="Prismic::Document (class)">Document</a></span></tt>
371
424
 
372
425
 
373
426
 
@@ -389,26 +442,50 @@
389
442
  <pre class="lines">
390
443
 
391
444
 
392
- 456
393
- 457
394
- 458
395
- 459
396
445
  460
397
446
  461
398
447
  462
399
448
  463
400
- 464</pre>
449
+ 464
450
+ 465
451
+ 466
452
+ 467
453
+ 468
454
+ 469
455
+ 470
456
+ 471
457
+ 472
458
+ 473
459
+ 474
460
+ 475
461
+ 476
462
+ 477
463
+ 478
464
+ 479
465
+ 480</pre>
401
466
  </td>
402
467
  <td>
403
- <pre class="code"><span class="info file"># File 'lib/prismic.rb', line 456</span>
404
-
405
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_uid'>uid</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_href'>href</span><span class='comma'>,</span> <span class='id identifier rubyid_tags'>tags</span><span class='comma'>,</span> <span class='id identifier rubyid_slugs'>slugs</span><span class='comma'>,</span> <span class='id identifier rubyid_fragments'>fragments</span><span class='rparen'>)</span>
468
+ <pre class="code"><span class="info file"># File 'lib/prismic.rb', line 460</span>
469
+
470
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span>
471
+ <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span>
472
+ <span class='id identifier rubyid_uid'>uid</span><span class='comma'>,</span>
473
+ <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span>
474
+ <span class='id identifier rubyid_href'>href</span><span class='comma'>,</span>
475
+ <span class='id identifier rubyid_tags'>tags</span><span class='comma'>,</span>
476
+ <span class='id identifier rubyid_slugs'>slugs</span><span class='comma'>,</span>
477
+ <span class='id identifier rubyid_first_publication_date'>first_publication_date</span><span class='comma'>,</span>
478
+ <span class='id identifier rubyid_last_publication_date'>last_publication_date</span><span class='comma'>,</span>
479
+ <span class='id identifier rubyid_fragments'>fragments</span>
480
+ <span class='rparen'>)</span>
406
481
  <span class='ivar'>@id</span> <span class='op'>=</span> <span class='id identifier rubyid_id'>id</span>
407
482
  <span class='ivar'>@uid</span> <span class='op'>=</span> <span class='id identifier rubyid_uid'>uid</span>
408
483
  <span class='ivar'>@type</span> <span class='op'>=</span> <span class='id identifier rubyid_type'>type</span>
409
484
  <span class='ivar'>@href</span> <span class='op'>=</span> <span class='id identifier rubyid_href'>href</span>
410
485
  <span class='ivar'>@tags</span> <span class='op'>=</span> <span class='id identifier rubyid_tags'>tags</span>
411
486
  <span class='ivar'>@slugs</span> <span class='op'>=</span> <span class='id identifier rubyid_slugs'>slugs</span>
487
+ <span class='ivar'>@first_publication_date</span> <span class='op'>=</span> <span class='id identifier rubyid_first_publication_date'>first_publication_date</span>
488
+ <span class='ivar'>@last_publication_date</span> <span class='op'>=</span> <span class='id identifier rubyid_last_publication_date'>last_publication_date</span>
412
489
  <span class='ivar'>@fragments</span> <span class='op'>=</span> <span class='id identifier rubyid_fragments'>fragments</span>
413
490
  <span class='kw'>end</span></pre>
414
491
  </td>
@@ -422,11 +499,11 @@
422
499
  <h2>Instance Attribute Details</h2>
423
500
 
424
501
 
425
- <span id="fragments=-instance_method"></span>
502
+ <span id="first_publication_date=-instance_method"></span>
426
503
  <div class="method_details first">
427
- <h3 class="signature first" id="fragments-instance_method">
504
+ <h3 class="signature first" id="first_publication_date-instance_method">
428
505
 
429
- - (<tt>Array&lt;Fragment&gt;</tt>) <strong>fragments</strong>
506
+ #<strong>first_publication_date</strong> &#x21d2; <tt>Object</tt>
430
507
 
431
508
 
432
509
 
@@ -434,7 +511,8 @@
434
511
 
435
512
  </h3><div class="docstring">
436
513
  <div class="discussion">
437
-
514
+ <p>Returns Time</p>
515
+
438
516
 
439
517
  </div>
440
518
  </div>
@@ -446,10 +524,14 @@
446
524
  <li>
447
525
 
448
526
 
449
- <span class='type'>(<tt>Array&lt;Fragment&gt;</tt>)</span>
527
+ <span class='type'></span>
450
528
 
451
529
 
452
530
 
531
+
532
+ <div class='inline'><p>Time</p>
533
+ </div>
534
+
453
535
  </li>
454
536
 
455
537
  </ul>
@@ -467,6 +549,60 @@
467
549
  <td>
468
550
  <pre class="code"><span class="info file"># File 'lib/prismic.rb', line 454</span>
469
551
 
552
+ <span class='kw'>def</span> <span class='id identifier rubyid_first_publication_date'>first_publication_date</span>
553
+ <span class='ivar'>@first_publication_date</span>
554
+ <span class='kw'>end</span></pre>
555
+ </td>
556
+ </tr>
557
+ </table>
558
+ </div>
559
+
560
+
561
+ <span id="fragments=-instance_method"></span>
562
+ <div class="method_details ">
563
+ <h3 class="signature " id="fragments-instance_method">
564
+
565
+ #<strong>fragments</strong> &#x21d2; <tt>Array&lt;Fragment&gt;</tt>
566
+
567
+
568
+
569
+
570
+
571
+ </h3><div class="docstring">
572
+ <div class="discussion">
573
+
574
+
575
+ </div>
576
+ </div>
577
+ <div class="tags">
578
+
579
+ <p class="tag_title">Returns:</p>
580
+ <ul class="return">
581
+
582
+ <li>
583
+
584
+
585
+ <span class='type'>(<tt>Array&lt;Fragment&gt;</tt>)</span>
586
+
587
+
588
+
589
+ </li>
590
+
591
+ </ul>
592
+
593
+ </div><table class="source_code">
594
+ <tr>
595
+ <td>
596
+ <pre class="lines">
597
+
598
+
599
+ 458
600
+ 459
601
+ 460</pre>
602
+ </td>
603
+ <td>
604
+ <pre class="code"><span class="info file"># File 'lib/prismic.rb', line 458</span>
605
+
470
606
  <span class='kw'>def</span> <span class='id identifier rubyid_fragments'>fragments</span>
471
607
  <span class='ivar'>@fragments</span>
472
608
  <span class='kw'>end</span></pre>
@@ -480,7 +616,7 @@
480
616
  <div class="method_details ">
481
617
  <h3 class="signature " id="href-instance_method">
482
618
 
483
- - (<tt>String</tt>) <strong>href</strong>
619
+ #<strong>href</strong> &#x21d2; <tt>String</tt>
484
620
 
485
621
 
486
622
 
@@ -534,7 +670,7 @@
534
670
  <div class="method_details ">
535
671
  <h3 class="signature " id="id-instance_method">
536
672
 
537
- - (<tt>String</tt>) <strong>id</strong>
673
+ #<strong>id</strong> &#x21d2; <tt>String</tt>
538
674
 
539
675
 
540
676
 
@@ -584,11 +720,70 @@
584
720
  </div>
585
721
 
586
722
 
723
+ <span id="last_publication_date=-instance_method"></span>
724
+ <div class="method_details ">
725
+ <h3 class="signature " id="last_publication_date-instance_method">
726
+
727
+ #<strong>last_publication_date</strong> &#x21d2; <tt>Object</tt>
728
+
729
+
730
+
731
+
732
+
733
+ </h3><div class="docstring">
734
+ <div class="discussion">
735
+ <p>Returns Time</p>
736
+
737
+
738
+ </div>
739
+ </div>
740
+ <div class="tags">
741
+
742
+ <p class="tag_title">Returns:</p>
743
+ <ul class="return">
744
+
745
+ <li>
746
+
747
+
748
+ <span class='type'></span>
749
+
750
+
751
+
752
+
753
+ <div class='inline'><p>Time</p>
754
+ </div>
755
+
756
+ </li>
757
+
758
+ </ul>
759
+
760
+ </div><table class="source_code">
761
+ <tr>
762
+ <td>
763
+ <pre class="lines">
764
+
765
+
766
+ 456
767
+ 457
768
+ 458</pre>
769
+ </td>
770
+ <td>
771
+ <pre class="code"><span class="info file"># File 'lib/prismic.rb', line 456</span>
772
+
773
+ <span class='kw'>def</span> <span class='id identifier rubyid_last_publication_date'>last_publication_date</span>
774
+ <span class='ivar'>@last_publication_date</span>
775
+ <span class='kw'>end</span></pre>
776
+ </td>
777
+ </tr>
778
+ </table>
779
+ </div>
780
+
781
+
587
782
  <span id="slugs=-instance_method"></span>
588
783
  <div class="method_details ">
589
784
  <h3 class="signature " id="slugs-instance_method">
590
785
 
591
- - (<tt>Array&lt;String&gt;</tt>) <strong>slugs</strong>
786
+ #<strong>slugs</strong> &#x21d2; <tt>Array&lt;String&gt;</tt>
592
787
 
593
788
 
594
789
 
@@ -642,7 +837,7 @@
642
837
  <div class="method_details ">
643
838
  <h3 class="signature " id="tags-instance_method">
644
839
 
645
- - (<tt>Array&lt;String&gt;</tt>) <strong>tags</strong>
840
+ #<strong>tags</strong> &#x21d2; <tt>Array&lt;String&gt;</tt>
646
841
 
647
842
 
648
843
 
@@ -696,7 +891,7 @@
696
891
  <div class="method_details ">
697
892
  <h3 class="signature " id="type-instance_method">
698
893
 
699
- - (<tt>String</tt>) <strong>type</strong>
894
+ #<strong>type</strong> &#x21d2; <tt>String</tt>
700
895
 
701
896
 
702
897
 
@@ -750,7 +945,7 @@
750
945
  <div class="method_details ">
751
946
  <h3 class="signature " id="uid-instance_method">
752
947
 
753
- - (<tt>String</tt>) <strong>uid</strong>
948
+ #<strong>uid</strong> &#x21d2; <tt>String</tt>
754
949
 
755
950
 
756
951
 
@@ -809,7 +1004,7 @@
809
1004
  <div class="method_details first">
810
1005
  <h3 class="signature first" id="slug-instance_method">
811
1006
 
812
- - (<tt>String</tt>) <strong>slug</strong>
1007
+ #<strong>slug</strong> &#x21d2; <tt>String</tt>
813
1008
 
814
1009
 
815
1010
 
@@ -844,12 +1039,12 @@
844
1039
  <pre class="lines">
845
1040
 
846
1041
 
847
- 469
848
- 470
849
- 471</pre>
1042
+ 485
1043
+ 486
1044
+ 487</pre>
850
1045
  </td>
851
1046
  <td>
852
- <pre class="code"><span class="info file"># File 'lib/prismic.rb', line 469</span>
1047
+ <pre class="code"><span class="info file"># File 'lib/prismic.rb', line 485</span>
853
1048
 
854
1049
  <span class='kw'>def</span> <span class='id identifier rubyid_slug'>slug</span>
855
1050
  <span class='id identifier rubyid_slugs'>slugs</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>-</span><span class='tstring_end'>&#39;</span></span> <span class='op'>:</span> <span class='id identifier rubyid_slugs'>slugs</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
@@ -863,11 +1058,12 @@
863
1058
 
864
1059
  </div>
865
1060
 
866
- <div id="footer">
867
- Generated on Tue Sep 27 10:47:06 2016 by
1061
+ <div id="footer">
1062
+ Generated on Mon Jan 16 16:05:09 2017 by
868
1063
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
869
- 0.8.7.4 (ruby-2.0.0).
1064
+ 0.9.8 (ruby-2.3.1).
870
1065
  </div>
871
1066
 
1067
+ </div>
872
1068
  </body>
873
1069
  </html>