Class: Tartarus::Sidekiq::ScheduleArchivingModelJob

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
lib/tartarus/sidekiq/schedule_archiving_model_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(archivable_item_name) ⇒ Object



7
8
9
# File 'lib/tartarus/sidekiq/schedule_archiving_model_job.rb', line 7

def perform(archivable_item_name)
  Tartarus::ScheduleArchivingModel.new.schedule(archivable_item_name)
end