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_path ⇒ String

Returns:

  • (String)

#answer_url ⇒ String

Returns:

  • (String)

#answered_questions_count ⇒ Integer

Returns:

  • (Integer)

#begin_path ⇒ String

Returns:

  • (String)

#begin_url ⇒ String

Returns:

  • (String)

#complete_path ⇒ String

Returns:

  • (String)

#complete_url ⇒ String

Returns:

  • (String)

#completed? ⇒ Boolean

Returns:

  • (Boolean)

#continue_path ⇒ String

Returns:

  • (String)

#continue_url ⇒ String

Returns:

  • (String)

#correct_questions_count ⇒ Integer

Returns:

  • (Integer)

#current_question ⇒ QuizQuestionDrop

Returns:

#disable_content_access? ⇒ Boolean

Returns:

  • (Boolean)

#id ⇒ Integer

Returns:

  • (Integer)

#incorrect_questions_count ⇒ Integer

Returns:

  • (Integer)

#questions_count ⇒ Integer

Returns:

  • (Integer)

#retake_path ⇒ String

Returns:

  • (String)

#retake_url ⇒ String

Returns:

  • (String)

#show_correct_answers? ⇒ Boolean

Returns:

  • (Boolean)

#started? ⇒ Boolean

Returns:

  • (Boolean)

#time_left ⇒ Integer

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

Returns:

  • (Integer)

#time_limit ⇒ Integer

Returns:

  • (Integer)

#timed? ⇒ Boolean

Returns:

  • (Boolean)