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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe3fbf71a36faca94508e34025888f01161bde97
4
- data.tar.gz: af1281ebfc68219a92b15e4ca0092f16ade38dcd
3
+ metadata.gz: 92010b57fef6774baa33c8bc5ee750ccf9956959
4
+ data.tar.gz: 3c86d59c61864927b2d9e4071d8edf1da4ad8984
5
5
  SHA512:
6
- metadata.gz: 885abba55dbd68875a34e736a63c81e077dca50507264978b66535e595661bedfc25a7ade19e96412ed29b5177a202284d5b93aacec128c2b9efd180dac95eb8
7
- data.tar.gz: 0134fc549d395befc527dc8f6ba5b73cd792d2a907329b61bb0b2a6b003753417d911846a6585305e7cf232d1bec6275fd20bfef07d9bb70b978ba9b583b254d
6
+ metadata.gz: d8ec2e3463462aff127aa0eba4aa799ad22217ca69959914593c9cbb299c1054b89b406d7d57df47d851073b7027155e278828640fb123c8ae96f3cb73542845
7
+ data.tar.gz: 37349a7dc21a804b19f0cede0ca3fa12f2d885b4277c0d01cb5ed890d84ec144328b41f181a56f54c431161ed5aed1295c32b1d5bb8f4a3054dd82bd18a67593
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prismic.io (1.4.3)
4
+ prismic.io (1.4.4)
5
5
  hashery (~> 2.1.1)
6
6
 
7
7
  GEM
@@ -46,4 +46,4 @@ DEPENDENCIES
46
46
  yajl-ruby
47
47
 
48
48
  BUNDLED WITH
49
- 1.13.5
49
+ 1.14.6
@@ -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
  Exception: Prismic::API::BadPrismicResponseError
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::API::BadPrismicResponseError";
19
19
  relpath = '../../';
20
- framesUrl = "../../frames.html#!Prismic/API/BadPrismicResponseError.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 (B)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../../Prismic.html" title="Prismic (module)">Prismic</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../API.html" title="Prismic::API (class)">API</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">BadPrismicResponseError</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>Exception: Prismic::API::BadPrismicResponseError
62
+ <div id="content"><h1>Exception: Prismic::API::BadPrismicResponseError
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"><span class='object_link'><a href="../Error.html" title="Prismic::Error (class)">Error</a></span></span>
77
73
 
78
74
  <ul class="fullTree">
@@ -87,21 +83,25 @@
87
83
  </ul>
88
84
  <a href="#" class="inheritanceTree">show all</a>
89
85
 
90
- </dd>
91
-
86
+ </dd>
87
+ </dl>
92
88
 
89
+
93
90
 
94
-
95
91
 
96
-
97
92
 
98
93
 
99
94
 
100
- <dt class="r2 last">Defined in:</dt>
101
- <dd class="r2 last">lib/prismic/api.rb</dd>
95
+
102
96
 
103
- </dl>
104
- <div class="clear"></div>
97
+
98
+
99
+ <dl>
100
+ <dt>Defined in:</dt>
101
+ <dd>lib/prismic/api.rb</dd>
102
+ </dl>
103
+
104
+ </div>
105
105
 
106
106
 
107
107
 
@@ -137,11 +137,12 @@
137
137
 
138
138
  </div>
139
139
 
140
- <div id="footer">
141
- Generated on Tue Sep 27 10:47:06 2016 by
140
+ <div id="footer">
141
+ Generated on Mon Jan 16 16:05:09 2017 by
142
142
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
143
- 0.8.7.4 (ruby-2.0.0).
143
+ 0.9.8 (ruby-2.3.1).
144
144
  </div>
145
145
 
146
+ </div>
146
147
  </body>
147
148
  </html>
@@ -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::API::OAuth
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::API::OAuth";
19
19
  relpath = '../../';
20
- framesUrl = "../../frames.html#!Prismic/API/OAuth.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 (O)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../../Prismic.html" title="Prismic (module)">Prismic</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../API.html" title="Prismic::API (class)">API</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">OAuth</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>
63
-
64
- <iframe id="search_frame"></iframe>
59
+ <div class="clear"></div>
60
+ </div>
65
61
 
