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.



613
614
615
# File 'lib/plivo.rb', line 613

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



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

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

#to_xmlObject



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

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