module Shrine::Plugins::Column::AttacherClassMethods
Public Instance Methods
Source
# File lib/shrine/plugins/column.rb 19 def from_column(data, **) 20 attacher = new(**) 21 attacher.load_column(data) 22 attacher 23 end
Initializes the attacher from a data hash/string expected to come from a database record column.
Attacher.from_column('{"id":"...","storage":"...","metadata":{...}}')