Sha256: 53ce12feed1cfeeb117db3cb20ee849bd93bde90043cf83a46def2f51af076df

Contents?: true

Size: 674 Bytes

Versions: 17

Compression:

Stored size: 674 Bytes

Contents

module Bandwidth
  module Bxml
    class PlayAudio < Bandwidth::Bxml::Verb
      # Initializer
      # @param audio_uri [String] The URL of the audio file to play. May be a relative URL.
      # @param attributes [Hash] The attributes to add to the element. Defaults to an empty hash.
      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
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
bandwidth-sdk-14.0.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-13.1.4 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-13.1.3 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-13.1.2 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-13.1.1 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-13.1.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-13.0.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-12.1.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-11.3.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-11.2.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-11.1.1 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-11.1.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-11.0.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-11.0.0.pre.beta.4.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-11.0.0.pre.beta.3.1 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-11.0.0.pre.beta.3.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb
bandwidth-sdk-11.0.0.pre.beta.2.0 lib/bandwidth-sdk/models/bxml/verbs/play_audio.rb