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.3.28 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.27 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.26 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.25 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.24 lib/fog/google/parsers/storage/copy_object.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.23 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.22 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.21 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.20 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.19 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.18 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.17 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.16 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.15 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.14 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.13 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.12 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.11 lib/fog/google/parsers/storage/copy_object.rb
fog-0.3.10 lib/fog/google/parsers/storage/copy_object.rb