Module: Hyrax::Workflow::ActivateObject
- Defined in:
- app/services/hyrax/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 Fedoraactive
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
13 14 15 |
# File 'app/services/hyrax/workflow/activate_object.rb', line 13 def self.call(target:, **) target.state = Hyrax::ResourceStatus::ACTIVE end |