lib/duracloud/chunked_content.rb in duracloud-client-0.5.0 vs lib/duracloud/chunked_content.rb in duracloud-client-0.6.0
- old
+ new
@@ -15,10 +15,14 @@
load_properties
end
@manifest
end
+ def chunked?
+ true
+ end
+
private
def do_load_properties
if md5
if md5 != manifest.source.md5
@@ -27,9 +31,10 @@
else
self.md5 = manifest.source.md5
end
self.properties = manifest.properties.dup
self.content_type = manifest.source.content_type
+ self.size = manifest.source.size
end
end
end