Module: Shrine::Plugins::PresignEndpoint

Defined in:
lib/shrine/plugins/presign_endpoint.rb

Overview

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

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.configure(uploader, **opts) ⇒ Object


11
12
13
14
# File 'lib/shrine/plugins/presign_endpoint.rb', line 11

def self.configure(uploader, **opts)
  uploader.opts[:presign_endpoint] ||= {}
  uploader.opts[:presign_endpoint].merge!(opts)
end