method
exist?
rails latest stable - Class:
ActiveStorage::Service::S3Service
exist?(key)public
No documentation available.
# File activestorage/lib/active_storage/service/s3_service.rb, line 74
def exist?(key)
instrument :exist, key: key do |payload|
answer = object_for(key).exists?
payload[:exist] = answer
answer
end
end