Sha256: 21631f10f9ea1ca110fc3970a55f3a26065d6f68e7c85d23a47635bd09b3b58a
Contents?: true
Size: 267 Bytes
Versions: 3
Compression:
Stored size: 267 Bytes
Contents
module Rapidfire class QuestionResultSerializer < ActiveModel::Serializer attributes :question_type, :question_text, :results def question_type object.question.type end def question_text object.question.question_text end end end
Version data entries
3 entries across 3 versions & 1 rubygems