| Class | Mailing |
| In: |
app/models/mailing.rb
|
| Parent: | ActiveRecord::Base |
# File app/models/mailing.rb, line 24
24: def send_feedback
25: self.email ||= current_user.email
26: self.save!
27: Mailer.deliver_feedback(self)
28: update_attribute :sent, true
29: end
# File app/models/mailing.rb, line 14
14: def send_item
15: Mailer.deliver_item(self)
16: update_attribute :sent, true
17: end
# File app/models/mailing.rb, line 31
31: def send_reset_password(activation_code)
32: Mailer.deliver_reset_password(self, activation_code)
33: update_attribute :sent, true
34: end