Method: Mailboxer::Notification#mark_as_deleted
- Defined in:
- app/models/mailboxer/notification.rb
#mark_as_deleted(participant) ⇒ Object
Mark the notification as deleted for one of the participant
162 163 164 165 |
# File 'app/models/mailboxer/notification.rb', line 162 def mark_as_deleted(participant) return if participant.nil? return receipt_for(participant).mark_as_deleted end |