docs/AzureSTT/NetError.html in azure_stt-0.3.0 vs docs/AzureSTT/NetError.html in azure_stt-0.4.0
- old
+ new
@@ -4,11 +4,11 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Exception: AzureSTT::NetError
- — Documentation by YARD 0.9.26
+ — Documentation by YARD 0.9.34
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
@@ -116,43 +116,193 @@
</div>
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
+ <ul class="summary">
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#code-instance_method" title="#code (instance method)">#<strong>code</strong> ⇒ Object </a>
+
+
+ </span>
+
+
+
+
+ <span class="note title readonly">readonly</span>
+
+
+
+
+
+
+
- <h2>Instance Attribute Summary</h2>
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Error.html" title="AzureSTT::Error (class)">Error</a></span></h3>
- <p class="inherited"><span class='object_link'><a href="Error.html#code-instance_method" title="AzureSTT::Error#code (method)">#code</a></span></p>
+ <span class="summary_desc"><div class='inline'>
+<p>Returns the value of attribute code.</p>
+</div></span>
+
+</li>
+
+ </ul>
+
+
+ <h2>
+ Instance Method Summary
+ <small><a href="#" class="summary_toggle">collapse</a></small>
+ </h2>
+
+ <ul class="summary">
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(code:, message:) ⇒ NetError </a>
+
+
+
+ </span>
+ <span class="note title constructor">constructor</span>
- <h2>Method Summary</h2>
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Error.html" title="AzureSTT::Error (class)">Error</a></span></h3>
- <p class="inherited"><span class='object_link'><a href="Error.html#initialize-instance_method" title="AzureSTT::Error#initialize (method)">#initialize</a></span></p>
+
+
+
+ <span class="summary_desc"><div class='inline'>
+<p>A new instance of NetError.</p>
+</div></span>
+
+</li>
+
+
+ </ul>
+
+
+
+
+
+
+
+
+
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
- <p class="notice">This class inherits a constructor from <span class='object_link'><a href="Error.html#initialize-instance_method" title="AzureSTT::Error#initialize (method)">AzureSTT::Error</a></span></p>
+ <div class="method_details first">
+ <h3 class="signature first" id="initialize-instance_method">
+ #<strong>initialize</strong>(code:, message:) ⇒ <tt><span class='object_link'><a href="" title="AzureSTT::NetError (class)">NetError</a></span></tt>
+
+
+
+
+
+</h3><div class="docstring">
+ <div class="discussion">
+
+<p>Returns a new instance of NetError.</p>
+
+
+ </div>
</div>
+<div class="tags">
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+27
+28
+29
+30</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/errors.rb', line 27</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>code:</span><span class='comma'>,</span> <span class='label'>message:</span><span class='rparen'>)</span>
+ <span class='ivar'>@code</span> <span class='op'>=</span> <span class='id identifier rubyid_code'>code</span>
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_message'>message</span><span class='embexpr_end'>}</span><span class='tstring_content'> (</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_code'>code</span><span class='embexpr_end'>}</span><span class='tstring_content'>)</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
</div>
+
+</div>
+ <div id="instance_attr_details" class="attr_details">
+ <h2>Instance Attribute Details</h2>
+
+
+ <span id=""></span>
+ <div class="method_details first">
+ <h3 class="signature first" id="code-instance_method">
+
+ #<strong>code</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
+
+
+
+
+
+</h3><div class="docstring">
+ <div class="discussion">
+
+<p>Returns the value of attribute code.</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+25
+26
+27</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/errors.rb', line 25</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_code'>code</span>
+ <span class='ivar'>@code</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ </div>
+
+
+</div>
+
<div id="footer">
- Generated on Thu Jun 24 14:16:27 2021 by
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.9.26 (ruby-2.6.6).
+ Generated on Wed May 10 12:30:20 2023 by
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
+ 0.9.34 (ruby-2.7.7).
</div>
</div>
</body>
</html>
\ No newline at end of file