Class: Decidim::Comments::CommentVote

Inherits:
ApplicationRecord show all
Includes:
DataPortability
Defined in:
decidim-comments/app/models/decidim/comments/comment_vote.rb

Overview

A comment can include user votes. A user should be able to upVote, votes with weight 1 and downVote, votes with weight -1.

Class Method Summary collapse

Class Method Details

.export_serializerObject


17
18
19
# File 'decidim-comments/app/models/decidim/comments/comment_vote.rb', line 17

def self.export_serializer
  Decidim::Comments::CommentVoteSerializer
end