lib/ddr/models/fixity_checkable.rb in ddr-models-2.11.0 vs lib/ddr/models/fixity_checkable.rb in ddr-models-3.0.0.alpha.1

- old
+ new

@@ -1,8 +1,12 @@ module Ddr module Models module FixityCheckable + def datastreams_to_validate + datastreams.select { |dsid, ds| ds.has_content? } + end + def fixity_checks Ddr::Events::FixityCheckEvent.for_object(self) end # Returns a Ddr::Actions::FixityCheck::Result for the object