Class: AzureSTT::Configuration
- Inherits:
-
Object
- Object
- AzureSTT::Configuration
- 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
-
#region ⇒ Object
Returns the value of attribute region.
-
#subscription_key ⇒ Object
Returns the value of attribute subscription_key.
Instance Attribute Details
#region ⇒ Object
Returns the value of attribute region.
9 10 11 |
# File 'lib/azure_stt/configuration.rb', line 9 def region @region end |
#subscription_key ⇒ Object
Returns the value of attribute subscription_key.
9 10 11 |
# File 'lib/azure_stt/configuration.rb', line 9 def subscription_key @subscription_key end |