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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/docs/Prismic/API/BadPrismicResponseError.html +44 -43
- data/docs/Prismic/API/OAuth.html +99 -98
- data/docs/Prismic/API/PrismicWSAuthError.html +67 -66
- data/docs/Prismic/API/PrismicWSConnectionError.html +51 -50
- data/docs/Prismic/API.html +434 -280
- data/docs/Prismic/BasicNullCache.html +49 -48
- data/docs/Prismic/DefaultHTTPClient.html +85 -79
- data/docs/Prismic/Document.html +279 -83
- data/docs/Prismic/Error.html +52 -51
- data/docs/Prismic/Experiment.html +60 -59
- data/docs/Prismic/Experiments.html +61 -60
- data/docs/Prismic/Field.html +54 -53
- data/docs/Prismic/Form.html +70 -69
- data/docs/Prismic/Fragments/Color.html +60 -59
- data/docs/Prismic/Fragments/Date.html +52 -51
- data/docs/Prismic/Fragments/DocumentLink.html +78 -76
- data/docs/Prismic/Fragments/Embed.html +60 -59
- data/docs/Prismic/Fragments/FileLink.html +58 -57
- data/docs/Prismic/Fragments/Fragment.html +49 -48
- data/docs/Prismic/Fragments/GeoPoint.html +54 -53
- data/docs/Prismic/Fragments/Group.html +65 -63
- data/docs/Prismic/Fragments/GroupDocument.html +57 -55
- data/docs/Prismic/Fragments/Image/View.html +64 -63
- data/docs/Prismic/Fragments/Image/ViewDoesNotExistException.html +44 -43
- data/docs/Prismic/Fragments/Image.html +69 -68
- data/docs/Prismic/Fragments/ImageLink.html +50 -49
- data/docs/Prismic/Fragments/Link.html +53 -52
- data/docs/Prismic/Fragments/Multiple.html +58 -57
- data/docs/Prismic/Fragments/Number.html +54 -53
- data/docs/Prismic/Fragments/Select.html +52 -51
- data/docs/Prismic/Fragments/Separator.html +54 -53
- data/docs/Prismic/Fragments/Slice.html +58 -57
- data/docs/Prismic/Fragments/SliceZone.html +54 -53
- data/docs/Prismic/Fragments/StructuredText/Block/Embed.html +52 -51
- data/docs/Prismic/Fragments/StructuredText/Block/Heading.html +52 -51
- data/docs/Prismic/Fragments/StructuredText/Block/Image.html +66 -65
- data/docs/Prismic/Fragments/StructuredText/Block/ListItem.html +52 -51
- data/docs/Prismic/Fragments/StructuredText/Block/Paragraph.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/Block/Preformatted.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/Block/Text.html +68 -64
- data/docs/Prismic/Fragments/StructuredText/Block.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/BlockGroup.html +54 -53
- data/docs/Prismic/Fragments/StructuredText/Span/Em.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/Span/Hyperlink.html +53 -52
- data/docs/Prismic/Fragments/StructuredText/Span/Label.html +52 -51
- data/docs/Prismic/Fragments/StructuredText/Span/Strong.html +47 -46
- data/docs/Prismic/Fragments/StructuredText/Span.html +52 -51
- data/docs/Prismic/Fragments/StructuredText.html +59 -58
- data/docs/Prismic/Fragments/Text.html +54 -53
- data/docs/Prismic/Fragments/Timestamp.html +52 -51
- data/docs/Prismic/Fragments/WebLink.html +50 -49
- data/docs/Prismic/Fragments.html +39 -39
- data/docs/Prismic/HtmlSerializer.html +57 -56
- data/docs/Prismic/JsonParser.html +145 -143
- data/docs/Prismic/LinkResolver.html +73 -72
- data/docs/Prismic/LruCache.html +70 -69
- data/docs/Prismic/Predicates.html +261 -209
- data/docs/Prismic/Ref.html +86 -85
- data/docs/Prismic/Response.html +75 -73
- data/docs/Prismic/SearchForm/AuthenticationException.html +44 -43
- data/docs/Prismic/SearchForm/AuthorizationException.html +44 -43
- data/docs/Prismic/SearchForm/FormSearchException.html +44 -43
- data/docs/Prismic/SearchForm/NoRefSetException.html +44 -43
- data/docs/Prismic/SearchForm/RefNotFoundException.html +44 -43
- data/docs/Prismic/SearchForm/UnsupportedFormKind.html +44 -43
- data/docs/Prismic/SearchForm.html +97 -96
- data/docs/Prismic/Variation.html +57 -56
- data/docs/Prismic/WithFragments.html +115 -113
- data/docs/Prismic.html +91 -93
- data/docs/_index.html +32 -35
- data/docs/class_list.html +24 -27
- data/docs/css/full_list.css +32 -31
- data/docs/css/style.css +244 -91
- data/docs/file.README.html +39 -74
- data/docs/file_list.html +26 -26
- data/docs/frames.html +7 -16
- data/docs/index.html +39 -74
- data/docs/js/app.js +101 -77
- data/docs/js/full_list.js +170 -132
- data/docs/method_list.html +1995 -1189
- data/docs/top-level-namespace.html +34 -36
- data/lib/prismic/api.rb +10 -1
- data/lib/prismic/fragments/link.rb +3 -2
- data/lib/prismic/json_parsers.rb +14 -0
- data/lib/prismic/version.rb +1 -1
- data/lib/prismic.rb +47 -5
- data/spec/cache_spec.rb +2 -2
- data/spec/fragments_spec.rb +8 -1
- data/spec/json_parsers_spec.rb +13 -1
- data/spec/prismic_spec.rb +14 -7
- data/spec/responses_mocks/document.json +13 -0
- data/spec/simple_search_spec.rb +9 -0
- metadata +2 -2
data/docs/Prismic/Form.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: Prismic::Form
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8
|
9
|
+
— 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
|
-
|
18
|
+
pathId = "Prismic::Form";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!Prismic/Form.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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 (F)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../Prismic.html" title="Prismic (module)">Prismic</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Form</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
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
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
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: Prismic::Form
|
62
|
+
<div id="content"><h1>Class: Prismic::Form
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
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
|
-
|
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
|
-
|
97
|
-
<
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/prismic/form.rb</dd>
|
98
|
+
</dl>
|
98
99
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
100
|
+
</div>
|
101
101
|
|
102
102
|
|
103
103
|
|
104
104
|
|
105
105
|
|
106
|
-
<h2>Instance Attribute Summary <small
|
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="#action-instance_method" title="#action (instance method)"
|
112
|
+
<a href="#action-instance_method" title="#action (instance method)">#<strong>action</strong> ⇒ Object </a>
|
113
113
|
|
114
114
|
|
115
115
|
|
@@ -135,7 +135,7 @@
|
|
135
135
|
<li class="public ">
|
136
136
|
<span class="summary_signature">
|
137
137
|
|
138
|
-
<a href="#enctype-instance_method" title="#enctype (instance method)"
|
138
|
+
<a href="#enctype-instance_method" title="#enctype (instance method)">#<strong>enctype</strong> ⇒ Object </a>
|
139
139
|
|
140
140
|
|
141
141
|
|
@@ -161,7 +161,7 @@
|
|
161
161
|
<li class="public ">
|
162
162
|
<span class="summary_signature">
|
163
163
|
|
164
|
-
<a href="#fields-instance_method" title="#fields (instance method)"
|
164
|
+
<a href="#fields-instance_method" title="#fields (instance method)">#<strong>fields</strong> ⇒ Object </a>
|
165
165
|
|
166
166
|
|
167
167
|
|
@@ -187,7 +187,7 @@
|
|
187
187
|
<li class="public ">
|
188
188
|
<span class="summary_signature">
|
189
189
|
|
190
|
-
<a href="#form_method-instance_method" title="#form_method (instance method)"
|
190
|
+
<a href="#form_method-instance_method" title="#form_method (instance method)">#<strong>form_method</strong> ⇒ Object </a>
|
191
191
|
|
192
192
|
|
193
193
|
|
@@ -213,7 +213,7 @@
|
|
213
213
|
<li class="public ">
|
214
214
|
<span class="summary_signature">
|
215
215
|
|
216
|
-
<a href="#name-instance_method" title="#name (instance method)"
|
216
|
+
<a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> ⇒ Object </a>
|
217
217
|
|
218
218
|
|
219
219
|
|
@@ -239,7 +239,7 @@
|
|
239
239
|
<li class="public ">
|
240
240
|
<span class="summary_signature">
|
241
241
|
|
242
|
-
<a href="#rel-instance_method" title="#rel (instance method)"
|
242
|
+
<a href="#rel-instance_method" title="#rel (instance method)">#<strong>rel</strong> ⇒ Object </a>
|
243
243
|
|
244
244
|
|
245
245
|
|
@@ -270,7 +270,7 @@
|
|
270
270
|
|
271
271
|
<h2>
|
272
272
|
Class Method Summary
|
273
|
-
<small
|
273
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
274
274
|
</h2>
|
275
275
|
|
276
276
|
<ul class="summary">
|
@@ -278,7 +278,7 @@
|
|
278
278
|
<li class="public ">
|
279
279
|
<span class="summary_signature">
|
280
280
|
|
281
|
-
<a href="#from_json-class_method" title="from_json (class method)"
|
281
|
+
<a href="#from_json-class_method" title="from_json (class method)">.<strong>from_json</strong>(api, json) ⇒ Object </a>
|
282
282
|
|
283
283
|
|
284
284
|
|
@@ -301,7 +301,7 @@
|
|
301
301
|
|
302
302
|
<h2>
|
303
303
|
Instance Method Summary
|
304
|
-
<small
|
304
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
305
305
|
</h2>
|
306
306
|
|
307
307
|
<ul class="summary">
|
@@ -309,7 +309,7 @@
|
|
309
309
|
<li class="public ">
|
310
310
|
<span class="summary_signature">
|
311
311
|
|
312
|
-
<a href="#create_search_form-instance_method" title="#create_search_form (instance method)"
|
312
|
+
<a href="#create_search_form-instance_method" title="#create_search_form (instance method)">#<strong>create_search_form</strong>(data = {}, ref = nil) ⇒ Object </a>
|
313
313
|
|
314
314
|
|
315
315
|
|
@@ -331,7 +331,7 @@
|
|
331
331
|
<li class="public ">
|
332
332
|
<span class="summary_signature">
|
333
333
|
|
334
|
-
<a href="#default_data-instance_method" title="#default_data (instance method)"
|
334
|
+
<a href="#default_data-instance_method" title="#default_data (instance method)">#<strong>default_data</strong> ⇒ Object </a>
|
335
335
|
|
336
336
|
|
337
337
|
|
@@ -353,7 +353,7 @@
|
|
353
353
|
<li class="public ">
|
354
354
|
<span class="summary_signature">
|
355
355
|
|
356
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
356
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(api, name, fields, form_method, rel, enctype, action) ⇒ Form </a>
|
357
357
|
|
358
358
|
|
359
359
|
|
@@ -384,7 +384,7 @@
|
|
384
384
|
<div class="method_details first">
|
385
385
|
<h3 class="signature first" id="initialize-instance_method">
|
386
386
|
|
387
|
-
|
387
|
+
#<strong>initialize</strong>(api, name, fields, form_method, rel, enctype, action) ⇒ <tt><span class='object_link'><a href="" title="Prismic::Form (class)">Form</a></span></tt>
|
388
388
|
|
389
389
|
|
390
390
|
|
@@ -443,7 +443,7 @@
|
|
443
443
|
<div class="method_details first">
|
444
444
|
<h3 class="signature first" id="action-instance_method">
|
445
445
|
|
446
|
-
|
446
|
+
#<strong>action</strong> ⇒ <tt>Object</tt>
|
447
447
|
|
448
448
|
|
449
449
|
|
@@ -485,7 +485,7 @@
|
|
485
485
|
<div class="method_details ">
|
486
486
|
<h3 class="signature " id="enctype-instance_method">
|
487
487
|
|
488
|
-
|
488
|
+
#<strong>enctype</strong> ⇒ <tt>Object</tt>
|
489
489
|
|
490
490
|
|
491
491
|
|
@@ -527,7 +527,7 @@
|
|
527
527
|
<div class="method_details ">
|
528
528
|
<h3 class="signature " id="fields-instance_method">
|
529
529
|
|
530
|
-
|
530
|
+
#<strong>fields</strong> ⇒ <tt>Object</tt>
|
531
531
|
|
532
532
|
|
533
533
|
|
@@ -569,7 +569,7 @@
|
|
569
569
|
<div class="method_details ">
|
570
570
|
<h3 class="signature " id="form_method-instance_method">
|
571
571
|
|
572
|
-
|
572
|
+
#<strong>form_method</strong> ⇒ <tt>Object</tt>
|
573
573
|
|
574
574
|
|
575
575
|
|
@@ -611,7 +611,7 @@
|
|
611
611
|
<div class="method_details ">
|
612
612
|
<h3 class="signature " id="name-instance_method">
|
613
613
|
|
614
|
-
|
614
|
+
#<strong>name</strong> ⇒ <tt>Object</tt>
|
615
615
|
|
616
616
|
|
617
617
|
|
@@ -653,7 +653,7 @@
|
|
653
653
|
<div class="method_details ">
|
654
654
|
<h3 class="signature " id="rel-instance_method">
|
655
655
|
|
656
|
-
|
656
|
+
#<strong>rel</strong> ⇒ <tt>Object</tt>
|
657
657
|
|
658
658
|
|
659
659
|
|
@@ -700,7 +700,7 @@
|
|
700
700
|
<div class="method_details first">
|
701
701
|
<h3 class="signature first" id="from_json-class_method">
|
702
702
|
|
703
|
-
|
703
|
+
.<strong>from_json</strong>(api, json) ⇒ <tt>Object</tt>
|
704
704
|
|
705
705
|
|
706
706
|
|
@@ -730,11 +730,11 @@
|
|
730
730
|
<pre class="code"><span class="info file"># File 'lib/prismic/form.rb', line 24</span>
|
731
731
|
|
732
732
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_from_json'>from_json</span><span class='lparen'>(</span><span class='id identifier rubyid_api'>api</span><span class='comma'>,</span> <span class='id identifier rubyid_json'>json</span><span class='rparen'>)</span>
|
733
|
-
<span class='const'>Form</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
|
733
|
+
<span class='const'><span class='object_link'><a href="" title="Prismic::Form (class)">Form</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Prismic::Form#initialize (method)">new</a></span></span><span class='lparen'>(</span>
|
734
734
|
<span class='id identifier rubyid_api'>api</span><span class='comma'>,</span>
|
735
735
|
<span class='id identifier rubyid_json'>json</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>name</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='comma'>,</span>
|
736
736
|
<span class='const'>Hash</span><span class='lbracket'>[</span><span class='id identifier rubyid_json'>json</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>fields</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_k2'>k2</span><span class='comma'>,</span> <span class='id identifier rubyid_field'>field</span><span class='op'>|</span>
|
737
|
-
<span class='lbracket'>[</span><span class='id identifier rubyid_k2'>k2</span><span class='comma'>,</span> <span class='const'>Field</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_field'>field</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>type</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_field'>field</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>default</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_k2'>k2</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>q</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbracket'>]</span>
|
737
|
+
<span class='lbracket'>[</span><span class='id identifier rubyid_k2'>k2</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="Field.html" title="Prismic::Field (class)">Field</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Field.html#initialize-instance_method" title="Prismic::Field#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_field'>field</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>type</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_field'>field</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>default</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_k2'>k2</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>q</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span><span class='rbracket'>]</span>
|
738
738
|
<span class='rbrace'>}</span><span class='rbracket'>]</span><span class='comma'>,</span>
|
739
739
|
<span class='id identifier rubyid_json'>json</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>method</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='comma'>,</span>
|
740
740
|
<span class='id identifier rubyid_json'>json</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>rel</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='comma'>,</span>
|
@@ -756,7 +756,7 @@
|
|
756
756
|
<div class="method_details first">
|
757
757
|
<h3 class="signature first" id="create_search_form-instance_method">
|
758
758
|
|
759
|
-
|
759
|
+
#<strong>create_search_form</strong>(data = {}, ref = nil) ⇒ <tt>Object</tt>
|
760
760
|
|
761
761
|
|
762
762
|
|
@@ -776,7 +776,7 @@
|
|
776
776
|
<pre class="code"><span class="info file"># File 'lib/prismic/form.rb', line 20</span>
|
777
777
|
|
778
778
|
<span class='kw'>def</span> <span class='id identifier rubyid_create_search_form'>create_search_form</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_ref'>ref</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
|
779
|
-
<span class='const'>SearchForm</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@api</span><span class='comma'>,</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_ref'>ref</span><span class='rparen'>)</span>
|
779
|
+
<span class='const'><span class='object_link'><a href="SearchForm.html" title="Prismic::SearchForm (class)">SearchForm</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="SearchForm.html#initialize-instance_method" title="Prismic::SearchForm#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='ivar'>@api</span><span class='comma'>,</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_ref'>ref</span><span class='rparen'>)</span>
|
780
780
|
<span class='kw'>end</span></pre>
|
781
781
|
</td>
|
782
782
|
</tr>
|
@@ -786,7 +786,7 @@
|
|
786
786
|
<div class="method_details ">
|
787
787
|
<h3 class="signature " id="default_data-instance_method">
|
788
788
|
|
789
|
-
|
789
|
+
#<strong>default_data</strong> ⇒ <tt>Object</tt>
|
790
790
|
|
791
791
|
|
792
792
|
|
@@ -817,11 +817,12 @@
|
|
817
817
|
|
818
818
|
</div>
|
819
819
|
|
820
|
-
|
821
|
-
Generated on
|
820
|
+
<div id="footer">
|
821
|
+
Generated on Mon Jan 16 16:05:09 2017 by
|
822
822
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
823
|
-
0.8
|
823
|
+
0.9.8 (ruby-2.3.1).
|
824
824
|
</div>
|
825
825
|
|
826
|
+
</div>
|
826
827
|
</body>
|
827
828
|
</html>
|