gqli 0.6.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/CHANGELOG.md +17 -0
- data/Gemfile.lock +103 -82
- data/README.md +0 -5
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +1774 -1205
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
- data/coverage/assets/0.12.3/application.css +1 -0
- data/coverage/assets/0.12.3/application.js +7 -0
- data/coverage/assets/{0.10.2 → 0.12.3}/colorbox/border.png +0 -0
- data/coverage/assets/{0.10.2 → 0.12.3}/colorbox/controls.png +0 -0
- data/coverage/assets/{0.10.2 → 0.12.3}/colorbox/loading.gif +0 -0
- data/coverage/assets/{0.10.2 → 0.12.3}/colorbox/loading_background.png +0 -0
- data/coverage/assets/{0.10.2 → 0.12.3}/favicon_green.png +0 -0
- data/coverage/assets/{0.10.2 → 0.12.3}/favicon_red.png +0 -0
- data/coverage/assets/{0.10.2 → 0.12.3}/favicon_yellow.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/{0.10.2/smoothness → 0.12.3}/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/assets/{0.10.2 → 0.12.3}/loading.gif +0 -0
- data/coverage/assets/{0.10.2 → 0.12.3}/magnify.png +0 -0
- data/coverage/index.html +19376 -7403
- data/doc/GQLi/Base.html +11 -11
- data/doc/GQLi/Client.html +175 -41
- data/doc/GQLi/Contentful.html +13 -11
- data/doc/GQLi/DSL.html +298 -30
- data/doc/GQLi/EnumValue.html +8 -8
- data/doc/GQLi/Fragment.html +8 -8
- data/doc/GQLi/Github.html +6 -6
- data/doc/GQLi/Introspection.html +46 -48
- data/doc/GQLi/Mutation.html +390 -0
- data/doc/GQLi/Node.html +8 -8
- data/doc/GQLi/Query.html +6 -6
- data/doc/GQLi/Response.html +87 -13
- data/doc/GQLi/Subscription.html +390 -0
- data/doc/GQLi/Validation.html +20 -20
- data/doc/GQLi.html +9 -9
- data/doc/_index.html +37 -7
- data/doc/class_list.html +3 -3
- data/doc/css/style.css +3 -2
- data/doc/file.CHANGELOG.html +43 -13
- data/doc/file.LICENSE.html +6 -6
- data/doc/file.README.html +31 -84
- data/doc/file_list.html +2 -2
- data/doc/frames.html +2 -2
- data/doc/index.html +31 -84
- data/doc/js/app.js +25 -3
- data/doc/method_list.html +147 -43
- data/doc/top-level-namespace.html +6 -6
- data/gqli.gemspec +5 -6
- data/lib/gqli/client.rb +25 -5
- data/lib/gqli/clients/contentful.rb +3 -2
- data/lib/gqli/dsl.rb +16 -1
- data/lib/gqli/introspection.rb +1 -3
- data/lib/gqli/mutation.rb +27 -0
- data/lib/gqli/response.rb +15 -2
- data/lib/gqli/subscription.rb +1 -1
- data/lib/gqli/validation.rb +15 -12
- data/lib/gqli/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/client.yml +98 -27
- data/spec/fixtures/vcr_cassettes/mutation_client.yml +4364 -0
- data/spec/lib/gqli/client_spec.rb +53 -0
- data/spec/lib/gqli/dsl_spec.rb +72 -2
- data/spec/lib/gqli/introspection_spec.rb +54 -0
- data/spec/lib/gqli/response_spec.rb +51 -0
- metadata +64 -73
- data/coverage/assets/0.10.2/application.css +0 -799
- data/coverage/assets/0.10.2/application.js +0 -1707
data/doc/GQLi/DSL.html
CHANGED
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: GQLi::DSL
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.27
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "GQLi::DSL";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -159,6 +159,30 @@
|
|
159
159
|
<p>Creates a Fragment object.</p>
|
160
160
|
</div></span>
|
161
161
|
|
162
|
+
</li>
|
163
|
+
|
164
|
+
|
165
|
+
<li class="public ">
|
166
|
+
<span class="summary_signature">
|
167
|
+
|
168
|
+
<a href="#mutation-class_method" title="mutation (class method)">.<strong>mutation</strong>(name = nil, &block) ⇒ Object </a>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
</span>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
<span class="summary_desc"><div class='inline'>
|
183
|
+
<p>Creates a Mutation object.</p>
|
184
|
+
</div></span>
|
185
|
+
|
162
186
|
</li>
|
163
187
|
|
164
188
|
|
@@ -183,6 +207,30 @@
|
|
183
207
|
<p>Creates a Query object.</p>
|
184
208
|
</div></span>
|
185
209
|
|
210
|
+
</li>
|
211
|
+
|
212
|
+
|
213
|
+
<li class="public ">
|
214
|
+
<span class="summary_signature">
|
215
|
+
|
216
|
+
<a href="#subscription-class_method" title="subscription (class method)">.<strong>subscription</strong>(name = nil, &block) ⇒ Object </a>
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
</span>
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
<span class="summary_desc"><div class='inline'>
|
231
|
+
<p>Creates a Subscription object.</p>
|
232
|
+
</div></span>
|
233
|
+
|
186
234
|
</li>
|
187
235
|
|
188
236
|
|
@@ -240,6 +288,30 @@
|
|
240
288
|
<p>Creates a Fragment object.</p>
|
241
289
|
</div></span>
|
242
290
|
|
291
|
+
</li>
|
292
|
+
|
293
|
+
|
294
|
+
<li class="public ">
|
295
|
+
<span class="summary_signature">
|
296
|
+
|
297
|
+
<a href="#mutation-instance_method" title="#mutation (instance method)">#<strong>mutation</strong>(name = nil, &block) ⇒ Object </a>
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
</span>
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
<span class="summary_desc"><div class='inline'>
|
312
|
+
<p>Creates a Mutation object.</p>
|
313
|
+
</div></span>
|
314
|
+
|
243
315
|
</li>
|
244
316
|
|
245
317
|
|
@@ -264,6 +336,30 @@
|
|
264
336
|
<p>Creates a Query object.</p>
|
265
337
|
</div></span>
|
266
338
|
|
339
|
+
</li>
|
340
|
+
|
341
|
+
|
342
|
+
<li class="public ">
|
343
|
+
<span class="summary_signature">
|
344
|
+
|
345
|
+
<a href="#subscription-instance_method" title="#subscription (instance method)">#<strong>subscription</strong>(name = nil, &block) ⇒ Object </a>
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
</span>
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
<span class="summary_desc"><div class='inline'>
|
360
|
+
<p>Creates a Subscription object.</p>
|
361
|
+
</div></span>
|
362
|
+
|
267
363
|
</li>
|
268
364
|
|
269
365
|
|
@@ -304,12 +400,12 @@
|
|
304
400
|
<pre class="lines">
|
305
401
|
|
306
402
|
|
307
|
-
|
308
|
-
|
309
|
-
|
403
|
+
43
|
404
|
+
44
|
405
|
+
45</pre>
|
310
406
|
</td>
|
311
407
|
<td>
|
312
|
-
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line
|
408
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 43</span>
|
313
409
|
|
314
410
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_enum'>enum</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
315
411
|
<span class='const'><span class='object_link'><a href="EnumValue.html" title="GQLi::EnumValue (class)">EnumValue</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="EnumValue.html#initialize-instance_method" title="GQLi::EnumValue#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
@@ -347,12 +443,12 @@
|
|
347
443
|
<pre class="lines">
|
348
444
|
|
349
445
|
|
350
|
-
|
351
|
-
|
352
|
-
|
446
|
+
36
|
447
|
+
37
|
448
|
+
38</pre>
|
353
449
|
</td>
|
354
450
|
<td>
|
355
|
-
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line
|
451
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 36</span>
|
356
452
|
|
357
453
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_fragment'>fragment</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_on'>on</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
358
454
|
<span class='const'><span class='object_link'><a href="Fragment.html" title="GQLi::Fragment (class)">Fragment</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Fragment.html#initialize-instance_method" title="GQLi::Fragment#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_on'>on</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
@@ -360,6 +456,49 @@
|
|
360
456
|
</td>
|
361
457
|
</tr>
|
362
458
|
</table>
|
459
|
+
</div>
|
460
|
+
|
461
|
+
<div class="method_details ">
|
462
|
+
<h3 class="signature " id="mutation-class_method">
|
463
|
+
|
464
|
+
.<strong>mutation</strong>(name = nil, &block) ⇒ <tt>Object</tt>
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
</h3><div class="docstring">
|
471
|
+
<div class="discussion">
|
472
|
+
|
473
|
+
<p>Creates a Mutation object</p>
|
474
|
+
|
475
|
+
<p>Can be used at a class level</p>
|
476
|
+
|
477
|
+
|
478
|
+
</div>
|
479
|
+
</div>
|
480
|
+
<div class="tags">
|
481
|
+
|
482
|
+
|
483
|
+
</div><table class="source_code">
|
484
|
+
<tr>
|
485
|
+
<td>
|
486
|
+
<pre class="lines">
|
487
|
+
|
488
|
+
|
489
|
+
29
|
490
|
+
30
|
491
|
+
31</pre>
|
492
|
+
</td>
|
493
|
+
<td>
|
494
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 29</span>
|
495
|
+
|
496
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_mutation'>mutation</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
497
|
+
<span class='const'><span class='object_link'><a href="Mutation.html" title="GQLi::Mutation (class)">Mutation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Base.html#initialize-instance_method" title="GQLi::Base#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
498
|
+
<span class='kw'>end</span></pre>
|
499
|
+
</td>
|
500
|
+
</tr>
|
501
|
+
</table>
|
363
502
|
</div>
|
364
503
|
|
365
504
|
<div class="method_details ">
|
@@ -390,12 +529,12 @@
|
|
390
529
|
<pre class="lines">
|
391
530
|
|
392
531
|
|
393
|
-
|
394
|
-
|
395
|
-
|
532
|
+
15
|
533
|
+
16
|
534
|
+
17</pre>
|
396
535
|
</td>
|
397
536
|
<td>
|
398
|
-
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line
|
537
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 15</span>
|
399
538
|
|
400
539
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_query'>query</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
401
540
|
<span class='const'><span class='object_link'><a href="Query.html" title="GQLi::Query (class)">Query</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Base.html#initialize-instance_method" title="GQLi::Base#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
@@ -403,6 +542,49 @@
|
|
403
542
|
</td>
|
404
543
|
</tr>
|
405
544
|
</table>
|
545
|
+
</div>
|
546
|
+
|
547
|
+
<div class="method_details ">
|
548
|
+
<h3 class="signature " id="subscription-class_method">
|
549
|
+
|
550
|
+
.<strong>subscription</strong>(name = nil, &block) ⇒ <tt>Object</tt>
|
551
|
+
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
|
556
|
+
</h3><div class="docstring">
|
557
|
+
<div class="discussion">
|
558
|
+
|
559
|
+
<p>Creates a Subscription object</p>
|
560
|
+
|
561
|
+
<p>Can be used at a class level</p>
|
562
|
+
|
563
|
+
|
564
|
+
</div>
|
565
|
+
</div>
|
566
|
+
<div class="tags">
|
567
|
+
|
568
|
+
|
569
|
+
</div><table class="source_code">
|
570
|
+
<tr>
|
571
|
+
<td>
|
572
|
+
<pre class="lines">
|
573
|
+
|
574
|
+
|
575
|
+
22
|
576
|
+
23
|
577
|
+
24</pre>
|
578
|
+
</td>
|
579
|
+
<td>
|
580
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 22</span>
|
581
|
+
|
582
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_subscription'>subscription</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
583
|
+
<span class='const'><span class='object_link'><a href="Subscription.html" title="GQLi::Subscription (class)">Subscription</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Base.html#initialize-instance_method" title="GQLi::Base#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
584
|
+
<span class='kw'>end</span></pre>
|
585
|
+
</td>
|
586
|
+
</tr>
|
587
|
+
</table>
|
406
588
|
</div>
|
407
589
|
|
408
590
|
</div>
|
@@ -439,12 +621,12 @@
|
|
439
621
|
<pre class="lines">
|
440
622
|
|
441
623
|
|
442
|
-
|
443
|
-
|
444
|
-
|
624
|
+
78
|
625
|
+
79
|
626
|
+
80</pre>
|
445
627
|
</td>
|
446
628
|
<td>
|
447
|
-
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line
|
629
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 78</span>
|
448
630
|
|
449
631
|
<span class='kw'>def</span> <span class='id identifier rubyid_enum'>enum</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
450
632
|
<span class='const'><span class='object_link'><a href="EnumValue.html" title="GQLi::EnumValue (class)">EnumValue</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="EnumValue.html#initialize-instance_method" title="GQLi::EnumValue#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
@@ -482,12 +664,12 @@
|
|
482
664
|
<pre class="lines">
|
483
665
|
|
484
666
|
|
485
|
-
|
486
|
-
|
487
|
-
|
667
|
+
71
|
668
|
+
72
|
669
|
+
73</pre>
|
488
670
|
</td>
|
489
671
|
<td>
|
490
|
-
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line
|
672
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 71</span>
|
491
673
|
|
492
674
|
<span class='kw'>def</span> <span class='id identifier rubyid_fragment'>fragment</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_on'>on</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
493
675
|
<span class='const'><span class='object_link'><a href="Fragment.html" title="GQLi::Fragment (class)">Fragment</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Fragment.html#initialize-instance_method" title="GQLi::Fragment#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_on'>on</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
@@ -495,6 +677,49 @@
|
|
495
677
|
</td>
|
496
678
|
</tr>
|
497
679
|
</table>
|
680
|
+
</div>
|
681
|
+
|
682
|
+
<div class="method_details ">
|
683
|
+
<h3 class="signature " id="mutation-instance_method">
|
684
|
+
|
685
|
+
#<strong>mutation</strong>(name = nil, &block) ⇒ <tt>Object</tt>
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
|
690
|
+
|
691
|
+
</h3><div class="docstring">
|
692
|
+
<div class="discussion">
|
693
|
+
|
694
|
+
<p>Creates a Mutation object</p>
|
695
|
+
|
696
|
+
<p>Can be used at a instance level</p>
|
697
|
+
|
698
|
+
|
699
|
+
</div>
|
700
|
+
</div>
|
701
|
+
<div class="tags">
|
702
|
+
|
703
|
+
|
704
|
+
</div><table class="source_code">
|
705
|
+
<tr>
|
706
|
+
<td>
|
707
|
+
<pre class="lines">
|
708
|
+
|
709
|
+
|
710
|
+
57
|
711
|
+
58
|
712
|
+
59</pre>
|
713
|
+
</td>
|
714
|
+
<td>
|
715
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 57</span>
|
716
|
+
|
717
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_mutation'>mutation</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
718
|
+
<span class='const'><span class='object_link'><a href="Mutation.html" title="GQLi::Mutation (class)">Mutation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Base.html#initialize-instance_method" title="GQLi::Base#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
719
|
+
<span class='kw'>end</span></pre>
|
720
|
+
</td>
|
721
|
+
</tr>
|
722
|
+
</table>
|
498
723
|
</div>
|
499
724
|
|
500
725
|
<div class="method_details ">
|
@@ -525,12 +750,12 @@
|
|
525
750
|
<pre class="lines">
|
526
751
|
|
527
752
|
|
528
|
-
|
529
|
-
|
530
|
-
|
753
|
+
50
|
754
|
+
51
|
755
|
+
52</pre>
|
531
756
|
</td>
|
532
757
|
<td>
|
533
|
-
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line
|
758
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 50</span>
|
534
759
|
|
535
760
|
<span class='kw'>def</span> <span class='id identifier rubyid_query'>query</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
536
761
|
<span class='const'><span class='object_link'><a href="Query.html" title="GQLi::Query (class)">Query</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Base.html#initialize-instance_method" title="GQLi::Base#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
@@ -538,6 +763,49 @@
|
|
538
763
|
</td>
|
539
764
|
</tr>
|
540
765
|
</table>
|
766
|
+
</div>
|
767
|
+
|
768
|
+
<div class="method_details ">
|
769
|
+
<h3 class="signature " id="subscription-instance_method">
|
770
|
+
|
771
|
+
#<strong>subscription</strong>(name = nil, &block) ⇒ <tt>Object</tt>
|
772
|
+
|
773
|
+
|
774
|
+
|
775
|
+
|
776
|
+
|
777
|
+
</h3><div class="docstring">
|
778
|
+
<div class="discussion">
|
779
|
+
|
780
|
+
<p>Creates a Subscription object</p>
|
781
|
+
|
782
|
+
<p>Can be used at a instance level</p>
|
783
|
+
|
784
|
+
|
785
|
+
</div>
|
786
|
+
</div>
|
787
|
+
<div class="tags">
|
788
|
+
|
789
|
+
|
790
|
+
</div><table class="source_code">
|
791
|
+
<tr>
|
792
|
+
<td>
|
793
|
+
<pre class="lines">
|
794
|
+
|
795
|
+
|
796
|
+
64
|
797
|
+
65
|
798
|
+
66</pre>
|
799
|
+
</td>
|
800
|
+
<td>
|
801
|
+
<pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 64</span>
|
802
|
+
|
803
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_subscription'>subscription</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
804
|
+
<span class='const'><span class='object_link'><a href="Subscription.html" title="GQLi::Subscription (class)">Subscription</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Base.html#initialize-instance_method" title="GQLi::Base#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
805
|
+
<span class='kw'>end</span></pre>
|
806
|
+
</td>
|
807
|
+
</tr>
|
808
|
+
</table>
|
541
809
|
</div>
|
542
810
|
|
543
811
|
</div>
|
@@ -545,9 +813,9 @@
|
|
545
813
|
</div>
|
546
814
|
|
547
815
|
<div id="footer">
|
548
|
-
Generated on
|
816
|
+
Generated on Mon Jan 3 17:37:12 2022 by
|
549
817
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
550
|
-
0.9.
|
818
|
+
0.9.27 (ruby-3.0.3).
|
551
819
|
</div>
|
552
820
|
|
553
821
|
</div>
|
data/doc/GQLi/EnumValue.html
CHANGED
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Class: GQLi::EnumValue
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.27
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "GQLi::EnumValue";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -227,7 +227,7 @@
|
|
227
227
|
</h3><div class="docstring">
|
228
228
|
<div class="discussion">
|
229
229
|
|
230
|
-
<p>Returns a new instance of EnumValue
|
230
|
+
<p>Returns a new instance of EnumValue.</p>
|
231
231
|
|
232
232
|
|
233
233
|
</div>
|
@@ -275,7 +275,7 @@
|
|
275
275
|
</h3><div class="docstring">
|
276
276
|
<div class="discussion">
|
277
277
|
|
278
|
-
<p>Returns the value of attribute value
|
278
|
+
<p>Returns the value of attribute value.</p>
|
279
279
|
|
280
280
|
|
281
281
|
</div>
|
@@ -357,9 +357,9 @@
|
|
357
357
|
</div>
|
358
358
|
|
359
359
|
<div id="footer">
|
360
|
-
Generated on
|
360
|
+
Generated on Mon Jan 3 17:37:12 2022 by
|
361
361
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
362
|
-
0.9.
|
362
|
+
0.9.27 (ruby-3.0.3).
|
363
363
|
</div>
|
364
364
|
|
365
365
|
</div>
|
data/doc/GQLi/Fragment.html
CHANGED
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Class: GQLi::Fragment
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.27
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "GQLi::Fragment";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -245,7 +245,7 @@
|
|
245
245
|
</h3><div class="docstring">
|
246
246
|
<div class="discussion">
|
247
247
|
|
248
|
-
<p>Returns a new instance of Fragment
|
248
|
+
<p>Returns a new instance of Fragment.</p>
|
249
249
|
|
250
250
|
|
251
251
|
</div>
|
@@ -305,7 +305,7 @@
|
|
305
305
|
</h3><div class="docstring">
|
306
306
|
<div class="discussion">
|
307
307
|
|
308
|
-
<p>Returns the value of attribute __on_type
|
308
|
+
<p>Returns the value of attribute __on_type.</p>
|
309
309
|
|
310
310
|
|
311
311
|
</div>
|
@@ -395,9 +395,9 @@
|
|
395
395
|
</div>
|
396
396
|
|
397
397
|
<div id="footer">
|
398
|
-
Generated on
|
398
|
+
Generated on Mon Jan 3 17:37:12 2022 by
|
399
399
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
400
|
-
0.9.
|
400
|
+
0.9.27 (ruby-3.0.3).
|
401
401
|
</div>
|
402
402
|
|
403
403
|
</div>
|
data/doc/GQLi/Github.html
CHANGED
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: GQLi::Github
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.27
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "GQLi::Github";
|
19
19
|
relpath = '../';
|
20
20
|
</script>
|
@@ -200,9 +200,9 @@
|
|
200
200
|
</div>
|
201
201
|
|
202
202
|
<div id="footer">
|
203
|
-
Generated on
|
203
|
+
Generated on Mon Jan 3 17:37:12 2022 by
|
204
204
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
205
|
-
0.9.
|
205
|
+
0.9.27 (ruby-3.0.3).
|
206
206
|
</div>
|
207
207
|
|
208
208
|
</div>
|