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

- old
+ new

@@ -107,11 +107,11 @@ <ul class="summary"> <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> @@ -127,20 +127,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> @@ -156,20 +156,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="#provider-instance_method" title="#provider (instance method)">#<strong>provider</strong> &#x21d2; Object </a> + <a href="#enabled-instance_method" title="#enabled (instance method)">#<strong>enabled</strong> &#x21d2; Object </a> </span> @@ -185,20 +185,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute provider.</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="#provider-instance_method" title="#provider (instance method)">#<strong>provider</strong> &#x21d2; Object </a> </span> @@ -214,11 +214,11 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute result.</p> +<p>Returns the value of attribute provider.</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; EndpointWebhookValidation </a> + <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client: nil, attrs: {}) &#x21d2; EndpointWebhookValidation </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::EndpointWebhookValidation (class)">EndpointWebhookValidation</a></span></tt> + #<strong>initialize</strong>(client: nil, attrs: {}) &#x21d2; <tt><span class='object_link'><a href="" title="NgrokAPI::Models::EndpointWebhookValidation (class)">EndpointWebhookValidation</a></span></tt> @@ -375,16 +397,16 @@ 18</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_webhook_validation.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'>@provider</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'>provider</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@secret</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'>secret</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'>@provider</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'>provider</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@secret</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'>secret</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> @@ -395,22 +417,22 @@ <h2>Instance Attribute Details</h2> <span id=""></span> <div class="method_details first"> - <h3 class="signature first" id="client-instance_method"> + <h3 class="signature first" 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"> @@ -427,33 +449,33 @@ 8</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_webhook_validation.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"> @@ -470,33 +492,33 @@ 8</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_webhook_validation.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="provider-instance_method"> + <h3 class="signature " id="enabled-instance_method"> - #<strong>provider</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 provider.</p> +<p>Returns the value of attribute enabled.</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_webhook_validation.rb', line 6</span> -<span class='kw'>def</span> <span class='id identifier rubyid_provider'>provider</span> - <span class='ivar'>@provider</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="provider-instance_method"> - #<strong>result</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> + #<strong>provider</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 provider.</p> </div> </div> <div class="tags"> @@ -556,12 +578,12 @@ 8</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/endpoint_webhook_validation.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_provider'>provider</span> + <span class='ivar'>@provider</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_webhook_validation.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_webhook_validation.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_webhook_validation.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:46 2022 by + Generated on Mon Apr 11 19:33:03 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