Sha256: 2a3fb2a0e4987333f919cad01354f1d933c51e599bcafe38190dfd73453f9ebf
Contents?: true
Size: 434 Bytes
Versions: 10
Compression:
Stored size: 434 Bytes
Contents
module Hyrax class ImportUrlSuccessService < MessageUserService def call FileSetAttachedEventJob.perform_later(file_set, user) super end def message "The file (#{file_set.label}) was successfully imported and attached to #{curation_concern.title.first}." end def subject 'File Import' end private def curation_concern file_set.in_works.first end end end
Version data entries
10 entries across 10 versions & 2 rubygems