instance method
delete
Ruby on Rails 7.1.6
Since v5.2.8.1Signature
delete(key)
No documentation comment.
Parameters
-
keyreq
Source
# File activestorage/lib/active_storage/service/s3_service.rb, line 62
def delete(key)
instrument :delete, key: key do
object_for(key).delete
end
end
Defined in activestorage/lib/active_storage/service/s3_service.rb line 62
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service::S3Service