Class: Fog::Parsers::Storage::Google::CopyObject

Inherits:
Base
  • Object
show all
Defined in:
lib/fog/parsers/storage/google/copy_object.rb

Instance Method Summary collapse

Instance Method Details

#end_element(name) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/fog/parsers/storage/google/copy_object.rb', line 6

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