class Bandwidth::Voice::StartRecording

The StartRecording verb is used to trigger call recording

Public Instance Methods

to_bxml(xml) click to toggle source
# File lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb, line 9
def to_bxml(xml)
  xml.StartRecording(compact_hash({
   'tag' => tag,
   'username' => username,
   'password' => password,
   'recordingAvailableUrl' => recording_available_url,
   'recordingAvailableMethod' => recording_available_method,
   'fileFormat' => file_format,
   'multiChannel' => multi_channel,
   'transcribe' => transcribe,
   'transcriptionAvailableUrl' => transcription_available_url,
   'transcriptionAvailableMethod' => transcription_available_method
  }))
end