Method: Bandwidth::Voice::StartRecording#to_bxml

Defined in:
lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb

#to_bxml(xml) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
# 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
  }))
end