azure_stt 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +1 -1
  3. data/CHANGELOG.md +10 -1
  4. data/Gemfile +1 -0
  5. data/README.md +2 -2
  6. data/azure_stt.gemspec +2 -2
  7. data/docs/AzureSTT/Client.html +148 -39
  8. data/docs/AzureSTT/Configuration.html +4 -4
  9. data/docs/AzureSTT/Error.html +4 -170
  10. data/docs/AzureSTT/Models/Base.html +4 -4
  11. data/docs/AzureSTT/Models/CombinedRecognizedPhrases.html +4 -4
  12. data/docs/AzureSTT/Models/File.html +5 -5
  13. data/docs/AzureSTT/Models/RecognizedPhrase.html +4 -4
  14. data/docs/AzureSTT/Models/Report.html +4 -4
  15. data/docs/AzureSTT/Models/Result.html +4 -4
  16. data/docs/AzureSTT/Models/Sentence.html +4 -4
  17. data/docs/AzureSTT/Models/Transcription.html +5 -5
  18. data/docs/AzureSTT/Models/Word.html +4 -4
  19. data/docs/AzureSTT/Models.html +4 -4
  20. data/docs/AzureSTT/NetError.html +161 -11
  21. data/docs/AzureSTT/Parsers/Base.html +4 -4
  22. data/docs/AzureSTT/Parsers/CombinedRecognizedPhrases.html +4 -4
  23. data/docs/AzureSTT/Parsers/File.html +4 -4
  24. data/docs/AzureSTT/Parsers/RecognizedPhrase.html +4 -4
  25. data/docs/AzureSTT/Parsers/Report.html +4 -4
  26. data/docs/AzureSTT/Parsers/Result.html +4 -4
  27. data/docs/AzureSTT/Parsers/Sentence.html +4 -4
  28. data/docs/AzureSTT/Parsers/Transcription.html +4 -4
  29. data/docs/AzureSTT/Parsers/Word.html +4 -4
  30. data/docs/AzureSTT/Parsers.html +4 -4
  31. data/docs/AzureSTT/ServiceError.html +161 -11
  32. data/docs/AzureSTT/Session.html +132 -24
  33. data/docs/AzureSTT/Types.html +4 -4
  34. data/docs/AzureSTT.html +4 -4
  35. data/docs/AzureStt_.html +5 -5
  36. data/docs/_index.html +5 -5
  37. data/docs/file.README.html +133 -95
  38. data/docs/frames.html +1 -1
  39. data/docs/index.html +133 -95
  40. data/docs/method_list.html +66 -34
  41. data/docs/top-level-namespace.html +4 -4
  42. data/lib/azure_stt/client.rb +9 -8
  43. data/lib/azure_stt/errors.rb +16 -9
  44. data/lib/azure_stt/models/file.rb +1 -1
  45. data/lib/azure_stt/models/transcription.rb +1 -1
  46. data/lib/azure_stt/session.rb +4 -4
  47. data/lib/azure_stt/version.rb +1 -1
  48. metadata +4 -7
  49. data/docs/AzureBatchTranscription/Configuration.html +0 -212
  50. data/docs/AzureBatchTranscription.html +0 -301
  51. data/docs/AzureSTT/Transcription.html +0 -635
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71c2c80aa3d7493e1dd60052ac4e83a7e9351eb367c03202a0d0991120c7ebc4
4
- data.tar.gz: 55dc37a5463f36425d37a9b5eb2a2416d00198628bdf5678e8761df7bf4ec7dc
3
+ metadata.gz: 3d191b5213b76873a27c2484a4f0494bc11789125b84ed67d7612e64cec6ef88
4
+ data.tar.gz: e27715d790a7706a0af127c82c65873d537c387170a3214c47ecd1c5fcd84cfd
5
5
  SHA512:
