class Plivo::XML::Play

Public Class Methods

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