lib/stashify/file/google/cloud/storage.rb in stashify-google-cloud-storage-3.0.0 vs lib/stashify/file/google/cloud/storage.rb in stashify-google-cloud-storage-3.1.0
- old
+ new
@@ -24,9 +24,13 @@
end
def delete
@bucket.file(path).delete
end
+
+ def exists?
+ @bucket.file(path)
+ end
end
end
end
end
end