Sha256: ac4666e1ec142388befe0aabfe33430979e1a155ad2f68b3699255faa40ab3f2

Contents?: true

Size: 393 Bytes

Versions: 55

Compression:

Stored size: 393 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.delete('"')
            when "LastModified"
              @response[name] = Time.parse(value)
            end
          end
        end
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
fog-google-1.24.1 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.24.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.23.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.22.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.21.1 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.21.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.20.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.19.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.18.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.17.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.16.1 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.16.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.15.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.14.0 lib/fog/parsers/storage/google/copy_object.rb
gitlab-fog-google-1.14.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.13.0 lib/fog/parsers/storage/google/copy_object.rb
gitlab-fog-google-1.13.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.12.1 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.12.0 lib/fog/parsers/storage/google/copy_object.rb
fog-google-1.11.0 lib/fog/parsers/storage/google/copy_object.rb