Class: KooKoo::KooKooML::Response
- Inherits:
-
Object
- Object
- KooKoo::KooKooML::Response
- Defined in:
- lib/kookoo-gem.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(&block) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(&block) ⇒ Response
Returns a new instance of Response.
9 10 11 12 13 |
# File 'lib/kookoo-gem.rb', line 9 def initialize(&block) xml = Builder::XmlMarkup.new xml.instruct! @text = xml.Response &block end |
Instance Attribute Details
#text ⇒ Object (readonly)
Returns the value of attribute text.
7 8 9 |
# File 'lib/kookoo-gem.rb', line 7 def text @text end |