class Bandwidth::Xml::Verbs::PlayAudio
The PlayAudio
verb is used to play an audio file in the call
Public Instance Methods
to_xml(xml)
click to toggle source
# File lib/bandwidth/xml/verbs/play_audio.rb, line 8 def to_xml(xml) warn "[DEPRECATION] Attribute 'digits' of 'PlayAudio' will be removed in Bandwidth XML v2" if digits xml.PlayAudio(url, compact_hash({ 'digits' => digits })) end