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
#full_tag_name, #result, #tag, #xml_lib, #xmlpath
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
552 553 554 |
# File 'lib/elb/right_elb_interface.rb', line 552 def reset @result = [] end |
#tagend(name) ⇒ Object
543 544 545 546 547 548 549 550 551 |
# File 'lib/elb/right_elb_interface.rb', line 543 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:
540 541 542 |
# File 'lib/elb/right_elb_interface.rb', line 540 def (name, attributes) @item = {} if name == 'member' end |