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

Inherits:
Base
  • Object
show all
Defined in:
lib/fog/google/parsers/storage/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/google/parsers/storage/copy_object.rb', line 6

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