class Fog::Parsers::AWS::ELB::RegisterInstancesWithLoadBalancer

Public Instance Methods

end_element(name) click to toggle source
# File lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb, line 10
def end_element(name)
  case name
  when 'InstanceId'
    @response['RegisterInstancesWithLoadBalancerResult']['Instances'] << {name => value}
  when 'RequestId'
    @response['ResponseMetadata'][name] = value
  end
end
reset() click to toggle source
# File lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb, line 6
def reset
  @response = { 'RegisterInstancesWithLoadBalancerResult' => { 'Instances' => [] }, 'ResponseMetadata' => {} }
end