azure_stt 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +6 -3
- data/.gitignore +2 -2
- data/CHANGELOG.md +16 -1
- data/Gemfile +3 -2
- data/README.md +2 -2
- data/azure_stt.gemspec +5 -2
- data/docs/AzureSTT/Client.html +148 -39
- data/docs/AzureSTT/Configuration.html +4 -4
- data/docs/AzureSTT/Error.html +4 -170
- data/docs/AzureSTT/Models/Base.html +4 -4
- data/docs/AzureSTT/Models/CombinedRecognizedPhrases.html +4 -4
- data/docs/AzureSTT/Models/File.html +5 -5
- data/docs/AzureSTT/Models/RecognizedPhrase.html +4 -4
- data/docs/AzureSTT/Models/Report.html +4 -4
- data/docs/AzureSTT/Models/Result.html +4 -4
- data/docs/AzureSTT/Models/Sentence.html +4 -4
- data/docs/AzureSTT/Models/Transcription.html +5 -5
- data/docs/AzureSTT/Models/Word.html +4 -4
- data/docs/AzureSTT/Models.html +4 -4
- data/docs/AzureSTT/NetError.html +161 -11
- data/docs/AzureSTT/Parsers/Base.html +4 -4
- data/docs/AzureSTT/Parsers/CombinedRecognizedPhrases.html +4 -4
- data/docs/AzureSTT/Parsers/File.html +4 -4
- data/docs/AzureSTT/Parsers/RecognizedPhrase.html +4 -4
- data/docs/AzureSTT/Parsers/Report.html +4 -4
- data/docs/AzureSTT/Parsers/Result.html +4 -4
- data/docs/AzureSTT/Parsers/Sentence.html +4 -4
- data/docs/AzureSTT/Parsers/Transcription.html +4 -4
- data/docs/AzureSTT/Parsers/Word.html +4 -4
- data/docs/AzureSTT/Parsers.html +4 -4
- data/docs/AzureSTT/ServiceError.html +161 -11
- data/docs/AzureSTT/Session.html +132 -24
- data/docs/AzureSTT/Types.html +4 -4
- data/docs/AzureSTT.html +4 -4
- data/docs/AzureStt_.html +5 -5
- data/docs/_index.html +5 -5
- data/docs/file.README.html +133 -95
- data/docs/frames.html +1 -1
- data/docs/index.html +133 -95
- data/docs/method_list.html +66 -34
- data/docs/top-level-namespace.html +4 -4
- data/lib/azure_stt/client.rb +9 -8
- data/lib/azure_stt/errors.rb +16 -9
- data/lib/azure_stt/models/file.rb +1 -1
- data/lib/azure_stt/models/transcription.rb +1 -1
- data/lib/azure_stt/parsers/combined_recognized_phrases.rb +1 -1
- data/lib/azure_stt/session.rb +8 -10
- data/lib/azure_stt/version.rb +1 -1
- data/lib/azure_stt.rb +2 -2
- metadata +7 -11
- data/.github/dependabot.yml +0 -6
- data/Gemfile.lock +0 -141
- data/docs/AzureBatchTranscription/Configuration.html +0 -212
- data/docs/AzureBatchTranscription.html +0 -301
- data/docs/AzureSTT/Transcription.html +0 -635
data/docs/AzureSTT/Error.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: AzureSTT::Error
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -120,184 +120,18 @@
|
|
120
120
|
|
121
121
|
|
122
122
|
|
123
|
-
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
124
|
-
<ul class="summary">
|
125
|
-
|
126
|
-
<li class="public ">
|
127
|
-
<span class="summary_signature">
|
128
|
-
|
129
|
-
<a href="#code-instance_method" title="#code (instance method)">#<strong>code</strong> ⇒ Object </a>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
</span>
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
<span class="note title readonly">readonly</span>
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
<span class="summary_desc"><div class='inline'>
|
149
|
-
<p>Returns the value of attribute code.</p>
|
150
|
-
</div></span>
|
151
|
-
|
152
|
-
</li>
|
153
|
-
|
154
|
-
|
155
|
-
</ul>
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
<h2>
|
162
|
-
Instance Method Summary
|
163
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
164
|
-
</h2>
|
165
|
-
|
166
|
-
<ul class="summary">
|
167
|
-
|
168
|
-
<li class="public ">
|
169
|
-
<span class="summary_signature">
|
170
|
-
|
171
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(code:, message:) ⇒ Error </a>
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
</span>
|
176
|
-
|
177
|
-
|
178
|
-
<span class="note title constructor">constructor</span>
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
<span class="summary_desc"><div class='inline'>
|
188
|
-
<p>A new instance of Error.</p>
|
189
|
-
</div></span>
|
190
|
-
|
191
|
-
</li>
|
192
|
-
|
193
|
-
|
194
|
-
</ul>
|
195
|
-
|
196
123
|
|
197
124
|
|
198
|
-
<div id="constructor_details" class="method_details_list">
|
199
|
-
<h2>Constructor Details</h2>
|
200
|
-
|
201
|
-
<div class="method_details first">
|
202
|
-
<h3 class="signature first" id="initialize-instance_method">
|
203
|
-
|
204
|
-
#<strong>initialize</strong>(code:, message:) ⇒ <tt><span class='object_link'><a href="" title="AzureSTT::Error (class)">Error</a></span></tt>
|
205
|
-
|
206
125
|
|
207
|
-
|
208
126
|
|
209
127
|
|
210
|
-
</h3><div class="docstring">
|
211
|
-
<div class="discussion">
|
212
|
-
|
213
|
-
<p>Returns a new instance of Error.</p>
|
214
|
-
|
215
|
-
|
216
|
-
</div>
|
217
|
-
</div>
|
218
|
-
<div class="tags">
|
219
|
-
|
220
|
-
|
221
|
-
</div><table class="source_code">
|
222
|
-
<tr>
|
223
|
-
<td>
|
224
|
-
<pre class="lines">
|
225
|
-
|
226
|
-
|
227
|
-
10
|
228
|
-
11
|
229
|
-
12
|
230
|
-
13</pre>
|
231
|
-
</td>
|
232
|
-
<td>
|
233
|
-
<pre class="code"><span class="info file"># File 'lib/azure_stt/errors.rb', line 10</span>
|
234
|
-
|
235
|
-
<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>
|
236
|
-
<span class='ivar'>@code</span> <span class='op'>=</span> <span class='id identifier rubyid_code'>code</span>
|
237
|
-
<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>
|
238
|
-
<span class='kw'>end</span></pre>
|
239
|
-
</td>
|
240
|
-
</tr>
|
241
|
-
</table>
|
242
|
-
</div>
|
243
|
-
|
244
|
-
</div>
|
245
|
-
|
246
|
-
<div id="instance_attr_details" class="attr_details">
|
247
|
-
<h2>Instance Attribute Details</h2>
|
248
|
-
|
249
|
-
|
250
|
-
<span id=""></span>
|
251
|
-
<div class="method_details first">
|
252
|
-
<h3 class="signature first" id="code-instance_method">
|
253
|
-
|
254
|
-
#<strong>code</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
</h3><div class="docstring">
|
261
|
-
<div class="discussion">
|
262
|
-
|
263
|
-
<p>Returns the value of attribute code.</p>
|
264
|
-
|
265
|
-
|
266
|
-
</div>
|
267
|
-
</div>
|
268
|
-
<div class="tags">
|
269
|
-
|
270
|
-
|
271
|
-
</div><table class="source_code">
|
272
|
-
<tr>
|
273
|
-
<td>
|
274
|
-
<pre class="lines">
|
275
|
-
|
276
|
-
|
277
|
-
8
|
278
|
-
9
|
279
|
-
10</pre>
|
280
|
-
</td>
|
281
|
-
<td>
|
282
|
-
<pre class="code"><span class="info file"># File 'lib/azure_stt/errors.rb', line 8</span>
|
283
|
-
|
284
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_code'>code</span>
|
285
|
-
<span class='ivar'>@code</span>
|
286
|
-
<span class='kw'>end</span></pre>
|
287
|
-
</td>
|
288
|
-
</tr>
|
289
|
-
</table>
|
290
|
-
</div>
|
291
|
-
|
292
|
-
</div>
|
293
|
-
|
294
128
|
|
295
129
|
</div>
|
296
130
|
|
297
131
|
<div id="footer">
|
298
|
-
Generated on
|
299
|
-
<a href="
|
300
|
-
0.9.
|
132
|
+
Generated on Wed May 10 12:30:20 2023 by
|
133
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
134
|
+
0.9.34 (ruby-2.7.7).
|
301
135
|
</div>
|
302
136
|
|
303
137
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Models::Base
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -129,9 +129,9 @@
|
|
129
129
|
</div>
|
130
130
|
|
131
131
|
<div id="footer">
|
132
|
-
Generated on
|
133
|
-
<a href="
|
134
|
-
0.9.
|
132
|
+
Generated on Wed May 10 12:30:20 2023 by
|
133
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
134
|
+
0.9.34 (ruby-2.7.7).
|
135
135
|
</div>
|
136
136
|
|
137
137
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Models::CombinedRecognizedPhrases
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -528,9 +528,9 @@
|
|
528
528
|
</div>
|
529
529
|
|
530
530
|
<div id="footer">
|
531
|
-
Generated on
|
532
|
-
<a href="
|
533
|
-
0.9.
|
531
|
+
Generated on Wed May 10 12:30:20 2023 by
|
532
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
533
|
+
0.9.34 (ruby-2.7.7).
|
534
534
|
</div>
|
535
535
|
|
536
536
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Models::File
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -117,7 +117,7 @@
|
|
117
117
|
<p class="tag_title">See Also:</p>
|
118
118
|
<ul class="see">
|
119
119
|
|
120
|
-
<li><a href="https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-
|
120
|
+
<li><a href="https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/GetTranscriptionFiles/console" target="_parent" title="https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/GetTranscriptionFiles/console">https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/GetTranscriptionFiles/console</a></li>
|
121
121
|
|
122
122
|
</ul>
|
123
123
|
|
@@ -784,9 +784,9 @@
|
|
784
784
|
</div>
|
785
785
|
|
786
786
|
<div id="footer">
|
787
|
-
Generated on
|
788
|
-
<a href="
|
789
|
-
0.9.
|
787
|
+
Generated on Wed May 10 12:30:20 2023 by
|
788
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
789
|
+
0.9.34 (ruby-2.7.7).
|
790
790
|
</div>
|
791
791
|
|
792
792
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Models::RecognizedPhrase
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -759,9 +759,9 @@
|
|
759
759
|
</div>
|
760
760
|
|
761
761
|
<div id="footer">
|
762
|
-
Generated on
|
763
|
-
<a href="
|
764
|
-
0.9.
|
762
|
+
Generated on Wed May 10 12:30:20 2023 by
|
763
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
764
|
+
0.9.34 (ruby-2.7.7).
|
765
765
|
</div>
|
766
766
|
|
767
767
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Models::Report
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -374,9 +374,9 @@
|
|
374
374
|
</div>
|
375
375
|
|
376
376
|
<div id="footer">
|
377
|
-
Generated on
|
378
|
-
<a href="
|
379
|
-
0.9.
|
377
|
+
Generated on Wed May 10 12:30:20 2023 by
|
378
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
379
|
+
0.9.34 (ruby-2.7.7).
|
380
380
|
</div>
|
381
381
|
|
382
382
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Models::Result
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -786,9 +786,9 @@
|
|
786
786
|
</div>
|
787
787
|
|
788
788
|
<div id="footer">
|
789
|
-
Generated on
|
790
|
-
<a href="
|
791
|
-
0.9.
|
789
|
+
Generated on Wed May 10 12:30:20 2023 by
|
790
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
791
|
+
0.9.34 (ruby-2.7.7).
|
792
792
|
</div>
|
793
793
|
|
794
794
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Models::Sentence
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -605,9 +605,9 @@
|
|
605
605
|
</div>
|
606
606
|
|
607
607
|
<div id="footer">
|
608
|
-
Generated on
|
609
|
-
<a href="
|
610
|
-
0.9.
|
608
|
+
Generated on Wed May 10 12:30:20 2023 by
|
609
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
610
|
+
0.9.34 (ruby-2.7.7).
|
611
611
|
</div>
|
612
612
|
|
613
613
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Models::Transcription
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -1213,7 +1213,7 @@
|
|
1213
1213
|
<p class="tag_title">See Also:</p>
|
1214
1214
|
<ul class="see">
|
1215
1215
|
|
1216
|
-
<li><a href="https://centralus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-
|
1216
|
+
<li><a href="https://centralus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/GetTranscriptionFiles/console" target="_parent" title="https://centralus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/GetTranscriptionFiles/console">https://centralus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/GetTranscriptionFiles/console</a></li>
|
1217
1217
|
|
1218
1218
|
</ul>
|
1219
1219
|
|
@@ -1405,9 +1405,9 @@
|
|
1405
1405
|
</div>
|
1406
1406
|
|
1407
1407
|
<div id="footer">
|
1408
|
-
Generated on
|
1409
|
-
<a href="
|
1410
|
-
0.9.
|
1408
|
+
Generated on Wed May 10 12:30:20 2023 by
|
1409
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1410
|
+
0.9.34 (ruby-2.7.7).
|
1411
1411
|
</div>
|
1412
1412
|
|
1413
1413
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Models::Word
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -605,9 +605,9 @@
|
|
605
605
|
</div>
|
606
606
|
|
607
607
|
<div id="footer">
|
608
|
-
Generated on
|
609
|
-
<a href="
|
610
|
-
0.9.
|
608
|
+
Generated on Wed May 10 12:30:20 2023 by
|
609
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
610
|
+
0.9.34 (ruby-2.7.7).
|
611
611
|
</div>
|
612
612
|
|
613
613
|
</div>
|
data/docs/AzureSTT/Models.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: AzureSTT::Models
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -125,9 +125,9 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
129
|
-
<a href="
|
130
|
-
0.9.
|
128
|
+
Generated on Wed May 10 12:30:20 2023 by
|
129
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
|
+
0.9.34 (ruby-2.7.7).
|
131
131
|
</div>
|
132
132
|
|
133
133
|
</div>
|
data/docs/AzureSTT/NetError.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Exception: AzureSTT::NetError
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -118,40 +118,190 @@
|
|
118
118
|
|
119
119
|
|
120
120
|
|
121
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
122
|
+
<ul class="summary">
|
123
|
+
|
124
|
+
<li class="public ">
|
125
|
+
<span class="summary_signature">
|
126
|
+
|
127
|
+
<a href="#code-instance_method" title="#code (instance method)">#<strong>code</strong> ⇒ Object </a>
|
128
|
+
|
121
129
|
|
130
|
+
|
131
|
+
</span>
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
<span class="note title readonly">readonly</span>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
122
144
|
|
123
|
-
<h2>Instance Attribute Summary</h2>
|
124
145
|
|
125
|
-
|
126
|
-
|
146
|
+
<span class="summary_desc"><div class='inline'>
|
147
|
+
<p>Returns the value of attribute code.</p>
|
148
|
+
</div></span>
|
149
|
+
|
150
|
+
</li>
|
151
|
+
|
152
|
+
|
153
|
+
</ul>
|
154
|
+
|
127
155
|
|
128
156
|
|
129
157
|
|
130
158
|
|
159
|
+
<h2>
|
160
|
+
Instance Method Summary
|
161
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
162
|
+
</h2>
|
163
|
+
|
164
|
+
<ul class="summary">
|
165
|
+
|
166
|
+
<li class="public ">
|
167
|
+
<span class="summary_signature">
|
168
|
+
|
169
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(code:, message:) ⇒ NetError </a>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
</span>
|
131
174
|
|
132
175
|
|
176
|
+
<span class="note title constructor">constructor</span>
|
133
177
|
|
134
178
|
|
135
179
|
|
136
|
-
<h2>Method Summary</h2>
|
137
180
|
|
138
|
-
|
139
|
-
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<span class="summary_desc"><div class='inline'>
|
186
|
+
<p>A new instance of NetError.</p>
|
187
|
+
</div></span>
|
188
|
+
|
189
|
+
</li>
|
140
190
|
|
191
|
+
|
192
|
+
</ul>
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
141
202
|
<div id="constructor_details" class="method_details_list">
|
142
203
|
<h2>Constructor Details</h2>
|
143
204
|
|
144
|
-
<
|
205
|
+
<div class="method_details first">
|
206
|
+
<h3 class="signature first" id="initialize-instance_method">
|
207
|
+
|
208
|
+
#<strong>initialize</strong>(code:, message:) ⇒ <tt><span class='object_link'><a href="" title="AzureSTT::NetError (class)">NetError</a></span></tt>
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
</h3><div class="docstring">
|
215
|
+
<div class="discussion">
|
216
|
+
|
217
|
+
<p>Returns a new instance of NetError.</p>
|
218
|
+
|
219
|
+
|
220
|
+
</div>
|
221
|
+
</div>
|
222
|
+
<div class="tags">
|
223
|
+
|
224
|
+
|
225
|
+
</div><table class="source_code">
|
226
|
+
<tr>
|
227
|
+
<td>
|
228
|
+
<pre class="lines">
|
229
|
+
|
230
|
+
|
231
|
+
27
|
232
|
+
28
|
233
|
+
29
|
234
|
+
30</pre>
|
235
|
+
</td>
|
236
|
+
<td>
|
237
|
+
<pre class="code"><span class="info file"># File 'lib/azure_stt/errors.rb', line 27</span>
|
238
|
+
|
239
|
+
<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>
|
240
|
+
<span class='ivar'>@code</span> <span class='op'>=</span> <span class='id identifier rubyid_code'>code</span>
|
241
|
+
<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>
|
242
|
+
<span class='kw'>end</span></pre>
|
243
|
+
</td>
|
244
|
+
</tr>
|
245
|
+
</table>
|
246
|
+
</div>
|
247
|
+
|
248
|
+
</div>
|
249
|
+
|
250
|
+
<div id="instance_attr_details" class="attr_details">
|
251
|
+
<h2>Instance Attribute Details</h2>
|
252
|
+
|
253
|
+
|
254
|
+
<span id=""></span>
|
255
|
+
<div class="method_details first">
|
256
|
+
<h3 class="signature first" id="code-instance_method">
|
257
|
+
|
258
|
+
#<strong>code</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
145
263
|
|
264
|
+
</h3><div class="docstring">
|
265
|
+
<div class="discussion">
|
266
|
+
|
267
|
+
<p>Returns the value of attribute code.</p>
|
268
|
+
|
269
|
+
|
270
|
+
</div>
|
146
271
|
</div>
|
272
|
+
<div class="tags">
|
273
|
+
|
274
|
+
|
275
|
+
</div><table class="source_code">
|
276
|
+
<tr>
|
277
|
+
<td>
|
278
|
+
<pre class="lines">
|
279
|
+
|
280
|
+
|
281
|
+
25
|
282
|
+
26
|
283
|
+
27</pre>
|
284
|
+
</td>
|
285
|
+
<td>
|
286
|
+
<pre class="code"><span class="info file"># File 'lib/azure_stt/errors.rb', line 25</span>
|
287
|
+
|
288
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_code'>code</span>
|
289
|
+
<span class='ivar'>@code</span>
|
290
|
+
<span class='kw'>end</span></pre>
|
291
|
+
</td>
|
292
|
+
</tr>
|
293
|
+
</table>
|
294
|
+
</div>
|
295
|
+
|
296
|
+
</div>
|
147
297
|
|
148
298
|
|
149
299
|
</div>
|
150
300
|
|
151
301
|
<div id="footer">
|
152
|
-
Generated on
|
153
|
-
<a href="
|
154
|
-
0.9.
|
302
|
+
Generated on Wed May 10 12:30:20 2023 by
|
303
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
304
|
+
0.9.34 (ruby-2.7.7).
|
155
305
|
</div>
|
156
306
|
|
157
307
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: AzureSTT::Parsers::Base
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.34
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -394,9 +394,9 @@
|
|
394
394
|
</div>
|
395
395
|
|
396
396
|
<div id="footer">
|
397
|
-
Generated on
|
398
|
-
<a href="
|
399
|
-
0.9.
|
397
|
+
Generated on Wed May 10 12:30:20 2023 by
|
398
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
399
|
+
0.9.34 (ruby-2.7.7).
|
400
400
|
</div>
|
401
401
|
|
402
402
|
</div>
|