Class: GotFixed::User

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/got_fixed/user.rb

Instance Method Summary collapse

Instance Method Details

#send_notification(issue) ⇒ Object



19
20
21
22
23
# File 'app/models/got_fixed/user.rb', line 19

def send_notification(issue)
  # TODO(ssaunier): async send (SMTP is slow !!)
  mail = UserMailer.issue_got_fixed_email(self, issue)
  mail.deliver
end