lib/tori/backend/s3.rb in tori-0.6.3 vs lib/tori/backend/s3.rb in tori-0.6.4
- old
+ new
@@ -144,9 +144,13 @@
get_object(key: filename, response_target: f.path)
f
end
end
+ def otherwise(backend)
+ Chain.new(self, backend)
+ end
+
def get_object(opts={})
client.get_object bucket: @bucket, **opts
end
def head_object(opts={})