Sha256: ea21e2c6e6a3ed1dd82f070aea2edd8c7921532099afda2cb653c25b1a413ea9

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 Bytes

Contents

module Fog
  module Parsers
    module DNS
      module AWS

        class ChangeResourceRecordSets < Fog::Parsers::Base

          def reset
            @response = {}
          end

          def end_element(name)
            case name
            when 'Id'
              @response[name] = value.sub('/change/', '')
            when 'Status', 'SubmittedAt'
              @response[name] = value
            end
          end

        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-1.22.0 lib/fog/aws/parsers/dns/change_resource_record_sets.rb
fog-1.21.0 lib/fog/aws/parsers/dns/change_resource_record_sets.rb