66
- <div id="content"><h1>Class: Prismic::API::OAuth
62
+ <div id="content"><h1>Class: Prismic::API::OAuth
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,33 +79,37 @@
83
79
  </ul>
84
80
  <a href="#" class="inheritanceTree">show all</a>
85
81
 
86
- </dd>
87
-
82
+ </dd>
83
+ </dl>
84
+
85
+
88
86
 
89
87
 
90
-
91
88
 
92
-
93
89
 
94
90
 
91
+
92
+
93
+
95
94
 
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/prismic/api.rb</dd>
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/prismic/api.rb</dd>
98
+ </dl>
98
99
 
99
- </dl>
100
- <div class="clear"></div>
100
+ </div>
101
101
 
102
102
 
103
103
 
104
104
 
105
105
 
106
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
106
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
107
107
  <ul class="summary">
108
108
 
109
109
  <li class="public ">
110
110
  <span class="summary_signature">
111
111
 
112
- <a href="#http_client-instance_method" title="#http_client (instance method)">- (Object) <strong>http_client</strong> </a>
112
+ <a href="#http_client-instance_method" title="#http_client (instance method)">#<strong>http_client</strong> &#x21d2; Object </a>
113
113
 
114
114
 
115
115
 
@@ -137,7 +137,7 @@
137
137
  <li class="public ">
138
138
  <span class="summary_signature">
139
139
 
140
- <a href="#initiate-instance_method" title="#initiate (instance method)">- (Object) <strong>initiate</strong> </a>
140
+ <a href="#initiate-instance_method" title="#initiate (instance method)">#<strong>initiate</strong> &#x21d2; Object </a>
141
141
 
142
142
 
143
143
 
@@ -165,7 +165,7 @@
165
165
  <li class="public ">
166
166
  <span class="summary_signature">
167
167
 
168
- <a href="#token-instance_method" title="#token (instance method)">- (Object) <strong>token</strong> </a>
168
+ <a href="#token-instance_method" title="#token (instance method)">#<strong>token</strong> &#x21d2; Object </a>
169
169
 
170
170
 
171
171
 
@@ -198,7 +198,7 @@
198
198
 
199
199
  <h2>
200
200
  Instance Method Summary
201
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
201
+ <small><a href="#" class="summary_toggle">collapse</a></small>
202
202
  </h2>
203
203
 
204
204
  <ul class="summary">
@@ -206,7 +206,7 @@
206
206
  <li class="public ">
207
207
  <span class="summary_signature">
208
208
 
209
- <a href="#check_token-instance_method" title="#check_token (instance method)">- (Object) <strong>check_token</strong>(params) </a>
209
+ <a href="#check_token-instance_method" title="#check_token (instance method)">#<strong>check_token</strong>(params) &#x21d2; Object </a>
210
210
 
211
211
 
212
212
 
@@ -228,7 +228,7 @@
228
228
  <li class="public ">
229
229
  <span class="summary_signature">
230
230
 
231
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (OAuth) <strong>initialize</strong>(initiate, token, http_client) </a>
231
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(initiate, token, http_client) &#x21d2; OAuth </a>
232
232
 
233
233
 
234
234
 
@@ -253,7 +253,7 @@
253
253
  <li class="public ">
254
254
  <span class="summary_signature">
255
255
 
256
- <a href="#initiate_url-instance_method" title="#initiate_url (instance method)">- (Object) <strong>initiate_url</strong>(opts) </a>
256
+ <a href="#initiate_url-instance_method" title="#initiate_url (instance method)">#<strong>initiate_url</strong>(opts) &#x21d2; Object </a>
257
257
 
258
258
 
259
259
 
@@ -281,7 +281,7 @@
281
281
  <div class="method_details first">
282
282
  <h3 class="signature first" id="initialize-instance_method">
283
283
 
