class HqTrivia::Model::Question
- HqTrivia::Model::Question
- Reference
- Object
Overview
Sent from the server when the client receives a new question.
Included Modules
Defined in:
hqtrivia/model/question.crConstructors
Instance Method Summary
- #answers : Array(Answer)
- #answers=(_answers : Array(Answer))
- #ask_time : Time
- #ask_time=(_ask_time : Time)
- #c : Int32
- #c=(_c : Int32)
- #category : String
- #category=(_category : String)
- #question : String
- #question=(_question : String)
- #question_count : Int32
- #question_count=(_question_count : Int32)
- #question_id : Int32
- #question_id=(_question_id : Int32)
- #question_media : Union(QuestionMedia, Nil)
- #question_media=(_question_media : Union(QuestionMedia, Nil))
- #question_number : Int32
- #question_number=(_question_number : Int32)
- #sent : Time
- #sent=(_sent : Time)
- #time_left_ms : Int32
- #time_left_ms=(_time_left_ms : Int32)
- #to_json(json : JSON::Builder)
- #total_time_ms : Int32
- #total_time_ms=(_total_time_ms : Int32)
- #ts : Time
- #ts=(_ts : Time)
- #type : String
- #type=(_type : String)