Class: Hydra::Works::AddExternalFileToFileSet::VersioningUpdater

Inherits:
Updater
  • Object
show all
Defined in:
lib/hydra/works/services/add_external_file_to_file_set.rb

Instance Attribute Summary

Attributes inherited from Updater

#current_file, #file_set

Instance Method Summary collapse

Methods inherited from Updater

#initialize

Constructor Details

This class inherits a constructor from Hydra::Works::AddExternalFileToFileSet::Updater

Instance Method Details

#updateObject



103
104
105
# File 'lib/hydra/works/services/add_external_file_to_file_set.rb', line 103

def update(*)
  super && current_file.create_version
end