module Hyrax::Ingest::HasReport

Public Instance Methods

report() click to toggle source
# File lib/hyrax/ingest/has_report.rb, line 7
def report
  @report ||= Hyrax::Ingest::Reporting::Report.new
end
report=(report) click to toggle source
# 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