Class: Notifications::AlsoCommented
- Inherits:
-
Notification
- Object
- Notification
- Notifications::AlsoCommented
- Defined in:
- app/models/notifications/also_commented.rb
Instance Method Summary collapse
- #deleted_translation_key ⇒ Object
- #linked_object ⇒ Object
- #mail_job ⇒ Object
- #popup_translation_key ⇒ Object
Instance Method Details
#deleted_translation_key ⇒ Object
10 11 12 |
# File 'app/models/notifications/also_commented.rb', line 10 def deleted_translation_key 'notifications.also_commented_deleted' end |
#linked_object ⇒ Object
14 15 16 |
# File 'app/models/notifications/also_commented.rb', line 14 def linked_object Post.where(:id => self.target_id).first end |
#mail_job ⇒ Object
2 3 4 |
# File 'app/models/notifications/also_commented.rb', line 2 def mail_job Workers::Mail::AlsoCommented end |
#popup_translation_key ⇒ Object
6 7 8 |
# File 'app/models/notifications/also_commented.rb', line 6 def popup_translation_key 'notifications.also_commented' end |