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



607
608
609
# File 'lib/plivo.rb', line 607

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



615
616
617
# File 'lib/plivo.rb', line 615

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

#to_xmlObject



611
612
613
# File 'lib/plivo.rb', line 611

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