Sha256: 35a6927905e360255e5995ed7b45c79c629fc66b6d1db65ce97b54ff8495c6fb

Contents?: true

Size: 489 Bytes

Versions: 38

Compression:

Stored size: 489 Bytes

Contents

module Fog
  module Parsers
    module Compute
      module AWS

        class AssociateDhcpOptions  < Fog::Parsers::Base

          def end_element(name)
            case name
            when 'requestId'
              @response[name] = value
            when 'return'
              if value == 'true'
                @response[name] = true
              else
                @response[name] = false
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 12 rubygems

Version Path
fog-parser-fix-1.6.1 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-test-again-1.6.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-test-me-1.10.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-parser-fix-1.6.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-1.10.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-1.9.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-sgonyea-1.8.1 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-1.8.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-1.7.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-1.6.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
fog-1.5.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb
rackspace-fog-1.4.2 lib/rackspace-fog/aws/parsers/compute/associate_dhcp_options.rb
fog-1.4.0 lib/fog/aws/parsers/compute/associate_dhcp_options.rb