Module: AzureSTT

Defined in:
lib/azure_stt.rb,
lib/azure_stt/client.rb,
lib/azure_stt/errors.rb,
lib/azure_stt/models.rb,
lib/azure_stt/parsers.rb,
lib/azure_stt/session.rb,
lib/azure_stt/models/base.rb,
lib/azure_stt/models/file.rb,
lib/azure_stt/models/word.rb,
lib/azure_stt/parsers/base.rb,
lib/azure_stt/parsers/file.rb,
lib/azure_stt/parsers/word.rb,
lib/azure_stt/configuration.rb,
lib/azure_stt/models/report.rb,
lib/azure_stt/models/result.rb,
lib/azure_stt/parsers/report.rb,
lib/azure_stt/parsers/result.rb,
lib/azure_stt/models/sentence.rb,
lib/azure_stt/parsers/sentence.rb,
lib/azure_stt/models/transcription.rb,
lib/azure_stt/parsers/transcription.rb,
lib/azure_stt/models/recognized_phrase.rb,
lib/azure_stt/parsers/recognized_phrase.rb,
lib/azure_stt/models/combined_recognized_phrases.rb,
lib/azure_stt/parsers/combined_recognized_phrases.rb

Overview

frozen_string_literal

Defined Under Namespace

Modules: Models, Parsers, Types Classes: Client, Configuration, Error, NetError, ServiceError, Session

Class Method Summary collapse

Class Method Details

.configurationConfiguration

Get the configuration for AzureSTT

Returns:



17
18
19
# File 'lib/azure_stt/configuration.rb', line 17

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Modify the configuration

Yields:



24
25
26
27
# File 'lib/azure_stt/configuration.rb', line 24

def self.configure
  yield configuration
  @client = nil
end