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



589
590
591
# File 'lib/plivo.rb', line 589

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



597
598
599
# File 'lib/plivo.rb', line 597

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

#to_xmlObject



593
594
595
# File 'lib/plivo.rb', line 593

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