module Shrine::Plugins::Processing::InstanceMethods

  1. lib/shrine/plugins/processing.rb

Methods

Public Instance

  1. upload

Public Instance methods

upload(io, process: true, **options)
[show source]
   # File lib/shrine/plugins/processing.rb
21 def upload(io, process: true, **options)
22   if process
23     input = process(io, **options)
24   else
25     input = io
26   end
27 
28   super(input, **options)
29 end