method

url

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Service
url(key, **options) public

Returns the URL for the file at the key. This returns a permanent URL for public files, and returns a short-lived URL for private files. For private files you can provide the disposition (:inline or :attachment), filename, and content_type that you wish the file to be served with on request. Additionally, you can also provide the amount of seconds the URL will be valid for, specified in expires_in.

Show source
Register or log in to add new notes.