Class: Plivo::Response

Inherits:
Element show all
Defined in:
lib/plivo.rb

Instance Attribute Summary

Attributes inherited from Element

#name, #node

Instance Method Summary collapse

Methods inherited from Element

#add, #convert_value, #method_missing

Constructor Details

#initializeResponse

Returns a new instance of Response


618
619
620
# File 'lib/plivo.rb', line 618

def initialize()
    super(nil, {})
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Plivo::Element

Instance Method Details

#to_sObject


626
627
628
# File 'lib/plivo.rb', line 626

def to_s()
    return '<?xml version="1.0" encoding="utf-8" ?>' + super()
end

#to_xmlObject


622
623
624
# File 'lib/plivo.rb', line 622

def to_xml()
    return '<?xml version="1.0" encoding="utf-8" ?>' + super()
end