class Plivo::XML::Number

Public Class Methods

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