7 8 9
# File 'lib/hyrax/ingest/has_report.rb', line 7 def report @report ||= Hyrax::Ingest::Reporting::Report.new end
Raises:
11 12 13 14
# File 'lib/hyrax/ingest/has_report.rb', line 11 def report=(report) raise Hyrax::Ingest::Errors::InvalidIngestReport unless report.is_a? Hyrax::Ingest::Reporting::Report @report = report end