Sha256: 6601da74e0a3b21891e0e6c534653c7fa0cd4f1e913743eb6e15829e4dc58f83

Contents?: true

Size: 391 Bytes

Versions: 44

Compression:

Stored size: 391 Bytes

Contents

require_relative 'xml_verb'

module Bandwidth 
  module Voice 
    # The SpeakSentence verb is used to convert any text into speak for the caller
    class SpeakSentence
      include XmlVerb

      def to_bxml(xml)
        xml.SpeakSentence(sentence, compact_hash({
         'voice' => voice,
         'locale' => locale,
         'gender' => gender
        }))
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
bandwidth-sdk-10.5.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-10.4.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-10.3.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-10.2.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-10.1.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-10.0.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-9.4.1 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-9.4.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-9.3.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-9.2.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-9.1.2 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-9.1.1 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-9.1.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-9.0.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-8.0.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-7.1.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-7.0.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-6.2.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-6.1.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
bandwidth-sdk-6.0.0 lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb