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

Version Path
fog-0.2.20 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.19 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.18 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.17 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.16 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.15 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.14 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.13 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.12 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.11 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.10 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.9 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.8 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.7 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.6 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.5 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.4 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.3 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.2 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.2.1 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb