Sha256: 1b7fd356cb007565931f91e7c7d38f9a27d924d20309ff95a808d253775b8226
Contents?: true
Size: 520 Bytes
Versions: 12
Compression:
Stored size: 520 Bytes
Contents
module CurationConcerns module Workflow class ActivateObject ## # This is a built in function for workflow, setting the `#state` # of the target to the Fedora 'active' status URI # # @param target [#state] an instance of a model that includes `CurationConcerns::Suppressible` # # @return [RDF::Vocabulary::Term] the Fedora Resource Status 'active' term def self.call(target:, **) target.state = Vocab::FedoraResourceStatus.active end end end end
Version data entries
12 entries across 12 versions & 1 rubygems