Class: Hyrax::Fixity::ActiveFedoraFixityService
- Inherits:
-
ActiveFedora::FixityService
- Object
- ActiveFedora::FixityService
- Hyrax::Fixity::ActiveFedoraFixityService
- Defined in:
- app/services/hyrax/fixity/active_fedora_fixity_service.rb
Overview
Wraps ‘ActiveFedora::FixityService` to avoid leaking Fedora-specific errors.
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
12 13 14 15 16 17 |
# File 'app/services/hyrax/fixity/active_fedora_fixity_service.rb', line 12 def response super rescue Ldp::NotFound raise MissingContentError, "Tried to check fixity of #{@target}, but it was not found." end |