Sha256: 858cc77d5047ffa4eb18f51026ef460efeaa545882e2d1189f0fa6e566383324

Contents?: true

Size: 648 Bytes

Versions: 108

Compression:

Stored size: 648 Bytes

Contents

module Fog
  module Parsers
    module AWS
      module ELB

        class EnableAvailabilityZonesForLoadBalancer < Fog::Parsers::Base

          def reset
            @response = { 'EnableAvailabilityZonesForLoadBalancerResult' => { 'AvailabilityZones' => [] }, 'ResponseMetadata' => {} }
          end

          def end_element(name)
            case name
            when 'member'
              @response['EnableAvailabilityZonesForLoadBalancerResult']['AvailabilityZones'] << @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/enable_availability_zones_for_load_balancer.rb
fog-0.7.1 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.7.0 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.6.0 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.5.3 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.5.2 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.5.1 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.5.0 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
phpfog-fog-0.4.1.3 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
phpfog-fog-0.4.1.2 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
phpfog-fog-0.4.1.1 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
phpfog-fog-0.4.1 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.4.1 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.4.0 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.3.34 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.3.33 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.3.32 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.3.31 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.3.30 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb
fog-0.3.29 lib/fog/aws/parsers/elb/enable_availability_zones_for_load_balancer.rb