Public Instance methods
refresh_metadata!(**options)
[show source]
# File lib/shrine/plugins/refresh_metadata.rb 15 def refresh_metadata!(**options) 16 return open { refresh_metadata!(**options) } unless opened? 17 18 refreshed_metadata = uploader.send(:get_metadata, self, metadata: true, **options) 19 20 @metadata = @metadata.merge(refreshed_metadata) 21 end