6
- metadata.gz: 40e10ff4e3fb07c4521b6fda6809853df234748442c41d8f8bd2535b75a8ff6c759377d90799daec02545f1586cba48aafd6641972029b832bd241afad6f8347
7
- data.tar.gz: f6da9bea5a7becff8efcc2a953be8f6fc1b98ffeb7d77ecdab910aa8db1aa91ae2f5c4e61008b0c4269072c968ed7a7b721a4b7df675a8a5262ea0a09d5a1785
6
+ metadata.gz: 42bddc1ae5e0b3316b04963d57ae7882553ac3f4382b7e76562bd4d7c63b3a940d025211d71e8b41f77d2657ed3d1eefe77a3517eea5b55c72cc63d6510d81e6
7
+ data.tar.gz: bec2619c932cc61581fcd0ce06885571e8718ed6e14ec36779d5c9937382d5b1c6a971cbf2df7c753f9dc48149802176b027c1fef08870b8cc85ddd0458d0464
@@ -12,7 +12,7 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
  strategy:
14
14
  matrix:
15
- ruby-version: ['3.1', '3.0', '2.7', '2.6']
15
+ ruby-version: ['3.2', '3.1', '3.0', '2.7', '2.6']
16
16
 
17
17
  steps:
18
18
  - uses: actions/checkout@v3
