Sha256: 7207aaeb03911b7444148b0438d9cf19262ae7804d8b68e0f7d7b644e45278c7

Contents?: true

Size: 399 Bytes

Versions: 111

Compression:

Stored size: 399 Bytes

Contents

module Fog
  module Parsers
    module Storage
      module Google

        class CopyObject < Fog::Parsers::Base

          def end_element(name)
            case name
            when 'ETag'
              @response[name] = value.gsub('"', '')
            when 'LastModified'
              @response[name] = Time.parse(value)
            end
          end

        end

      end
    end
  end
end

Version data entries

111 entries across 111 versions & 19 rubygems

Version Path
fog-1.10.1 lib/fog/google/parsers/storage/copy_object.rb
fog-parser-fix-1.6.1 lib/fog/google/parsers/storage/copy_object.rb
fog-test-again-1.6.0 lib/fog/google/parsers/storage/copy_object.rb
fog-test-me-1.10.0 lib/fog/google/parsers/storage/copy_object.rb
fog-parser-fix-1.6.0 lib/fog/google/parsers/storage/copy_object.rb
fog-1.10.0 lib/fog/google/parsers/storage/copy_object.rb
fog-1.9.0 lib/fog/google/parsers/storage/copy_object.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/google/parsers/storage/copy_object.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/google/parsers/storage/copy_object.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/google/parsers/storage/copy_object.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/google/parsers/storage/copy_object.rb
fog-sgonyea-1.8.1 lib/fog/google/parsers/storage/copy_object.rb
fog-1.8.0 lib/fog/google/parsers/storage/copy_object.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/google/parsers/storage/copy_object.rb
fog-1.7.0 lib/fog/google/parsers/storage/copy_object.rb
fog-1.6.0 lib/fog/google/parsers/storage/copy_object.rb
fog-1.5.0 lib/fog/google/parsers/storage/copy_object.rb
rackspace-fog-1.4.2 lib/rackspace-fog/google/parsers/storage/copy_object.rb
fog-1.4.0 lib/fog/google/parsers/storage/copy_object.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/google/parsers/storage/copy_object.rb