instance method
public_url
Ruby on Rails 7.1.6
Since v6.1.7.10 PrivateSignature
public_url(key, **)
No documentation comment.
Parameters
-
keyreq -
kwargskeyrest
Source
# File activestorage/lib/active_storage/service/gcs_service.rb, line 165
def public_url(key, **)
file_for(key).public_url
end
Defined in activestorage/lib/active_storage/service/gcs_service.rb line 165
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service::GCSService