what's this? is this password reset???

This commit is contained in:
Kyle Drake 2013-07-11 23:33:10 -04:00
parent 72947b6606
commit 1e1051fd36
8 changed files with 104 additions and 2 deletions

11
workers/email_worker.rb Normal file
View file

@ -0,0 +1,11 @@
class EmailWorker
include Sidekiq::Worker
def perform(args={})
Mail.deliver do
to args[:to]
subject args[:subject]
body args[:body]
end
end
end