284
- - (<tt><span class='object_link'><a href="" title="Prismic::API::OAuth (class)">OAuth</a></span></tt>) <strong>initialize</strong>(initiate, token, http_client)
284
+ #<strong>initialize</strong>(initiate, token, http_client) &#x21d2; <tt><span class='object_link'><a href="" title="Prismic::API::OAuth (class)">OAuth</a></span></tt>
285
285
 
286
286
 
287
287
 
@@ -303,14 +303,14 @@
303
303
  <pre class="lines">
304
304
 
305
305
 
306
- 270
307
- 271
308
- 272
309
- 273
310
- 274</pre>
306
+ 283
307
+ 284
308
+ 285
309
+ 286
310
+ 287</pre>
311
311
  </td>
312
312
  <td>
313
- <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 270</span>
313
+ <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 283</span>
314
314
 
315
315
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_initiate'>initiate</span><span class='comma'>,</span> <span class='id identifier rubyid_token'>token</span><span class='comma'>,</span> <span class='id identifier rubyid_http_client'>http_client</span><span class='rparen'>)</span>
316
316
  <span class='ivar'>@http_client</span> <span class='op'>=</span> <span class='id identifier rubyid_http_client'>http_client</span>
@@ -332,7 +332,7 @@
332
332
  <div class="method_details first">
333
333
  <h3 class="signature first" id="http_client-instance_method">
334
334
 
335
- - (<tt>Object</tt>) <strong>http_client</strong> <span class="extras">(readonly)</span>
335
+ #<strong>http_client</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
336
336
 
337
337
 
338
338
 
@@ -354,12 +354,12 @@
354
354
  <pre class="lines">
355
355
 
356
356
 
357
- 269
358
- 270
359
- 271</pre>
357
+ 282
358
+ 283
359
+ 284</pre>
360
360
  </td>
361
361
  <td>
362
- <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 269</span>
362
+ <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 282</span>
363
363
 
364
364
  <span class='kw'>def</span> <span class='id identifier rubyid_http_client'>http_client</span>
365
365
  <span class='ivar'>@http_client</span>
@@ -374,7 +374,7 @@
374
374
  <div class="method_details ">
375
375
  <h3 class="signature " id="initiate-instance_method">
376
376
 
377
- - (<tt>Object</tt>) <strong>initiate</strong> <span class="extras">(readonly)</span>
377
+ #<strong>initiate</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
378
378
 
379
379
 
380
380
 
@@ -396,12 +396,12 @@
396
396
  <pre class="lines">
397
397
 
398
398
 
399
- 269
400
- 270
401
- 271</pre>
399
+ 282
400
+ 283
401
+ 284</pre>
402
402
  </td>
403
403
  <td>
404
- <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 269</span>
404
+ <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 282</span>
405
405
 
406
406
  <span class='kw'>def</span> <span class='id identifier rubyid_initiate'>initiate</span>
407
407
  <span class='ivar'>@initiate</span>
@@ -416,7 +416,7 @@
416
416
  <div class="method_details ">
417
417
  <h3 class="signature " id="token-instance_method">
418
418
 
419
- - (<tt>Object</tt>) <strong>token</strong> <span class="extras">(readonly)</span>
419
+ #<strong>token</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
420
420
 
421
421
 
422
422
 
@@ -438,12 +438,12 @@
438
438
  <pre class="lines">
439
439
 
440
440
 
441
- 269
442
- 270
443
- 271</pre>
441
+ 282
442
+ 283
443
+ 284</pre>
444
444
  </td>
445
445
  <td>
446
- <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 269</span>
446
+ <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 282</span>
447
447
 
448
448
  <span class='kw'>def</span> <span class='id identifier rubyid_token'>token</span>
449
449
  <span class='ivar'>@token</span>
@@ -463,7 +463,7 @@
463
463
  <div class="method_details first">
464
464
  <h3 class="signature first" id="check_token-instance_method">
465
465
 
466
- - (<tt>Object</tt>) <strong>check_token</strong>(params)
466
+ #<strong>check_token</strong>(params) &#x21d2; <tt>Object</tt>
467
467
 
468
468
 
