module Shrine::Plugins::RackResponse::FileMethods

Public Instance Methods

to_rack_response(**options) click to toggle source

Returns a Rack response triple for the uploaded file.

# File lib/shrine/plugins/rack_response.rb, line 13
def to_rack_response(**options)
  FileResponse.new(self).call(**options)
end