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

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

Instance Method Summary collapse

Instance Method Details

#download_url(**options) ⇒ Object

Returns file URL on the download endpoint.


56
57
58
# File 'lib/shrine/plugins/download_endpoint.rb', line 56

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