Class: RightAws::ElbInterface::DescribeInstanceHealthParser
- Inherits:
-
RightAWSParser
- Object
- RightAWSParser
- RightAws::ElbInterface::DescribeInstanceHealthParser
- Defined in:
- lib/elb/right_elb_interface.rb
Overview
PARSERS: Instances
Constant Summary
Constants inherited from RightAWSParser
RightAWSParser::DEFAULT_XML_LIBRARY
Instance Attribute Summary
Attributes inherited from RightAWSParser
Instance Method Summary collapse
Methods inherited from RightAWSParser
#initialize, #method_missing, #parse, #tag_end, #tag_start, #tagtext, #text, xml_lib, xml_lib=
Constructor Details
This class inherits a constructor from RightAws::RightAWSParser
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RightAws::RightAWSParser
Instance Method Details
#reset ⇒ Object
386 387 388 |
# File 'lib/elb/right_elb_interface.rb', line 386 def reset @result = [] end |
#tagend(name) ⇒ Object
377 378 379 380 381 382 383 384 385 |
# File 'lib/elb/right_elb_interface.rb', line 377 def tagend(name) case name when 'Description' then @item[:description] = @text when 'State' then @item[:state] = @text when 'InstanceId' then @item[:instance_id] = @text when 'ReasonCode' then @item[:reason_code] = @text when 'member' then @result << @item end end |
#tagstart(name, attributes) ⇒ Object
:nodoc:
374 375 376 |
# File 'lib/elb/right_elb_interface.rb', line 374 def (name, attributes) @item = {} if name == 'member' end |