class Bandwidth::Xml::Verbs::Record

The Record verb allow call recording

Public Instance Methods

to_xml(xml) click to toggle source
# File lib/bandwidth/xml/verbs/record.rb, line 8
def to_xml(xml)
  xml.Record(compact_hash({
   'requestUrl' => request_url,
   'requestUrlTimeout' => request_url_timeout,
   'terminatingDigits' => terminating_digits,
   'maxDuration' => max_duration,
   'transcribe' => transcribe,
   'transcribeCallbackUrl' => transcribe_callback_url
  }))
end