class Backend::Api::Schema::Vote
- Backend::Api::Schema::Vote
- GraphQL::BaseObject
- Reference
- Object
Overview
Vote model
Included Modules
- Backend::Api::Schema::Helpers
- GraphQL::ObjectType
Defined in:
backend/api/schema/vote.crConstructors
Instance Method Summary
-
#id : Int32
Vote's ID
-
#student(context : Context) : Student
Student who voted
-
#teacher_votes(context : Context) : Array(TeacherVote)
Teacher votes for student