Class: QuizDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- QuizDrop
- Defined in:
- app/drops/quiz_drop.rb
Overview
Quiz drop.
Meta-drop bound to a course lesson to represent a quiz as a stand-alone concept for API clarity.
Instance Method Summary collapse
- #answer_path ⇒ String
- #answer_url ⇒ String
- #answered_questions_count ⇒ Integer
- #begin_path ⇒ String
- #begin_url ⇒ String
- #complete_path ⇒ String
- #complete_url ⇒ String
- #completed? ⇒ Boolean
- #continue_path ⇒ String
- #continue_url ⇒ String
- #correct_questions_count ⇒ Integer
- #current_question ⇒ QuizQuestionDrop
- #disable_content_access? ⇒ Boolean
- #id ⇒ Integer
- #incorrect_questions_count ⇒ Integer
- #questions_count ⇒ Integer
- #retake_path ⇒ String
- #retake_url ⇒ String
- #show_correct_answers? ⇒ Boolean
- #started? ⇒ Boolean
-
#time_left ⇒ Integer
Returns time left in minutes to complete quiz when time limit is applied to the quiz.
- #time_limit ⇒ Integer
- #timed? ⇒ Boolean
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#answer_path ⇒ String
#answer_url ⇒ String
#answered_questions_count ⇒ Integer
#begin_path ⇒ String
#begin_url ⇒ String
#complete_path ⇒ String
#complete_url ⇒ String
#completed? ⇒ Boolean
#continue_path ⇒ String
#continue_url ⇒ String
#correct_questions_count ⇒ Integer
#current_question ⇒ QuizQuestionDrop
#disable_content_access? ⇒ Boolean
#id ⇒ Integer
#incorrect_questions_count ⇒ Integer
#questions_count ⇒ Integer
#retake_path ⇒ String
#retake_url ⇒ String
#show_correct_answers? ⇒ Boolean
#started? ⇒ Boolean
#time_left ⇒ Integer
Returns time left in minutes to complete quiz when time limit is applied to the quiz