Class: IvonaSpeechCloud::CreateSpeech

Inherits:
Object
  • Object
show all
Includes:
Runner
Defined in:
lib/ivona_speech_cloud/create_speech.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Runner

#input, #input_class, #run

Constructor Details

#initialize(client, options) ⇒ IvonaSpeechCloud::CreateSpeech

Initializes a new CreateSpeech object options example:

“Hello world!”
“Hello world!”, => “Joey”
“Bonjour le monde”, => “Female”, :language => “fr-FR”, :voice_name => “Celine”

Parameters:



17
18
19
20
21
# File 'lib/ivona_speech_cloud/create_speech.rb', line 17

def initialize(client, options)
  @client = client
  @options = options
  @path = "/CreateSpeech"
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



3
4
5
# File 'lib/ivona_speech_cloud/create_speech.rb', line 3

def options
  @options
end