Sha256: a434133907d7c73f76bed89a391a8eb8053e8d85209fee918815f37f6000a587

Contents?: true

Size: 713 Bytes

Versions: 2

Compression:

Stored size: 713 Bytes

Contents

require_relative 'xml_verb'

module Bandwidth
  module Voice
    # The Record verb is used to trigger call recording
    class Record
      include XmlVerb

      def to_bxml(xml)
        xml.Record(compact_hash({
         'tag' => tag,
         'username' => username,
         'password' => password,
         'recordCompleteUrl' => record_complete_url,
         'recordCompleteMethod' => record_complete_method,
         'recordingAvailableUrl' => recording_available_url,
         'recordingAvailableMethod' => recording_available_method,
         'terminatingDigits' => terminating_digits,
         'maxDuration' => max_duration,
         'fileFormat' => file_format
        }))
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bandwidth-sdk-2.0.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb
bandwidth-sdk-1.0.2 lib/bandwidth/voice_lib/bxml/verbs/record.rb