mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 04:34:13 -06:00
16 lines
297 B
Ruby
16 lines
297 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class ReviewableScoreExplanationSerializer < ApplicationSerializer
|
||
|
attributes(
|
||
|
:user_id,
|
||
|
:type_bonus,
|
||
|
:trust_level_bonus,
|
||
|
:take_action_bonus,
|
||
|
:flags_agreed,
|
||
|
:flags_disagreed,
|
||
|
:flags_ignored,
|
||
|
:user_accuracy_bonus,
|
||
|
:score
|
||
|
)
|
||
|
end
|