module Shrine::Plugins::UploadEndpoint

  1. lib/shrine/plugins/upload_endpoint.rb

Documentation can be found on shrinerb.com/docs/plugins/upload_endpoint

Methods

Public Class

  1. configure
  2. load_dependencies

Public Class methods

configure(uploader, **opts)
[show source]
   # File lib/shrine/plugins/upload_endpoint.rb
16 def self.configure(uploader, **opts)
17   uploader.opts[:upload_endpoint] ||= {}
18   uploader.opts[:upload_endpoint].merge!(opts)
19 end
load_dependencies(uploader, **)
[show source]
   # File lib/shrine/plugins/upload_endpoint.rb
12 def self.load_dependencies(uploader, **)
13   uploader.plugin :rack_file
14 end