Class: Hyrax::ImportUrlFailureService

Inherits:
AbstractMessageService show all
Defined in:
app/services/hyrax/import_url_failure_service.rb

Instance Attribute Summary

Attributes inherited from AbstractMessageService

#file_set, #user

Instance Method Summary collapse

Methods inherited from AbstractMessageService

#call, #initialize

Constructor Details

This class inherits a constructor from Hyrax::AbstractMessageService

Instance Method Details

#messageObject



3
4
5
# File 'app/services/hyrax/import_url_failure_service.rb', line 3

def message
  file_set.errors.full_messages.join(', ')
end

#subjectObject



7
8
9
# File 'app/services/hyrax/import_url_failure_service.rb', line 7

def subject
  'File Import Error'
end