docs/NgrokAPI/Models/EndpointRequestHeaders.html in ngrok-api-0.18.0 vs docs/NgrokAPI/Models/EndpointRequestHeaders.html in ngrok-api-0.19.0

- old
+ new

@@ -136,11 +136,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#client-instance_method" title="#client (instance method)">#<strong>client</strong> &#x21d2; Object </a> + <a href="#attrs-instance_method" title="#attrs (instance method)">#<strong>attrs</strong> &#x21d2; Object </a> </span> @@ -156,20 +156,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute client.</p> +<p>Returns the value of attribute attrs.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#enabled-instance_method" title="#enabled (instance method)">#<strong>enabled</strong> &#x21d2; Object </a> + <a href="#client-instance_method" title="#client (instance method)">#<strong>client</strong> &#x21d2; Object </a> </span> @@ -185,20 +185,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute enabled.</p> +<p>Returns the value of attribute client.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#remove-instance_method" title="#remove (instance method)">#<strong>remove</strong> &#x21d2; Object </a> + <a href="#enabled-instance_method" title="#enabled (instance method)">#<strong>enabled</strong> &#x21d2; Object </a> </span> @@ -214,20 +214,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute remove.</p> +<p>Returns the value of attribute enabled.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#result-instance_method" title="#result (instance method)">#<strong>result</strong> &#x21d2; Object </a> + <a href="#remove-instance_method" title="#remove (instance method)">#<strong>remove</strong> &#x21d2; Object </a> </span> @@ -243,11 +243,11 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute result.</p> +<p>Returns the value of attribute remove.</p> </div></span> </li> @@ -287,11 +287,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:, result:) &#x21d2; EndpointRequestHeaders </a> + <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client: nil, attrs: {}) &#x21d2; EndpointRequestHeaders </a> </span> @@ -313,10 +313,32 @@ <li class="public "> <span class="summary_signature"> + <a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> &#x21d2; Object </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'></div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; Object </a> </span> @@ -341,11 +363,11 @@ <h2>Constructor Details</h2> <div class="method_details first"> <h3 class="signature first" id="initialize-instance_method"> - #<strong>initialize</strong>(client:, result:) &#x21d2; <tt><span class='object_link'><a href="" title="NgrokAPI::Models::EndpointRequestHeaders (class)">EndpointRequestHeaders</a></span></tt> + #<strong>initialize</strong>(client: nil, attrs: {}) &#x21d2; <tt><span class='object_link'><a href="" title="NgrokAPI::Models::EndpointRequestHeaders (class)">EndpointRequestHeaders</a></span></tt> @@ -375,16 +397,16 @@ 18</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 12</span> -<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span><span class='comma'>,</span> <span class='label'>result:</span><span class='rparen'>)</span> +<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span> <span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span> - <span class='ivar'>@result</span> <span class='op'>=</span> <span class='id identifier rubyid_result'>result</span> - <span class='ivar'>@enabled</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>enabled</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@add</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>add</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@remove</span> <span class='op'>=</span> <span class='ivar'>@result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>remove</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@attrs</span> <span class='op'>=</span> <span class='id identifier rubyid_attrs'>attrs</span> + <span class='ivar'>@enabled</span> <span class='op'>=</span> <span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>enabled</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@add</span> <span class='op'>=</span> <span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>add</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@remove</span> <span class='op'>=</span> <span class='ivar'>@attrs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>remove</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> @@ -438,22 +460,22 @@ </div> <span id=""></span> <div class="method_details "> - <h3 class="signature " id="client-instance_method"> + <h3 class="signature " id="attrs-instance_method"> - #<strong>client</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> + #<strong>attrs</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> </h3><div class="docstring"> <div class="discussion"> -<p>Returns the value of attribute client.</p> +<p>Returns the value of attribute attrs.</p> </div> </div> <div class="tags"> @@ -470,33 +492,33 @@ 8</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 6</span> -<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span> - <span class='ivar'>@client</span> +<span class='kw'>def</span> <span class='id identifier rubyid_attrs'>attrs</span> + <span class='ivar'>@attrs</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <span id=""></span> <div class="method_details "> - <h3 class="signature " id="enabled-instance_method"> + <h3 class="signature " id="client-instance_method"> - #<strong>enabled</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> + #<strong>client</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> </h3><div class="docstring"> <div class="discussion"> -<p>Returns the value of attribute enabled.</p> +<p>Returns the value of attribute client.</p> </div> </div> <div class="tags"> @@ -513,33 +535,33 @@ 8</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 6</span> -<span class='kw'>def</span> <span class='id identifier rubyid_enabled'>enabled</span> - <span class='ivar'>@enabled</span> +<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span> + <span class='ivar'>@client</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <span id=""></span> <div class="method_details "> - <h3 class="signature " id="remove-instance_method"> + <h3 class="signature " id="enabled-instance_method"> - #<strong>remove</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> + #<strong>enabled</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> </h3><div class="docstring"> <div class="discussion"> -<p>Returns the value of attribute remove.</p> +<p>Returns the value of attribute enabled.</p> </div> </div> <div class="tags"> @@ -556,33 +578,33 @@ 8</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 6</span> -<span class='kw'>def</span> <span class='id identifier rubyid_remove'>remove</span> - <span class='ivar'>@remove</span> +<span class='kw'>def</span> <span class='id identifier rubyid_enabled'>enabled</span> + <span class='ivar'>@enabled</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <span id=""></span> <div class="method_details "> - <h3 class="signature " id="result-instance_method"> + <h3 class="signature " id="remove-instance_method"> - #<strong>result</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> + #<strong>remove</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> </h3><div class="docstring"> <div class="discussion"> -<p>Returns the value of attribute result.</p> +<p>Returns the value of attribute remove.</p> </div> </div> <div class="tags"> @@ -599,12 +621,12 @@ 8</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 6</span> -<span class='kw'>def</span> <span class='id identifier rubyid_result'>result</span> - <span class='ivar'>@result</span> +<span class='kw'>def</span> <span class='id identifier rubyid_remove'>remove</span> + <span class='ivar'>@remove</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> @@ -637,18 +659,48 @@ </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 20</span> <span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span> - <span class='ivar'>@result</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_result'>result</span> + <span class='ivar'>@attrs</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_attrs'>attrs</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> + <h3 class="signature " id="to_h-instance_method"> + + #<strong>to_h</strong> &#x21d2; <tt>Object</tt> + + + + + +</h3><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +28 +29 +30</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 28</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span> + <span class='ivar'>@attrs</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + <div class="method_details "> <h3 class="signature " id="to_s-instance_method"> #<strong>to_s</strong> &#x21d2; <tt>Object</tt> @@ -667,11 +719,11 @@ </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_request_headers.rb', line 24</span> <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span> - <span class='ivar'>@result</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> + <span class='ivar'>@attrs</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> @@ -679,10 +731,10 @@ </div> </div> <div id="footer"> - Generated on Thu Mar 10 16:54:44 2022 by + Generated on Mon Apr 11 19:33:01 2022 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.27 (ruby-2.7.5). </div> </div> \ No newline at end of file