class Aws::Elb::QElbDescribeInstancesHealthParser

Public Instance Methods

reset() click to toggle source
# File lib/elb/elb_interface.rb, line 328
def reset
  @result = []
end
tagend(name) click to toggle source
# File lib/elb/elb_interface.rb, line 339
def tagend(name)
  case name
    when 'Description' then
      @member[:description] = @text
    when 'State' then
      @member[:state] = @text
    when 'InstanceId' then
      @member[:instance_id] = @text
    when 'ReasonCode' then
      @member[:reason_code] = @text
    when 'member' then
      @result << @member
  end
end
tagstart(name, attributes) click to toggle source
# File lib/elb/elb_interface.rb, line 332
      def tagstart(name, attributes)
#                puts 'tagstart ' + name + ' -- ' + @xmlpath
        if (name == 'member' && @xmlpath == 'DescribeInstanceHealthResponse/DescribeInstanceHealthResult/InstanceStates')
          @member = {}
        end
      end