Sha256: ef70329b3565c16aa891283fd27ec10800ed7139d3138ecedaba3c4904ae852f
Contents?: true
Size: 499 Bytes
Versions: 56
Compression:
Stored size: 499 Bytes
Contents
module Hyrax module Workflow module 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 `Hyrax::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
56 entries across 56 versions & 1 rubygems