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.0 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.10 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.9 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.8 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.7 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.6 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.5 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.4 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.3 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.2 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.1 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.1.0 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.0.100 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.0.99 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.0.98 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.0.97 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.0.96 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.0.95 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.0.94 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.0.93 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb