docs/NgrokAPI/Models/AgentIngress.html in ngrok-api-0.18.0 vs docs/NgrokAPI/Models/AgentIngress.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="#created_at-instance_method" title="#created_at (instance method)">#<strong>created_at</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 created_at.</p> +<p>Returns the value of attribute client.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#description-instance_method" title="#description (instance method)">#<strong>description</strong> &#x21d2; Object </a> + <a href="#created_at-instance_method" title="#created_at (instance method)">#<strong>created_at</strong> &#x21d2; Object </a> </span> @@ -185,20 +185,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute description.</p> +<p>Returns the value of attribute created_at.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#domain-instance_method" title="#domain (instance method)">#<strong>domain</strong> &#x21d2; Object </a> + <a href="#description-instance_method" title="#description (instance method)">#<strong>description</strong> &#x21d2; Object </a> </span> @@ -214,20 +214,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute domain.</p> +<p>Returns the value of attribute description.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> &#x21d2; Object </a> + <a href="#domain-instance_method" title="#domain (instance method)">#<strong>domain</strong> &#x21d2; Object </a> </span> @@ -243,20 +243,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute id.</p> +<p>Returns the value of attribute domain.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#metadata-instance_method" title="#metadata (instance method)">#<strong>metadata</strong> &#x21d2; Object </a> + <a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> &#x21d2; Object </a> </span> @@ -272,20 +272,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute metadata.</p> +<p>Returns the value of attribute id.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#ns_targets-instance_method" title="#ns_targets (instance method)">#<strong>ns_targets</strong> &#x21d2; Object </a> + <a href="#metadata-instance_method" title="#metadata (instance method)">#<strong>metadata</strong> &#x21d2; Object </a> </span> @@ -301,20 +301,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute ns_targets.</p> +<p>Returns the value of attribute metadata.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#region_domains-instance_method" title="#region_domains (instance method)">#<strong>region_domains</strong> &#x21d2; Object </a> + <a href="#ns_targets-instance_method" title="#ns_targets (instance method)">#<strong>ns_targets</strong> &#x21d2; Object </a> </span> @@ -330,20 +330,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute region_domains.</p> +<p>Returns the value of attribute ns_targets.</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="#region_domains-instance_method" title="#region_domains (instance method)">#<strong>region_domains</strong> &#x21d2; Object </a> </span> @@ -359,11 +359,11 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute result.</p> +<p>Returns the value of attribute region_domains.</p> </div></span> </li> @@ -456,11 +456,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:, result:) &#x21d2; AgentIngress </a> + <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client: nil, attrs: {}) &#x21d2; AgentIngress </a> </span> @@ -482,10 +482,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> @@ -534,11 +556,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::AgentIngress (class)">AgentIngress</a></span></tt> + #<strong>initialize</strong>(client: nil, attrs: {}) &#x21d2; <tt><span class='object_link'><a href="" title="NgrokAPI::Models::AgentIngress (class)">AgentIngress</a></span></tt> @@ -573,21 +595,21 @@ 28</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.rb', line 17</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'>@id</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'>id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@uri</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'>uri</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@description</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'>description</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@metadata</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'>metadata</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@domain</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'>domain</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@ns_targets</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'>ns_targets</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@region_domains</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'>region_domains</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@created_at</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'>created_at</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'>@id</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'>id</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@uri</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'>uri</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@description</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'>description</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@metadata</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'>metadata</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@domain</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'>domain</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@ns_targets</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'>ns_targets</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@region_domains</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'>region_domains</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@created_at</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'>created_at</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> @@ -598,12 +620,55 @@ <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>attrs</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> + + + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>Returns the value of attribute attrs.</p> + + + </div> +</div> +<div class="tags"> + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +6 +7 +8</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.rb', line 6</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="client-instance_method"> + #<strong>client</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> @@ -942,53 +1007,10 @@ </div> <span id=""></span> <div class="method_details "> - <h3 class="signature " id="result-instance_method"> - - #<strong>result</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> - - - </div> -</div> -<div class="tags"> - - -</div><table class="source_code"> - <tr> - <td> - <pre class="lines"> - - -6 -7 -8</pre> - </td> - <td> - <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.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'>end</span></pre> - </td> - </tr> -</table> -</div> - - - <span id=""></span> - <div class="method_details "> <h3 class="signature " id="uri-instance_method"> #<strong>uri</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> @@ -1055,11 +1077,11 @@ </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.rb', line 30</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> @@ -1090,18 +1112,18 @@ <tr> <td> <pre class="lines"> -42 -43 -44 -45 -46</pre> +46 +47 +48 +49 +50</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.rb', line 42</span> + <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.rb', line 46</span> <span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span> <span class='label'>id:</span> <span class='ivar'>@id</span> <span class='rparen'>)</span> @@ -1110,10 +1132,40 @@ </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"> + + +38 +39 +40</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.rb', line 38</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> @@ -1132,11 +1184,11 @@ </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.rb', line 34</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> @@ -1167,25 +1219,25 @@ <tr> <td> <pre class="lines"> -52 -53 -54 -55 56 57 58 59 60 61 62 -63</pre> +63 +64 +65 +66 +67</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.rb', line 52</span> + <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/agent_ingress.rb', line 56</span> <span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span> <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='kw'>nil</span> <span class='rparen'>)</span> @@ -1205,10 +1257,10 @@ </div> </div> <div id="footer"> - Generated on Thu Mar 10 16:54:40 2022 by + Generated on Mon Apr 11 19:32:57 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