class Bandwidth::Xml::Verbs::SpeakSentence
The SpeakSentence
verb is used to convert any text into speak for the caller
Public Instance Methods
to_xml(xml)
click to toggle source
# File lib/bandwidth/xml/verbs/speak_sentence.rb, line 8 def to_xml(xml) xml.SpeakSentence(sentence, compact_hash({ 'voice' => voice, 'locale' => locale, 'gender' => gender || 'female' })) end