Class: AzureSTT::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/azure_stt/configuration.rb

Overview

Configurator pattern to be able to change the subscription key. By default the key is in a .env file

Instance Attribute Summary collapse

Instance Attribute Details

#regionObject

Returns the value of attribute region.



9
10
11
# File 'lib/azure_stt/configuration.rb', line 9

def region
  @region
end

#subscription_keyObject

Returns the value of attribute subscription_key.



9
10
11
# File 'lib/azure_stt/configuration.rb', line 9

def subscription_key
  @subscription_key
end