Class: Tartarus::Sidekiq::ArchiveModelWithTenantJob
- Inherits:
-
Object
- Object
- Tartarus::Sidekiq::ArchiveModelWithTenantJob
- Includes:
- Sidekiq::Worker
- Defined in:
- lib/tartarus/sidekiq/archive_model_with_tenant_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(archivable_item_name, tenant_id) ⇒ Object
7 8 9 |
# File 'lib/tartarus/sidekiq/archive_model_with_tenant_job.rb', line 7 def perform(archivable_item_name, tenant_id) Tartarus::ArchiveModelWithTenant.new.archive(archivable_item_name, tenant_id) end |