Sha256: bedcb2780d98d6e62d0af4ca79d86f36b4469dbf7da667f1523526b0cd64e808

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 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_xml(xml)
	      xml.PlayAudio(url, compact_hash({
	       'username' => username,
	       'password' => password
	      }))
	    end
	  end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bandwidth-sdk-0.1.0 lib/bandwidth/voice_lib/voice/bxml/verbs/play_audio.rb