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