Class: CurationConcerns::Workflow::DeactivateObject
- Inherits:
-
Object
- Object
- CurationConcerns::Workflow::DeactivateObject
- Defined in:
- app/services/curation_concerns/workflow/deactivate_object.rb
Overview
This is a built in function for workflow, setting the ‘#state` of the target to the Fedora ’inactive’ status URI
Class Method Summary collapse
Class Method Details
.call(target:) ⇒ Object
11 12 13 |
# File 'app/services/curation_concerns/workflow/deactivate_object.rb', line 11 def self.call(target:, **) target.state = Vocab::FedoraResourceStatus.inactive end |