Sha256: afd64573f23fe20d700cdfe686c4a64085e34c7c7a28dbc0c496cd0acebe916d
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true module Azure module TTS class Configuration include Azure::TTS::Constants attr_accessor :api_key, :region, :default_voice, :default_audio_format def initialize @default_voice = "" @default_audio_format = :audio_24khz_160kbitrate_mono_mp3 end def tokens_url format(TOKENS_URL, region: region) end def voices_url format(VOICES_URL, region: region) end def tts_url format(TTS_URL, region: region) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure-tts-1.0.0 | lib/azure/tts/configuration.rb |