Class: GotFixed::NotifyUserOfClosedIssueJob

Inherits:
Object
  • Object
show all
Defined in:
app/jobs/got_fixed/notify_user_of_closed_issue_job.rb

Class Method Summary collapse

Class Method Details

.perform(user_id, issue_id) ⇒ Object



5
6
7
8
9
# File 'app/jobs/got_fixed/notify_user_of_closed_issue_job.rb', line 5

def self.perform(user_id, issue_id)
  user = User.find(user_id)
  issue = Issue.find(issue_id)
  UserMailer.issue_got_fixed_email(user, issue).deliver
end