class Shrine::RackFile
This is used to wrap the Rack hash into an IO-like object which Shrine can upload.
Attributes
Public Class Methods
Source
# File lib/shrine/plugins/rack_file.rb 55 def initialize(hash) 56 @tempfile = hash[:tempfile] 57 @original_filename = hash[:filename] 58 @content_type = hash[:type] 59 end