Class: IngestLocalFileJob

Inherits:
Hyrax::ApplicationJob show all
Defined in:
app/jobs/ingest_local_file_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(file_set, path, user) ⇒ Object

Parameters:



8
9
10
11
12
13
14
15
# File 'app/jobs/ingest_local_file_job.rb', line 8

def perform(file_set, path, user)
  case file_set
  when ActiveFedora::Base
    __perform(file_set, path, user, use_valkyrie: false)
  else
    __perform(file_set, path, user, use_valkyrie: true)
  end
end