Sha256: 2cbaf6d487338d09ea8c924ef48f33575ed4b6bb9b9d26b17f389131eabd048d

Contents?: true

Size: 398 Bytes

Versions: 50

Compression:

Stored size: 398 Bytes

Contents

module Fog
  module Parsers
    module AWS
      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

50 entries across 50 versions & 3 rubygems

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