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