Sha256: b4478aba84b3c8697968a0509d7c488f623e53cfbd42d931e9019adcf26bbe68

Contents?: true

Size: 401 Bytes

Versions: 48

Compression:

Stored size: 401 Bytes

Contents

module Fog
  module Parsers
    module Google
      module Storage

        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

48 entries across 48 versions & 3 rubygems

Version Path
fog-0.7.2 lib/fog/storage/parsers/google/copy_object.rb
fog-0.7.1 lib/fog/storage/parsers/google/copy_object.rb
fog-0.7.0 lib/fog/storage/parsers/google/copy_object.rb
fog-0.6.0 lib/fog/storage/parsers/google/copy_object.rb
fog-0.5.3 lib/fog/storage/parsers/google/copy_object.rb
fog-0.5.2 lib/fog/storage/parsers/google/copy_object.rb
fog-0.5.1 lib/fog/storage/parsers/google/copy_object.rb
fog-0.5.0 lib/fog/storage/parsers/google/copy_object.rb
phpfog-fog-0.4.1.3 lib/fog/storage/parsers/google/copy_object.rb
phpfog-fog-0.4.1.2 lib/fog/storage/parsers/google/copy_object.rb
phpfog-fog-0.4.1.1 lib/fog/storage/parsers/google/copy_object.rb
phpfog-fog-0.4.1 lib/fog/storage/parsers/google/copy_object.rb
fog-0.4.1 lib/fog/storage/parsers/google/copy_object.rb
fog-0.4.0 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.34 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.33 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.32 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.31 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.30 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.29 lib/fog/google/parsers/storage/copy_object.rb