docs/JsonapiCompliable/Query.html in jsonapi_compliable-0.6.13 vs docs/JsonapiCompliable/Query.html in jsonapi_compliable-0.7.2
- old
+ new
@@ -390,18 +390,20 @@
24
25
26
-27</pre>
+27
+28</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 24</span>
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
<span class='ivar'>@resource</span> <span class='op'>=</span> <span class='id identifier rubyid_resource'>resource</span>
<span class='ivar'>@params</span> <span class='op'>=</span> <span class='id identifier rubyid_params'>params</span>
+ <span class='ivar'>@params</span> <span class='op'>=</span> <span class='ivar'>@params</span><span class='period'>.</span><span class='id identifier rubyid_permit!'>permit!</span> <span class='kw'>if</span> <span class='ivar'>@params</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:permit!</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -647,16 +649,16 @@
<tr>
<td>
<pre class="lines">
-71
72
-73</pre>
+73
+74</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 71</span>
+ <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 72</span>
<span class='kw'>def</span> <span class='id identifier rubyid_association_names'>association_names</span>
<span class='ivar'>@association_names</span> <span class='op'>||=</span> <span class='const'><span class='object_link'><a href="Util.html" title="JsonapiCompliable::Util (module)">Util</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Util/Hash.html" title="JsonapiCompliable::Util::Hash (class)">Hash</a></span></span><span class='period'>.</span><span class='id identifier rubyid_keys'><span class='object_link'><a href="Util/Hash.html#keys-class_method" title="JsonapiCompliable::Util::Hash.keys (method)">keys</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_include_hash'>include_hash</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -708,16 +710,16 @@
<tr>
<td>
<pre class="lines">
-32
33
-34</pre>
+34
+35</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 32</span>
+ <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 33</span>
<span class='kw'>def</span> <span class='id identifier rubyid_include_directive'>include_directive</span>
<span class='ivar'>@include_directive</span> <span class='op'>||=</span> <span class='const'>JSONAPI</span><span class='op'>::</span><span class='const'>IncludeDirective</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:include</span><span class='rbracket'>]</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -785,23 +787,23 @@
<tr>
<td>
<pre class="lines">
-49
50
51
52
53
54
55
56
57
-58</pre>
+58
+59</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 49</span>
+ <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 50</span>
<span class='kw'>def</span> <span class='id identifier rubyid_include_hash'>include_hash</span>
<span class='ivar'>@include_hash</span> <span class='op'>||=</span> <span class='kw'>begin</span>
<span class='id identifier rubyid_requested'>requested</span> <span class='op'>=</span> <span class='id identifier rubyid_include_directive'>include_directive</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
<span class='id identifier rubyid_all_allowed'>all_allowed</span> <span class='op'>=</span> <span class='id identifier rubyid_resource'>resource</span><span class='period'>.</span><span class='id identifier rubyid_sideloading'>sideloading</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span><span class='lbracket'>[</span><span class='symbol'>:base</span><span class='rbracket'>]</span>
@@ -944,11 +946,10 @@
<tr>
<td>
<pre class="lines">
-120
121
122
123
124
125
@@ -966,14 +967,15 @@
137
138
139
140
141
-142</pre>
+142
+143</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 120</span>
+ <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 121</span>
<span class='kw'>def</span> <span class='id identifier rubyid_to_hash'>to_hash</span>
<span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_resource'>resource</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='op'>=></span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_default_hash'>default_hash</span> <span class='rbrace'>}</span>
<span class='id identifier rubyid_association_names'>association_names</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='op'>|</span>
@@ -1063,18 +1065,18 @@
<tr>
<td>
<pre class="lines">
-159
160
161
162
-163</pre>
+163
+164</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 159</span>
+ <pre class="code"><span class="info file"># File 'lib/jsonapi_compliable/query.rb', line 160</span>
<span class='kw'>def</span> <span class='id identifier rubyid_zero_results?'>zero_results?</span>
<span class='op'>!</span><span class='ivar'>@params</span><span class='lbracket'>[</span><span class='symbol'>:page</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>&&</span>
<span class='op'>!</span><span class='ivar'>@params</span><span class='lbracket'>[</span><span class='symbol'>:page</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>&&</span>
<span class='ivar'>@params</span><span class='lbracket'>[</span><span class='symbol'>:page</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span> <span class='op'>==</span> <span class='int'>0</span>
@@ -1087,10 +1089,10 @@
</div>
</div>
<div id="footer">
- Generated on Fri May 5 15:53:22 2017 by
+ Generated on Wed Jun 7 10:15:09 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.3.0).
</div>
</div>
\ No newline at end of file