Class: QuizDrop

Inherits:
Liquid::Simplero::Drop show all
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

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#answer_pathString

Returns:

  • (String)

#answer_urlString

Returns:

  • (String)

#answered_questions_countInteger

Returns:

  • (Integer)

#begin_pathString

Returns:

  • (String)

#begin_urlString

Returns:

  • (String)

#complete_pathString

Returns:

  • (String)

#complete_urlString

Returns:

  • (String)

#completed?Boolean

Returns:

  • (Boolean)

#continue_pathString

Returns:

  • (String)

#continue_urlString

Returns:

  • (String)

#correct_questions_countInteger

Returns:

  • (Integer)

#current_questionQuizQuestionDrop

Returns:

#disable_content_access?Boolean

Returns:

  • (Boolean)

#idInteger

Returns:

  • (Integer)

#incorrect_questions_countInteger

Returns:

  • (Integer)

#questions_countInteger

Returns:

  • (Integer)

#retake_pathString

Returns:

  • (String)

#retake_urlString

Returns:

  • (String)

#show_correct_answers?Boolean

Returns:

  • (Boolean)

#started?Boolean

Returns:

  • (Boolean)

#time_leftInteger

Returns time left in minutes to complete quiz when time limit is applied to the quiz

Returns:

  • (Integer)

#time_limitInteger

Returns:

  • (Integer)

#timed?Boolean

Returns:

  • (Boolean)