class Plivo::XML::Redirect

Public Class Methods

new(body, attributes = {}) click to toggle source
Calls superclass method Plivo::XML::Element::new
# File lib/plivo/xml/redirect.rb, line 7
def initialize(body, attributes = {})
  raise PlivoError 'No url set for Redirect' unless body
  super(body, attributes)
end