Sha256: b352810b4554816ddd661a20f3431a64ed9cefb5d331cf2391be53e93684d6ad
Contents?: true
Size: 631 Bytes
Versions: 108
Compression:
Stored size: 631 Bytes
Contents
module Fog module Parsers module AWS module ELB class RegisterInstancesWithLoadBalancer < Fog::Parsers::Base def reset @response = { 'RegisterInstancesWithLoadBalancerResult' => { 'Instances' => [] }, 'ResponseMetadata' => {} } end def end_element(name) case name when 'InstanceId' @response['RegisterInstancesWithLoadBalancerResult']['Instances'] << {name => @value} when 'RequestId' @response['ResponseMetadata'][name] = @value end end end end end end end
Version data entries
108 entries across 108 versions & 4 rubygems