Sha256: af5b17133fe2d644cd515360ffde292a3d01f45f8136afaed315f2d5430bbff0

Contents?: true

Size: 344 Bytes

Versions: 5

Compression:

Stored size: 344 Bytes

Contents

require_relative 'xml_verb'

module Bandwidth 
  module Voice 
    # The PlayAudio verb is used to play an audio file in the call
    class PlayAudio
      include XmlVerb

      def to_bxml(xml)
        xml.PlayAudio(url, compact_hash({
         'username' => username,
         'password' => password
        }))
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bandwidth-sdk-2.0.0 lib/bandwidth/voice_lib/bxml/verbs/play_audio.rb
bandwidth-sdk-1.0.2 lib/bandwidth/voice_lib/bxml/verbs/play_audio.rb
bandwidth-sdk-1.0.1 lib/bandwidth/voice_lib/bxml/verbs/play_audio.rb
bandwidth-sdk-1.0.0 lib/bandwidth/voice_lib/bxml/verbs/play_audio.rb
bandwidth-sdk-1.0.0.pre lib/bandwidth/voice_lib/bxml/verbs/play_audio.rb