Method: Mailboxer::Notification#is_trashed?
- Defined in:
- app/models/mailboxer/notification.rb
#is_trashed?(participant) ⇒ Boolean
Returns if the participant have trashed the Notification
126 127 128 129 |
# File 'app/models/mailboxer/notification.rb', line 126 def is_trashed?(participant) return false if participant.nil? receipt_for(participant).first.trashed end |