Class: CourseModuleDrop

Inherits:
Liquid::Simplero::Drop show all
Includes:
ShareableDropConcerns
Defined in:
app/drops/course_module_drop.rb

Overview

CourseLessonDrop represents a course module. It's available as the top-level course_module on a course lesson page, as a reference on CourseDrop, or as a collection on CourseModuleDrop.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#color ⇒ String

Returns:

  • (String)

#completed_lessons_count ⇒ Integer

Returns:

  • (Integer)

#course ⇒ CourseDrop

Returns:

#description ⇒ String

Returns:

  • (String)

#has_thumbnails? ⇒ Boolean

Returns:

  • (Boolean)

#id ⇒ Integer

Returns:

  • (Integer)

#lessons ⇒ Array<CourseLessonDrop>

Returns:

#lessons_count ⇒ Integer

Returns:

  • (Integer)

#path ⇒ String

Returns:

  • (String)

#position ⇒ Integer

Returns:

  • (Integer)

#title ⇒ String

Returns:

  • (String)

#url ⇒ String

Returns:

  • (String)