Exception: YandexSpeechApi::Key::KeyNotDefined
- Inherits:
-
YandexSpeechError
- Object
- StandardError
- YandexSpeechError
- YandexSpeechApi::Key::KeyNotDefined
- Defined in:
- lib/yandex_speech/key.rb
Overview
Raised when user tries to call #say method without key.
Instance Method Summary collapse
-
#initialize ⇒ KeyNotDefined
constructor
A new instance of KeyNotDefined.
Constructor Details
#initialize ⇒ KeyNotDefined
Returns a new instance of KeyNotDefined.
98 |
# File 'lib/yandex_speech/key.rb', line 98 def initialize; super "WARNING! You initialized Speaker class without key! It means you can not use YandexSpeechApi service. You can get your key there: https://tech.yandex.ru/speechkit" end |