Sha256: 7b91b5cfa8f62e06cc73f0e0428be7f2859781abe666a77ab874a2b662348e9e
Contents?: true
Size: 500 Bytes
Versions: 5
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true module AzureSTT # # Configurator pattern to be able to change the subscription key. By default # the key is in a .env file # class Configuration attr_accessor :subscription_key, :region end # # Get the configuration for AzureSTT # # @return [Configuration] # def self.configuration @configuration ||= Configuration.new end # # Modify the configuration # def self.configure yield configuration @client = nil end end
Version data entries
5 entries across 5 versions & 1 rubygems