Created
March 21, 2020 09:36
-
-
Save kumar1202/024b7cb2ea8feec697fc425e0dfe32c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SendEmailJob < ActiveJob::Base | |
queue_as :default | |
def perform(body, email) | |
Mailer.send(body, email) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment