Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Add Hydrus model shims
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jan 18, 2017
1 parent 0bbc281 commit b4553f1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dor-services.rb
Expand Up @@ -155,4 +155,6 @@ module Workflow
end

eager_load!

require 'dor/utils/hydrus_shims'
end
11 changes: 11 additions & 0 deletions 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

0 comments on commit b4553f1

Please sign in to comment.