class Plivo::XML::User

Public Class Methods

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