instance method
file_for
Ruby on Rails 6.1.7.10
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 116
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 116
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service::GCSService