module Shrine::Plugins::RackResponse::FileMethods

  1. lib/shrine/plugins/rack_response.rb

Methods

Public Instance

  1. to_rack_response

Public Instance methods

to_rack_response(**options)

Returns a Rack response triple for the uploaded file.

[show source]
   # File lib/shrine/plugins/rack_response.rb
13 def to_rack_response(**options)
14   FileResponse.new(self).call(**options)
15 end