Class: Collavre::CommentSnapshot
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- ApplicationRecord
- Collavre::CommentSnapshot
- Defined in:
- app/models/collavre/comment_snapshot.rb
Instance Method Summary collapse
Instance Method Details
#comment_count ⇒ Object
21 22 23 |
# File 'app/models/collavre/comment_snapshot.rb', line 21 def comment_count comments_data.size end |
#restorable? ⇒ Boolean
17 18 19 |
# File 'app/models/collavre/comment_snapshot.rb', line 17 def restorable? restored_at.nil? end |