UNCOV
1
|
class CourseSurveyResponseMap < SurveyResponseMap |
× |
UNCOV
2
|
belongs_to :survey_deployment, foreign_key: 'reviewee_id' |
× |
UNCOV
3
|
belongs_to :course, foreign_key: 'reviewed_object_id' |
× |
UNCOV
4
|
belongs_to :reviewer, class_name: 'Participant', foreign_key: 'reviewer_id' |
× |
5 |
|
|
UNCOV
6
|
def questionnaire |
× |
UNCOV
7
|
Questionnaire.find_by(id: survey_deployment.questionnaire_id) |
× |
UNCOV
8
|
end
|
× |
9 |
|
|
UNCOV
10
|
def contributor |
× |
UNCOV
11
|
nil
|
× |
UNCOV
12
|
end
|
× |
13 |
|
|
UNCOV
14
|
def survey_parent |
× |
UNCOV
15
|
course |
× |
UNCOV
16
|
end
|
× |
17 |
|
|
UNCOV
18
|
def get_title |
× |
UNCOV
19
|
'Course Survey'
|
× |
UNCOV
20
|
end
|
× |
UNCOV
21
|
end
|
× |