Module: Shrine::Plugins::Column

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

Overview

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

Defined Under Namespace

Modules: AttacherClassMethods, AttacherMethods Classes: JsonSerializer

Class Method Summary collapse

Class Method Details

.configure(uploader, **opts) ⇒ Object


9
10
11
12
# File 'lib/shrine/plugins/column.rb', line 9

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