class ActiveStorage::Blob

def url(expires_in: ActiveStorage.service_urls_expire_in, disposition: :inline, filename: nil, **options)

URL behind a redirect also allows you to change services without updating all URLs.
the URL should only be exposed as a redirect from a stable, possibly authenticated URL. Hiding the
short-lived URL for private files. Private files are signed, and not for public use. Instead,
Returns the URL of the blob on the service. This returns a permanent URL for public files, and returns a
def url(expires_in: ActiveStorage.service_urls_expire_in, disposition: :inline, filename: nil, **options)
  service.url key, expires_in: expires_in, filename: ActiveStorage::Filename.wrap(filename || self.filename),
    content_type: content_type_for_serving, disposition: forced_disposition_for_serving || disposition, **options
end