Class: Bandwidth::Bxml::PlayAudio
- Defined in:
- lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
Instance Method Summary collapse
-
#initialize(audio_uri, attributes = {}) ⇒ PlayAudio
constructor
Initializer.
Methods inherited from Verb
#generate_xml, #set_attributes, #to_bxml
Constructor Details
#initialize(audio_uri, attributes = {}) ⇒ PlayAudio
Initializer
7 8 9 10 11 12 13 14 |
# File 'lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb', line 7 def initialize(audio_uri, attributes = {}) super('PlayAudio', audio_uri, attributes) @attribute_map = { username: 'username', # Optional [String]: The username to send in the HTTP request to audio_uri. password: 'password', # Optional [String]: The password to send in the HTTP request to audio_uri. } end |