Class: Ddr::Managers::PermanentIdManager::AssignmentJob Private

Inherits:
Object
  • Object
show all
Defined in:
lib/ddr/managers/permanent_id_manager.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A job class for background execution

Class Method Summary collapse

Class Method Details

.perform(id) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



51
52
53
54
# File 'lib/ddr/managers/permanent_id_manager.rb', line 51

def self.perform(id)
  object = ActiveFedora::Base.find(id)
  object.permanent_id_manager.assign
end