Module: Shrine::Plugins::RestoreCachedData

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

Overview

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

Defined Under Namespace

Modules: AttacherMethods

Class Method Summary collapse

Class Method Details

.load_dependencies(uploader) ⇒ Object


7
8
9
# File 'lib/shrine/plugins/restore_cached_data.rb', line 7

def self.load_dependencies(uploader)
  uploader.plugin :refresh_metadata
end