Class: SpreeCmCommissioner::Integrations::CleanupSyncSessionsJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- ApplicationJob
- SpreeCmCommissioner::Integrations::CleanupSyncSessionsJob
- Defined in:
- app/jobs/spree_cm_commissioner/integrations/cleanup_sync_sessions_job.rb
Instance Method Summary collapse
Methods included from ApplicationJobDecorator
handle_deserialization_error, prepended
Instance Method Details
#perform(cutoff_days = SpreeCmCommissioner::Integrations::CleanupSyncSessions::DEFAULT_CUTOFF_DAYS) ⇒ Object
6 7 8 |
# File 'app/jobs/spree_cm_commissioner/integrations/cleanup_sync_sessions_job.rb', line 6 def perform(cutoff_days = SpreeCmCommissioner::Integrations::CleanupSyncSessions::DEFAULT_CUTOFF_DAYS) SpreeCmCommissioner::Integrations::CleanupSyncSessions.new.call(cutoff_days: cutoff_days) end |