469
469
 
@@ -475,21 +475,21 @@
475
475
  <pre class="lines">
476
476
 
477
477
 
478
- 282
479
- 283
480
- 284
481
- 285
482
- 286
483
- 287
484
- 288
485
- 289
486
- 290
487
- 291
488
- 292
489
- 293</pre>
478
+ 295
479
+ 296
480
+ 297
481
+ 298
482
+ 299
483
+ 300
484
+ 301
485
+ 302
486
+ 303
487
+ 304
488
+ 305
489
+ 306</pre>
490
490
  </td>
491
491
  <td>
492
- <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 282</span>
492
+ <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 295</span>
493
493
 
494
494
  <span class='kw'>def</span> <span class='id identifier rubyid_check_token'>check_token</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
495
495
  <span class='id identifier rubyid_res'>res</span> <span class='op'>=</span> <span class='id identifier rubyid_http_client'>http_client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_token'>token</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
@@ -497,10 +497,10 @@
497
497
  <span class='kw'>begin</span>
498
498
  <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_res'>res</span><span class='period'>.</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>access_token</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
499
499
  <span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_e'>e</span>
500
- <span class='id identifier rubyid_raise'>raise</span> <span class='const'>PrismicWSConnectionError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_res'>res</span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='rparen'>)</span>
500
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="PrismicWSConnectionError.html" title="Prismic::API::PrismicWSConnectionError (class)">PrismicWSConnectionError</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="PrismicWSConnectionError.html#initialize-instance_method" title="Prismic::API::PrismicWSConnectionError#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_res'>res</span><span class='comma'>,</span> <span class='id identifier rubyid_e'>e</span><span class='rparen'>)</span>
501
501
  <span class='kw'>end</span>
502
502
  <span class='kw'>else</span>
503
- <span class='id identifier rubyid_raise'>raise</span> <span class='const'>PrismicWSConnectionError</span><span class='comma'>,</span> <span class='id identifier rubyid_res'>res</span>
503
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'><span class='object_link'><a href="PrismicWSConnectionError.html" title="Prismic::API::PrismicWSConnectionError (class)">PrismicWSConnectionError</a></span></span><span class='comma'>,</span> <span class='id identifier rubyid_res'>res</span>
504
504
  <span class='kw'>end</span>
505
505
  <span class='kw'>end</span></pre>
506
506
  </td>
@@ -511,7 +511,7 @@
511
511
  <div class="method_details ">
512
512
  <h3 class="signature " id="initiate_url-instance_method">
513
513
 
514
- - (<tt>Object</tt>) <strong>initiate_url</strong>(opts)
514
+ #<strong>initiate_url</strong>(opts) &#x21d2; <tt>Object</tt>
515
515
 
516
516
 
517
517
 
@@ -523,16 +523,16 @@
523
523
  <pre class="lines">
524
524
 
525
525
 
526
- 275
527
- 276
528
- 277
529
- 278
530
- 279
531
- 280
532
- 281</pre>
526
+ 288
527
+ 289
528
+ 290
529
+ 291
530
+ 292
531
+ 293
532
+ 294</pre>
533
533
  </td>
534
534
  <td>
535
- <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 275</span>
535
+ <pre class="code"><span class="info file"># File 'lib/prismic/api.rb', line 288</span>
536
536
 
537
537
  <span class='kw'>def</span> <span class='id identifier rubyid_initiate_url'>initiate_url</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
538
538
  <span class='id identifier rubyid_initiate'>initiate</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='lbrace'>{</span>
@@ -550,11 +550,12 @@
550
550
 
551
551
  </div>
552
552
 
553
- <div id="footer">
554
- Generated on Tue Sep 27 10:47:06 2016 by
553
+ <div id="footer">
554
+ Generated on Mon Jan 16 16:05:09 2017 by
555
555
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
556
- 0.8.7.4 (ruby-2.0.0).
556
+ 0.9.8 (ruby-2.3.1).
557
557
  </div>
558
558
 
559
+ </div>
559
560
  </body>
560
561
  </html>