data/CHANGELOG.md CHANGED
@@ -5,7 +5,16 @@ The format is based on [Keep a Changelog][Keep a Changelog] and this project adh
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
- ---
8
+ ## [0.4.0] - 2023-05-10
9
+
10
+ ### Fixed
11
+
12
+ - `get_transcriptions` using `skip` and `top` params
13
+
14
+ ### Modified
15
+
16
+ - Messages given by Azure when 4** HTTP errors are detailed [#56](https://github.com/PerfectMemory/azure_stt/issues/56)
17
+ - Use Speech to Text API v3.1 instead of v3.0 [#58](https://github.com/PerfectMemory/azure_stt/issues/58)
9
18
 
10
19
  ## [0.3.0] - 2022-10-19
11
20
 
data/Gemfile CHANGED
@@ -7,6 +7,7 @@ gem 'httparty', '~> 0.19'
7
7
 
8
8
  group :test do
9
9
  gem 'bundler', '~> 2'
10
+ gem 'debug'
10
11
  gem 'dotenv'
11
12
  gem 'factory_bot', '~> 6'
12
13
  gem 'faker', '~> 2'
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![Coverage Status](https://coveralls.io/repos/github/PerfectMemory/azure_stt/badge.svg)](https://coveralls.io/github/PerfectMemory/azure_stt)
6
6
  [![Maintainability](https://api.codeclimate.com/v1/badges/375190d3122da56a9fe1/maintainability)](https://codeclimate.com/github/PerfectMemory/azure_stt/maintainability)
7
7
 
8
- API Wrapper for the [Microsoft Azure Speech Services Speech-to-text REST API 3.0](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/rest-speech-to-text) (Cognitive Services).
8
+ API Wrapper for the [Microsoft Azure Speech Services Speech-to-text REST API 3.1](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/rest-speech-to-text) (Cognitive Services).
9
9
 
10
10
  ## Installation
11
11
 
@@ -105,7 +105,7 @@ transcription = session.get_transcription('your_transcription_id')
105
105
  # # "wordLevelTimestampsEnabled"=>false, "channels"=>[0, 1],
106
106
  # # "punctuationMode"=>"DictatedAndAutomatic", "profanityFilterMode"=>"Masked",
107
107
  # # "duration"=>"PT5M18S"}
108
- # # links={"files"=>"https://uscentral.api.cognitive.microsoft.com/speechtotext/v3.0/transcriptions/d35a802d-70ae-4358-a35d-b5faa0c75457/files"}
108
+ # # links={"files"=>"https://uscentral.api.cognitive.microsoft.com/speechtotext/v3.1/transcriptions/d35a802d-70ae-4358-a35d-b5faa0c75457/files"}
109
109
  # # last_action_date_time=#<Date: 2020-05-31 ((2459366j,0s,0n),+0s,2299161j)> created_date_time=#<Date: 2020-05-31 ((2459366j,0s,0n),+0s,2299161j)>
110
110
  # # status="Succeeded" locale="en-US" display_name="Transcription name" files=[]>
111
111
 
data/azure_stt.gemspec CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
10
10
  spec.authors = ['François Pouly']
11
11
  spec.email = ['francois.pouly@perfect-memory.com']
12
12
 
13
- spec.summary = 'API Wrapper for the Microsoft Translator Text API 3.0'
14
- spec.description = 'API Wrapper for the Microsoft Translator Text API 3.0 (Cognitive Services)'
13
+ spec.summary = 'API Wrapper for the Microsoft Translator Text API 3.1'
14
+ spec.description = 'API Wrapper for the Microsoft Translator Text API 3.1 (Cognitive Services)'
15
15
  spec.homepage = 'https://github.com/PerfectMemory/azure_stt'
16
16
  spec.license = 'MIT'
17
17
 
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: AzureSTT::Client
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.34
10
10
 
11
11
  </title>
12
12
 
@@ -214,6 +214,30 @@
214
214
  <p>Create a transcription for a batch or a single file.</p>
215
215
  </div></span>
216
216
 
217
+ </li>
218
+
219
+
220
+ <li class="public ">
221
+ <span class="summary_signature">
222
+
223
+ <a href="#delete_transcription-instance_method" title="#delete_transcription (instance method)">#<strong>delete_transcription</strong>(id) &#x21d2; Boolean </a>
224
+
225
+
226
+
227
+ </span>
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+ <span class="summary_desc"><div class='inline'>
238
+ <p>Delete a transcription with a given ID.</p>
239
+ </div></span>
240
+
217
241
  </li>
218
242
 
219
243
 
@@ -408,19 +432,19 @@
408
432
  <pre class="lines">
409
433
 
410
434
 
435
+ 19
411
436
  20
412
437
  21
413
438
  22
414
- 23
415
- 24</pre>
439
+ 23</pre>
416
440
  </td>
417
441
  <td>
418
- <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 20</span>
442
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 19</span>
419
443
 
420
444
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>region:</span><span class='comma'>,</span> <span class='label'>subscription_key:</span><span class='rparen'>)</span>
421
445
  <span class='ivar'>@subscription_key</span> <span class='op'>=</span> <span class='id identifier rubyid_subscription_key'>subscription_key</span>
422
446
  <span class='ivar'>@region</span> <span class='op'>=</span> <span class='id identifier rubyid_region'>region</span>
423
- <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_base_uri'>base_uri</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_region'>region</span><span class='embexpr_end'>}</span><span class='tstring_content'>.api.cognitive.microsoft.com/speechtotext/v3.0</span><span class='tstring_end'>&quot;</span></span>
447
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_base_uri'>base_uri</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_region'>region</span><span class='embexpr_end'>}</span><span class='tstring_content'>.api.cognitive.microsoft.com/speechtotext/v3.1</span><span class='tstring_end'>&quot;</span></span>
424
448
  <span class='kw'>end</span></pre>
425
449
  </td>
426
450
  </tr>
@@ -460,12 +484,12 @@
460
484
  <pre class="lines">
461
485
 
462
486
 
487
+ 11
463
488
  12
464
- 13
465
- 14</pre>
489
+ 13</pre>
466
490
  </td>
467
491
  <td>
468
- <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 12</span>
492
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 11</span>
469
493
 
470
494
  <span class='kw'>def</span> <span class='id identifier rubyid_region'>region</span>
471
495
  <span class='ivar'>@region</span>
@@ -503,12 +527,12 @@
503
527
  <pre class="lines">
504
528
 
505
529
 
530
+ 11
506
531
  12
507
- 13
508
- 14</pre>
532
+ 13</pre>
509
533
  </td>
510
534
  <td>
511
- <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 12</span>
535
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 11</span>
512
536
 
513
537
  <span class='kw'>def</span> <span class='id identifier rubyid_subscription_key'>subscription_key</span>
514
538
  <span class='ivar'>@subscription_key</span>
@@ -581,7 +605,7 @@
581
605
  <p class="tag_title">See Also:</p>
582
606
  <ul class="see">
583
607
 
584
- <li><a href="https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/operations/CreateTranscription" target="_parent" title="https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/operations/CreateTranscription">https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/operations/CreateTranscription</a></li>
608
+ <li><a href="https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/CreateTranscription" target="_parent" title="https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/CreateTranscription">https://francecentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/CreateTranscription</a></li>
585
609
 
586
610
  </ul>
587
611
 
@@ -591,17 +615,17 @@
591
615
  <pre class="lines">
592
616
 
593
617
 
618
+ 34
594
619
  35
595
620
  36
596
621
  37
597
622
  38
598
623
  39
599
624
  40
600
- 41
601
- 42</pre>
625
+ 41</pre>
602
626
  </td>
603
627
  <td>
604
- <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 35</span>
628
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 34</span>
605
629
 
606
630
  <span class='kw'>def</span> <span class='id identifier rubyid_create_transcription'>create_transcription</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
607
631
  <span class='id identifier rubyid_results'>results</span> <span class='op'>=</span> <span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span>
@@ -614,6 +638,91 @@
614
638
  </td>
615
639
  </tr>
616
640
  </table>
641
+ </div>
642
+
643
+ <div class="method_details ">
644
+ <h3 class="signature " id="delete_transcription-instance_method">
645
+
646
+ #<strong>delete_transcription</strong>(id) &#x21d2; <tt>Boolean</tt>
647
+
648
+
649
+
650
+
651
+
652
+ </h3><div class="docstring">
653
+ <div class="discussion">
654
+
655
+ <p>Delete a transcription with a given ID</p>
656
+
657
+
658
+ </div>
659
+ </div>
660
+ <div class="tags">
661
+ <p class="tag_title">Parameters:</p>
662
+ <ul class="param">
663
+
664
+ <li>
665
+
666
+ <span class='name'>id</span>
667
+
668
+
669
+ <span class='type'>(<tt>String</tt>)</span>
670
+
671
+
672
+
673
+ &mdash;
674
+ <div class='inline'>
675
+ <p>The id of the transcription in the API</p>
676
+ </div>
677
+
678
+ </li>
679
+
680
+ </ul>
681
+
682
+ <p class="tag_title">Returns:</p>
683
+ <ul class="return">
684
+
685
+ <li>
686
+
687
+
688
+ <span class='type'>(<tt>Boolean</tt>)</span>
689
+
690
+
691
+
692
+ &mdash;
693
+ <div class='inline'>
694
+ <p>true if the transcription had been deleted, raises an error else</p>
695
+ </div>
696
+
697
+ </li>
698
+
699
+ </ul>
700
+
701
+ </div><table class="source_code">
702
+ <tr>
703
+ <td>
704
+ <pre class="lines">
705
+
706
+
707
+ 84
708
+ 85
709
+ 86
710
+ 87
711
+ 88
712
+ 89</pre>
713
+ </td>
714
+ <td>
715
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 84</span>
716
+
717
+ <span class='kw'>def</span> <span class='id identifier rubyid_delete_transcription'>delete_transcription</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span>
718
+ <span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/transcriptions/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>headers:</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
719
+ <span class='id identifier rubyid_handle_response'>handle_response</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span>
720
+
721
+ <span class='kw'>true</span>
722
+ <span class='kw'>end</span></pre>
723
+ </td>
724
+ </tr>
725
+ </table>
617
726
  </div>
618
727
 
619
728
  <div class="method_details ">
@@ -680,16 +789,16 @@
680
789
  <pre class="lines">
681
790
 
682
791
 
683
- 100
684
- 101
685
- 102
686
- 103
687
- 104
688
- 105
689
- 106</pre>
792
+ 113
793
+ 114
794
+ 115
795
+ 116
796
+ 117
797
+ 118
798
+ 119</pre>
690
799
  </td>
691
800
  <td>
692
- <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 100</span>
801
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 113</span>
693
802
 
694
803
  <span class='kw'>def</span> <span class='id identifier rubyid_get_file'>get_file</span><span class='lparen'>(</span><span class='id identifier rubyid_file_url'>file_url</span><span class='rparen'>)</span>
695
804
  <span class='id identifier rubyid_response'>response</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_file_url'>file_url</span><span class='rparen'>)</span>
@@ -767,14 +876,14 @@
767
876
  <pre class="lines">
768
877
 
769
878
 
879
+ 50
770
880
  51
771
881
  52
772
882
  53
773
- 54
774
- 55</pre>
883
+ 54</pre>
775
884
  </td>
776
885
  <td>
777
- <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 51</span>
886
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 50</span>
778
887
 
779
888
  <span class='kw'>def</span> <span class='id identifier rubyid_get_transcription'>get_transcription</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span>
780
889
  <span class='id identifier rubyid_results'>results</span> <span class='op'>=</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/transcriptions/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
@@ -847,7 +956,7 @@
847
956
  <p class="tag_title">See Also:</p>
848
957
  <ul class="see">
849
958
 
850
- <li><a href="https://uscentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/operations/GetTranscriptionFiles" target="_parent" title="https://uscentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/operations/GetTranscriptionFiles">https://uscentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/operations/GetTranscriptionFiles</a></li>
959
+ <li><a href="https://uscentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/GetTranscriptionFiles" target="_parent" title="https://uscentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/GetTranscriptionFiles">https://uscentral.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/GetTranscriptionFiles</a></li>
851
960
 
852
961
  </ul>
853
962
 
@@ -857,14 +966,14 @@
857
966
  <pre class="lines">
858
967
 
859
968
 
860
- 87
861
- 88
862
- 89
863
- 90
864
- 91</pre>
969
+ 100
970
+ 101
971
+ 102
972
+ 103
973
+ 104</pre>
865
974
  </td>
866
975
  <td>
867
- <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 87</span>
976
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 100</span>
868
977
 
869
978
  <span class='kw'>def</span> <span class='id identifier rubyid_get_transcription_files'>get_transcription_files</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span>
870
979
  <span class='id identifier rubyid_results'>results</span> <span class='op'>=</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/transcriptions/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/files</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
@@ -962,6 +1071,7 @@
962
1071
  <pre class="lines">
963
1072
 
964
1073
 
1074
+ 65
965
1075
  66
966
1076
  67
967
1077
  68
@@ -971,11 +1081,10 @@
971
1081
  72
972
1082
  73
973
1083
  74
974
- 75
975
- 76</pre>
1084
+ 75</pre>
976
1085
  </td>
977
1086
  <td>
978
- <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 66</span>
1087
+ <pre class="code"><span class="info file"># File 'lib/azure_stt/client.rb', line 65</span>
979
1088
 
980
1089
  <span class='kw'>def</span> <span class='id identifier rubyid_get_transcriptions'>get_transcriptions</span><span class='lparen'>(</span><span class='label'>skip:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>top:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
981
1090
  <span class='id identifier rubyid_results'>results</span> <span class='op'>=</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span>
@@ -998,9 +1107,9 @@
998
1107
  </div>
999
1108
 
1000
1109
  <div id="footer">
1001
- Generated on Thu Jun 24 14:16:27 2021 by
1002
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1003
- 0.9.26 (ruby-2.6.6).
1110
+ Generated on Wed May 10 12:30:20 2023 by
1111
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1112
+ 0.9.34 (ruby-2.7.7).
1004
1113
  </div>
1005
1114
 
1006
1115
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: AzureSTT::Configuration
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.34
10
10
 
11
11
  </title>
12
12
 
@@ -272,9 +272,9 @@
272
272
  </div>
273
273
 
274
274
  <div id="footer">
275
- Generated on Thu Jun 24 14:16:27 2021 by
276
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
277
- 0.9.26 (ruby-2.6.6).
275
+ Generated on Wed May 10 12:30:20 2023 by
276
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
277
+ 0.9.34 (ruby-2.7.7).
278
278
  </div>
279
279
 
280
280
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Exception: AzureSTT::Error
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; 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> &#x21d2; 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:) &#x21d2; 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:) &#x21d2; <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'>&quot;</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'>&quot;</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> &#x21d2; <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 Thu Jun 24 14:16:27 2021 by
299
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
300
- 0.9.26 (ruby-2.6.6).
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
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; 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 Thu Jun 24 14:16:27 2021 by
133
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
134
- 0.9.26 (ruby-2.6.6).
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>