Module: Shrine::Plugins::DownloadEndpoint::FileMethods

Defined in:
lib/shrine/plugins/download_endpoint.rb

Instance Method Summary collapse

Instance Method Details

#download_urlObject

Returns file URL on the download endpoint.



59
60
61
# File 'lib/shrine/plugins/download_endpoint.rb', line 59

def download_url(**)
  FileUrl.new(self).call(**)
end