Class: IvonaSpeechCloud::CreateSpeech
- Inherits:
-
Object
- Object
- IvonaSpeechCloud::CreateSpeech
- Includes:
- Runner
- Defined in:
- lib/ivona_speech_cloud/create_speech.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(client, options) ⇒ IvonaSpeechCloud::CreateSpeech
constructor
Initializes a new CreateSpeech object options example: [“Hello world!”] [“Hello world!”, => “Joey”] [“Bonjour le monde”, => “Female”, :language => “fr-FR”, :voice_name => “Celine”].
Methods included from Runner
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”
- “Hello world!”, => “Joey”
17 18 19 20 21 |
# File 'lib/ivona_speech_cloud/create_speech.rb', line 17 def initialize(client, ) @client = client @options = @path = "/CreateSpeech" end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/ivona_speech_cloud/create_speech.rb', line 3 def @options end |