Exception: YandexSpeechApi::Format::FormatNotAllowed

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

Overview

Raised when unknown format has been selected.

Instance Method Summary collapse

Constructor Details

#initialize(format) ⇒ FormatNotAllowed

Returns a new instance of FormatNotAllowed.



36
# File 'lib/yandex_speech/format.rb', line 36

def initialize(format); super "Format '#{format}' not allowed for usage. To see list of allowed formats use Format#list" end