Class: SpreeCmCommissioner::WaitingRoomLatestSystemMetadataPullerJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/spree_cm_commissioner/waiting_room_latest_system_metadata_puller_job.rb

Instance Method Summary collapse

Methods included from ApplicationJobDecorator

handle_deserialization_error, prepended

Instance Method Details

#performObject



8
9
10
11
12
# File 'app/jobs/spree_cm_commissioner/waiting_room_latest_system_metadata_puller_job.rb', line 8

def perform
  return if ENV['WAITING_ROOM_DISABLED'] == 'yes'

  SpreeCmCommissioner::WaitingRoomLatestSystemMetadataPuller.call
end