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