Sha256: d713980dc8fc1fb9b0cd892baec582bae2ca4368362d2bdda2c267f60efc1ff7
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
module CurationConcerns module Workflow # This is a built in function for workflow, so that a workflow action can be created that # deactivates an object. class DeactivateObject def self.call(entity:, **) entity.proxy_for.state = Vocab::FedoraResourceStatus.inactive end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
curation_concerns-1.7.0.beta1 | app/services/curation_concerns/workflow/deactivate_object.rb |