Module: Shrine::Plugins::RefreshMetadata::AttacherMethods

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

Instance Method Summary collapse

Instance Method Details

#refresh_metadata!(**options) ⇒ Object


8
9
10
11
# File 'lib/shrine/plugins/refresh_metadata.rb', line 8

def refresh_metadata!(**options)
  file!.refresh_metadata!(**context, **options)
  set(file) # trigger model write
end