Sha256: 7355161a48834384f76630f750b8477e0cf0e4d4d23a659ebfdee107e08cd24f

Contents?: true

Size: 939 Bytes

Versions: 9

Compression:

Stored size: 939 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,
         'transcribe' => transcribe,
         'transcriptionAvailableUrl' => transcription_available_url,
         'transcriptionAvailableMethod' => transcription_available_method,
         'silenceTimeout' => silence_timeout
        }))
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bandwidth-sdk-3.9.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb
bandwidth-sdk-3.8.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb
bandwidth-sdk-3.7.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb
bandwidth-sdk-3.6.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb
bandwidth-sdk-3.5.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb
bandwidth-sdk-3.4.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb
bandwidth-sdk-3.3.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb
bandwidth-sdk-3.2.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb
bandwidth-sdk-3.1.0 lib/bandwidth/voice_lib/bxml/verbs/record.rb