Skip to content

Commit

Permalink
better top level comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartin-sul committed Apr 17, 2018
1 parent 13dd092 commit f08c740
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/services/moab_validation_handler.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
##
# mixin with methods for running StorageObjectValidator
module MoabValidationHandler
# expects the class that mixes this in to have the following methods:
# #druid
# #storage_location
# expects the class that includes this module to have the following methods:
# #druid - String (the "bare" druid, e.g. 'ab123cd4567', sans 'druid:' prefix)
# #storage_location - String - the root directory holding the druid tree (the storage root path)
# #results - AuditResults - the instance the including class is using to track findings of interest
# #preserved_copy - PreservedCopy - instance of the pres copy being validated

def object_dir
@object_dir ||= "#{storage_location}/#{DruidTools::Druid.new(druid).tree.join('/')}"
Expand Down

0 comments on commit f08c740

Please sign in to comment.