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.7.2 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.7.1 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.7.0 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.6.0 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.5.3 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.5.2 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.5.1 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.5.0 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
phpfog-fog-0.4.1.3 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
phpfog-fog-0.4.1.2 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
phpfog-fog-0.4.1.1 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
phpfog-fog-0.4.1 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.4.1 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.4.0 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.34 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.33 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.32 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.31 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.30 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.29 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb