Exception: YandexSpeechApi::Key::KeyNotDefined

Inherits:
StandardError
  • Object
show all
Defined in:
lib/yandex_speech/key.rb

Overview

This is supposed to been raised when user tries to call #say method without key.

Instance Method Summary collapse

Constructor Details

#initializeKeyNotDefined


97
# File 'lib/yandex_speech/key.rb', line 97

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