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.3.28 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.27 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.26 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.25 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.24 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.23 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.22 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.21 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.20 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.19 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.18 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.17 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.16 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.15 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.14 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.13 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.12 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.11 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb
fog-0.3.10 lib/fog/aws/parsers/elb/register_instances_with_load_balancer.rb