class Bandwidth::Xml::Verbs::Redirect

The Redirect verb is used to redirect the current XML execution to another URL

Public Instance Methods

to_xml(xml) click to toggle source
# File lib/bandwidth/xml/verbs/redirect.rb, line 8
def to_xml(xml)
  xml.Redirect(compact_hash({
   'requestUrl' => request_url,
   'requestUrlTimeout' => request_url_timeout
  }))
end