class Bandwidth::Voice::SpeakSentence

The SpeakSentence verb is used to convert any text into speak for the caller

Public Instance Methods

to_bxml(xml) click to toggle source
# 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