Class: Request::Response
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text, xml) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(text, xml) ⇒ Response
Returns a new instance of Response.
31 32 33 34 |
# File 'lib/source/redshift/request.rb', line 31 def initialize(text,xml) @text = text @xml = xml end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
29 30 31 |
# File 'lib/source/redshift/request.rb', line 29 def text @text end |