class Plivo::XML::Message

Public Class Methods

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