class ProcessAttachmentWorker

app/workers/process_attachment_worker.rb

Public Instance Methods

perform(message_id) click to toggle source
# File lib/generators/mastiff/install/templates/sidekiq/process_attachment_worker.rb, line 5
def perform(message_id)
  msg = Mastiff::Email::Message.get(message_id)

  #Do Something here with the message
  #
end