Exception: YandexSpeechApi::Key::KeyNotDefined

Inherits:
YandexSpeechError show all
Defined in:
lib/yandex_speech/key.rb

Overview

Raised when user tries to call #say method without key.

Instance Method Summary collapse

Constructor Details

#initializeKeyNotDefined

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