Class: Plivo::XML::PlivoXML
- Inherits:
-
Object
- Object
- Plivo::XML::PlivoXML
- Defined in:
- lib/plivo/xml/plivo_xml.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ PlivoXML
constructor
A new instance of PlivoXML.
- #to_s ⇒ Object
- #to_xml ⇒ Object
Constructor Details
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
4 5 6 |
# File 'lib/plivo/xml/plivo_xml.rb', line 4 def response @response end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/plivo/xml/plivo_xml.rb', line 14 def to_s '<?xml version="1.0" encoding="utf-8" ?>' + @response.to_s end |
#to_xml ⇒ Object
10 11 12 |
# File 'lib/plivo/xml/plivo_xml.rb', line 10 def to_xml '<?xml version="1.0" encoding="utf-8" ?>' + @response.to_xml end |