1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws,google|storage] let parsers convert time

closes #125
This commit is contained in:
geemus 2010-12-30 12:54:22 -08:00
parent ca1972e45c
commit ab0e7e08cb
2 changed files with 4 additions and 4 deletions

View file

@ -15,12 +15,12 @@ module Fog
attribute :cache_control, :aliases => 'Cache-Control'
attribute :content_disposition, :aliases => 'Content-Disposition'
attribute :content_encoding, :aliases => 'Content-Encoding'
attribute :content_length, :aliases => ['Content-Length', 'Size'], :type => :integer
attribute :content_length, :aliases => ['Content-Length', 'Size']
attribute :content_md5, :aliases => 'Content-MD5'
attribute :content_type, :aliases => 'Content-Type'
attribute :etag, :aliases => ['Etag', 'ETag']
attribute :expires, :aliases => 'Expires'
attribute :last_modified, :aliases => ['Last-Modified', 'LastModified'], :type => :time
attribute :last_modified, :aliases => ['Last-Modified', 'LastModified']
attribute :owner, :aliases => 'Owner'
attribute :storage_class, :aliases => ['x-amz-storage-class', 'StorageClass']

View file

@ -14,12 +14,12 @@ module Fog
attribute :cache_control, :aliases => 'Cache-Control'
attribute :content_disposition, :aliases => 'Content-Disposition'
attribute :content_encoding, :aliases => 'Content-Encoding'
attribute :content_length, :aliases => ['Content-Length', 'Size'], :type => :integer
attribute :content_length, :aliases => ['Content-Length', 'Size']
attribute :content_md5, :aliases => 'Content-MD5'
attribute :content_type, :aliases => 'Content-Type'
attribute :etag, :aliases => ['Etag', 'ETag']
attribute :expires, :aliases => 'Expires'
attribute :last_modified, :aliases => ['Last-Modified', 'LastModified'], :type => :time
attribute :last_modified, :aliases => ['Last-Modified', 'LastModified']
attribute :owner, :aliases => 'Owner'
attribute :storage_class, :aliases => ['x-goog-storage-class', 'StorageClass']