Method: Hydra::Works::AddExternalFileToFileSet::Updater#initialize

Defined in:
lib/hydra/works/services/add_external_file_to_file_set.rb

#initialize(file_set, type, update_existing) ⇒ Updater

Returns a new instance of Updater.



30
31
32
33
# File 'lib/hydra/works/services/add_external_file_to_file_set.rb', line 30

def initialize(file_set, type, update_existing)
  @file_set = file_set
  @current_file = find_or_create_file(type, update_existing)
end