diff --git a/lib/dor-services.rb b/lib/dor-services.rb index 65afa0bc..21d85cb8 100644 --- a/lib/dor-services.rb +++ b/lib/dor-services.rb @@ -155,4 +155,6 @@ module Workflow end eager_load! + + require 'dor/utils/hydrus_shims' end diff --git a/lib/dor/utils/hydrus_shims.rb b/lib/dor/utils/hydrus_shims.rb new file mode 100644 index 00000000..9b3a3911 --- /dev/null +++ b/lib/dor/utils/hydrus_shims.rb @@ -0,0 +1,11 @@ +module Hydrus + # These shims allow DOR to interact seamlessly with Hydrus' custom models + class Item < Dor::Item + end + + class Collection < Dor::Collection + end + + class AdminPolicyObject < Dor::AdminPolicyObject + end +end