doc/GQLi/DSL.html in gqli-0.6.1 vs doc/GQLi/DSL.html in gqli-1.0.0

- old
+ new

@@ -4,11 +4,11 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Module: GQLi::DSL - &mdash; Documentation by YARD 0.9.16 + &mdash; Documentation by YARD 0.9.19 </title> <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" /> @@ -163,10 +163,34 @@ <li class="public "> <span class="summary_signature"> + <a href="#mutation-class_method" title="mutation (class method)">.<strong>mutation</strong>(name = nil, &amp;block) &#x21d2; Object </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'> +<p>Creates a Mutation object.</p> +</div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + <a href="#query-class_method" title="query (class method)">.<strong>query</strong>(name = nil, &amp;block) &#x21d2; Object </a> </span> @@ -268,10 +292,34 @@ <li class="public "> <span class="summary_signature"> + <a href="#mutation-instance_method" title="#mutation (instance method)">#<strong>mutation</strong>(name = nil, &amp;block) &#x21d2; Object </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'> +<p>Creates a Mutation object.</p> +</div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + <a href="#query-instance_method" title="#query (instance method)">#<strong>query</strong>(name = nil, &amp;block) &#x21d2; Object </a> </span> @@ -350,16 +398,16 @@ <tr> <td> <pre class="lines"> -35 -36 -37</pre> +43 +44 +45</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 35</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 43</span> <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> <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> <span class='kw'>end</span></pre> </td> @@ -393,26 +441,69 @@ <tr> <td> <pre class="lines"> -28 -29 -30</pre> +36 +37 +38</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 28</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 36</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> + <h3 class="signature " id="mutation-class_method"> + + .<strong>mutation</strong>(name = nil, &amp;block) &#x21d2; <tt>Object</tt> + + + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>Creates a Mutation object</p> + +<p>Can be used at a class level</p> + + + </div> +</div> +<div class="tags"> + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +29 +30 +31</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 29</span> + +<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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> + <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + <div class="method_details "> <h3 class="signature " id="query-class_method"> .<strong>query</strong>(name = nil, &amp;block) &#x21d2; <tt>Object</tt> @@ -436,16 +527,16 @@ <tr> <td> <pre class="lines"> -14 15 -16</pre> +16 +17</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 14</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 15</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> @@ -479,16 +570,16 @@ <tr> <td> <pre class="lines"> -21 22 -23</pre> +23 +24</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 21</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 22</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> @@ -528,16 +619,16 @@ <tr> <td> <pre class="lines"> -63 -64 -65</pre> +78 +79 +80</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 63</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 78</span> <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> <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> <span class='kw'>end</span></pre> </td> @@ -571,26 +662,69 @@ <tr> <td> <pre class="lines"> -56 -57 -58</pre> +71 +72 +73</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 56</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 71</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> + <h3 class="signature " id="mutation-instance_method"> + + #<strong>mutation</strong>(name = nil, &amp;block) &#x21d2; <tt>Object</tt> + + + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>Creates a Mutation object</p> + +<p>Can be used at a instance level</p> + + + </div> +</div> +<div class="tags"> + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +57 +58 +59</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 57</span> + +<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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> + <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + <div class="method_details "> <h3 class="signature " id="query-instance_method"> #<strong>query</strong>(name = nil, &amp;block) &#x21d2; <tt>Object</tt> @@ -614,16 +748,16 @@ <tr> <td> <pre class="lines"> -42 -43 -44</pre> +50 +51 +52</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 42</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 50</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> @@ -643,11 +777,11 @@ </h3><div class="docstring"> <div class="discussion"> <p>Creates a Subscription object</p> -<p>Can be used at a class level</p> +<p>Can be used at a instance level</p> </div> </div> <div class="tags"> @@ -657,16 +791,16 @@ <tr> <td> <pre class="lines"> -49 -50 -51</pre> +64 +65 +66</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 49</span> + <pre class="code"><span class="info file"># File 'lib/gqli/dsl.rb', line 64</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <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'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> </td> @@ -677,12 +811,12 @@ </div> </div> <div id="footer"> - Generated on Fri Feb 22 13:09:52 2019 by + Generated on Fri May 3 15:26:03 2019 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.9.16 (ruby-2.5.3). + 0.9.19 (ruby-2.6.3). </div> </div> </body> </html> \ No newline at end of file