Sha256: 7a6445880037f6967ad4fdd34f15d0a973394e367989650481009147523340f8

Contents?: true

Size: 591 Bytes

Versions: 10

Compression:

Stored size: 591 Bytes

Contents

module Fog
  module Parsers
    module Compute
      module AWS
        class DescribeVpcClassicLinkDnsSupport < Fog::Parsers::Base
          def reset
            @vpc      = {}
            @response = { 'vpcs' => [] }
          end

          def end_element(name)
            case name
            when 'vpcId'
              @vpc[name] = value
            when 'classicLinkDnsSupported'
              @vpc[name] = value == 'true'
            when 'item'
              @response['vpcs'] << @vpc
              @vpc = {}
            end
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 8 versions & 2 rubygems

Version Path
fog-aws-3.1.0 lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-aws-2.0.1/lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb
fog-aws-3.0.0 lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb
fog-aws-2.0.1 lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb
fog-aws-2.0.0 lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb
fog-aws-1.4.1 lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb
fog-aws-1.4.0 lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb
fog-aws-1.3.0 lib/fog/aws/parsers/compute/describe_vpc_classic_link_dns_support.rb