Class: Totoro::MessageResender

Inherits:
Object
  • Object
show all
Includes:
Delayed::RecurringJob
Defined in:
lib/totoro/message_resender.rb

Instance Method Summary collapse

Instance Method Details

#performObject



10
11
12
13
14
15
# File 'lib/totoro/message_resender.rb', line 10

def perform
  Totoro::ResendService.new.resend_all_messages
rescue StandardError => error
  Rails.logger.error error.message
  STDOUT.flush
end