Class: Fog::Parsers::Storage::InternetArchive::CopyObject
- Inherits:
-
Base
- Object
- Base
- Fog::Parsers::Storage::InternetArchive::CopyObject
- Defined in:
- lib/fog/internet_archive/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/internet_archive/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 |