This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
class SendAskNoticeMail
|
|
@queue = :mail
|
|
|
|
def self.perform(ask_admin_id, ask_question_id)
|
|
ask_admin = AskAdmin.find(ask_admin_id)
|
|
ask_question = AskQuestion.find(ask_question_id)
|
|
AskMailer.notice(ask_admin, ask_question).deliver
|
|
end
|
|
|
|
end
|