Class: Mocodo::TextToSpeech::Crayon::TextToSpeech
- Defined in:
- lib/mocodo/text_to_speech.rb
Constant Summary collapse
- EndPoint =
"/crayon/v1/textToSpeech"
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mocodo::Base
Instance Method Details
#speech(options = {}) ⇒ Object
42 43 44 |
# File 'lib/mocodo/text_to_speech.rb', line 42 def speech(={}) post(build_url(EndPoint), .to_json, {'Content-Type'=>'application/json'}) end |