Class: Spina::Pro::Inbox
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Spina::Pro::Inbox
- Defined in:
- app/models/spina/pro/inbox.rb
Instance Method Summary collapse
Instance Method Details
#forwarding? ⇒ Boolean
15 16 17 |
# File 'app/models/spina/pro/inbox.rb', line 15 def forwarding? forward_email.present? end |
#update_unread_count ⇒ Object
11 12 13 |
# File 'app/models/spina/pro/inbox.rb', line 11 def update_unread_count update(unread_count: .unread.not_archived.ham.count) end |