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