instance method
file_for
Ruby on Rails 8.1.2
Since v5.2.8.1 PrivateSignature
file_for(key, skip_lookup: true)
No documentation comment.
Parameters
-
keyreq -
skip_lookupkey = true
Source
# File activestorage/lib/active_storage/service/gcs_service.rb, line 187
def file_for(key, skip_lookup: true)
bucket.file(key, skip_lookup: skip_lookup)
end
Defined in activestorage/lib/active_storage/service/gcs_service.rb line 187
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service::GCSService