Class: Bandwidth::Voice::SpeakSentence
- Inherits:
-
Object
- Object
- Bandwidth::Voice::SpeakSentence
- Includes:
- XmlVerb
- Defined in:
- lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
Overview
The SpeakSentence verb is used to convert any text into speak for the caller
Instance Method Summary collapse
Methods included from XmlVerb
#compact_hash, #initialize, #method_missing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bandwidth::Voice::XmlVerb
Instance Method Details
#to_bxml(xml) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb', line 9 def to_bxml(xml) xml.SpeakSentence(sentence, compact_hash({ 'voice' => voice, 'locale' => locale, 'gender' => gender })) end |