doc/NgrokAPI/Models/TLSEdge.html in ngrok-api-0.18.0 vs doc/NgrokAPI/Models/TLSEdge.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="#backend-instance_method" title="#backend (instance method)">#<strong>backend</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 backend.</p> +<p>Returns the value of attribute attrs.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#client-instance_method" title="#client (instance method)">#<strong>client</strong> &#x21d2; Object </a> + <a href="#backend-instance_method" title="#backend (instance method)">#<strong>backend</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 backend.</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> @@ -185,20 +185,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> @@ -214,20 +214,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="#hostports-instance_method" title="#hostports (instance method)">#<strong>hostports</strong> &#x21d2; Object </a> + <a href="#description-instance_method" title="#description (instance method)">#<strong>description</strong> &#x21d2; Object </a> </span> @@ -243,20 +243,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute hostports.</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="#hostports-instance_method" title="#hostports (instance method)">#<strong>hostports</strong> &#x21d2; Object </a> </span> @@ -272,20 +272,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute id.</p> +<p>Returns the value of attribute hostports.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#ip_restriction-instance_method" title="#ip_restriction (instance method)">#<strong>ip_restriction</strong> &#x21d2; Object </a> + <a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong> &#x21d2; Object </a> </span> @@ -301,20 +301,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute ip_restriction.</p> +<p>Returns the value of attribute id.</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="#ip_restriction-instance_method" title="#ip_restriction (instance method)">#<strong>ip_restriction</strong> &#x21d2; Object </a> </span> @@ -330,20 +330,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute metadata.</p> +<p>Returns the value of attribute ip_restriction.</p> </div></span> </li> <li class="public "> <span class="summary_signature"> - <a href="#mutual_tls-instance_method" title="#mutual_tls (instance method)">#<strong>mutual_tls</strong> &#x21d2; Object </a> + <a href="#metadata-instance_method" title="#metadata (instance method)">#<strong>metadata</strong> &#x21d2; Object </a> </span> @@ -359,20 +359,20 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute mutual_tls.</p> +<p>Returns the value of attribute metadata.</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="#mutual_tls-instance_method" title="#mutual_tls (instance method)">#<strong>mutual_tls</strong> &#x21d2; Object </a> </span> @@ -388,11 +388,11 @@ <span class="summary_desc"><div class='inline'> -<p>Returns the value of attribute result.</p> +<p>Returns the value of attribute mutual_tls.</p> </div></span> </li> @@ -514,11 +514,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client:, result:) &#x21d2; TLSEdge </a> + <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(client: nil, attrs: {}) &#x21d2; TLSEdge </a> </span> @@ -540,10 +540,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> @@ -592,11 +614,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::TLSEdge (class)">TLSEdge</a></span></tt> + #<strong>initialize</strong>(client: nil, attrs: {}) &#x21d2; <tt><span class='object_link'><a href="" title="NgrokAPI::Models::TLSEdge (class)">TLSEdge</a></span></tt> @@ -633,23 +655,23 @@ 32</pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/tls_edge.rb', line 19</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'>@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'>@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'>@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'>@hostports</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'>hostports</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@backend</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'>backend</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@ip_restriction</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'>ip_restriction</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@mutual_tls</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'>mutual_tls</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> - <span class='ivar'>@tls_termination</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'>tls_termination</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'>@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'>@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='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'>@hostports</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'>hostports</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@backend</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'>backend</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@ip_restriction</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'>ip_restriction</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@mutual_tls</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'>mutual_tls</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> + <span class='ivar'>@tls_termination</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'>tls_termination</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> @@ -660,12 +682,55 @@ <h2>Instance Attribute Details</h2> <span id=""></span> <div class="method_details first"> - <h3 class="signature first" id="backend-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/tls_edge.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="backend-instance_method"> + #<strong>backend</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> @@ -1047,53 +1112,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/tls_edge.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="tls_termination-instance_method"> #<strong>tls_termination</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> @@ -1203,11 +1225,11 @@ </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/tls_edge.rb', line 34</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> @@ -1238,18 +1260,18 @@ <tr> <td> <pre class="lines"> -81 -82 -83 -84 -85</pre> +85 +86 +87 +88 +89</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/tls_edge.rb', line 81</span> + <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/tls_edge.rb', line 85</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> @@ -1258,10 +1280,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"> + + +42 +43 +44</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/tls_edge.rb', line 42</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> @@ -1280,11 +1332,11 @@ </td> <td> <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/tls_edge.rb', line 38</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> @@ -1315,14 +1367,10 @@ <tr> <td> <pre class="lines"> -49 -50 -51 -52 53 54 55 56 57 @@ -1341,14 +1389,18 @@ 70 71 72 73 74 -75</pre> +75 +76 +77 +78 +79</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/tls_edge.rb', line 49</span> + <pre class="code"><span class="info file"># File 'lib/ngrokapi/models/tls_edge.rb', line 53</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='comma'>,</span> <span class='label'>hostports:</span> <span class='kw'>nil</span><span class='comma'>,</span> @@ -1383,10 +1435,10 @@ </div> </div> <div id="footer"> - Generated on Thu Mar 10 16:54:39 2022 by + Generated on Mon Apr 11 19:32:56 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