Class: CourseLessonDrop

Inherits:
Liquid::Simplero::Drop show all
Includes:
CommentableDropConcerns, NotificationSettingProvidingDropConcern, ReactableDropConcerns, ShareableDropConcerns
Defined in:
app/drops/course_lesson_drop.rb

Overview

CourseLessonDrop represents a course lesson. It's available as the top-level course_lesson on a course lesson page, or as collections on CourseDrop and CourseModuleDrop.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#accessible?Boolean

Returns:

  • (Boolean)

#accessible_or_visible_to_unauthorized?Boolean

Returns:

  • (Boolean)

#allow_comment_attachments?Boolean

Returns:

  • (Boolean)

#allow_comments?Boolean

Returns:

  • (Boolean)

#allow_private_note?Boolean

Returns:

  • (Boolean)

#assetAssetDrop

Returns:

#assetsArray<AssetDrop>

Deprecated.
  • use attachments now

Returns:

#attachmentsArray<AttachmentDrop>

Returns:

#authorUserDrop

Returns:

#authorsArray<UserDrop>

Returns:

#bodyString

Returns:

  • (String)

#comment_without_login?Boolean

Returns:

  • (Boolean)

#comments_urlObject

#comments_urlidString

Returns:

  • (String)

#complete_pathString

Returns:

  • (String)

#complete_urlString

Returns:

  • (String)

#completed?Boolean

Returns:

  • (Boolean)

#content?Boolean

Returns:

  • (Boolean)

#content_accessible?Boolean

Returns:

  • (Boolean)

#courseCourseDrop

Returns:

#course_moduleCourseModuleDrop

Returns:

#created_atDateTime

Returns:

  • (DateTime)

#draft?Boolean

Returns:

  • (Boolean)

#expand_additional_content?Boolean

Returns:

  • (Boolean)

#get(allow_private_notefromcourse) ⇒ Boolean

Returns:

  • (Boolean)

#has_asset_attachments?Boolean

Returns:

  • (Boolean)

#has_worksheet_attachments?Boolean

Returns:

  • (Boolean)

#hide_additional_content_toggles?Boolean

Returns:

  • (Boolean)

#idInteger

Returns:

  • (Integer)

#mark_incomplete_pathString

Returns:

  • (String)

#mark_incomplete_urlString

Returns:

  • (String)

#media_durationInteger

Returns:

  • (Integer)

#media_duration_prettyString

Returns:

  • (String)

#media_typeString

Returns:

  • (String)

#meta_dataMetaDataDrop

Returns:

#next_lessonCourseLessonDrop

Returns:

#next_or_previous_lesson_accessible?Boolean

Returns true if previous or next lesson is accessible by the member or will return false if both are not accessible by the member

Returns:

  • (Boolean)

#next_to_complete?Boolean

Returns:

  • (Boolean)

#noteCourseLessonNoteDrop

Returns private note for the Site Member

#notification_settingNotificationSettingDrop

#pathString

Returns:

  • (String)

#positionInteger

Returns:

  • (Integer)

#preview?Boolean

Returns:

  • (Boolean)

#previous_lessonCourseLessonDrop

Returns:

#published?Boolean

Returns:

  • (Boolean)

#quizQuizDrop

Returns:

#quiz?Boolean

Returns:

  • (Boolean)

#show_unauthorized_content?Boolean

Returns:

  • (Boolean)

#thumbnail_tag(sizes = {}) ⇒ String

Returns:

  • (String)

#titleString

Returns:

  • (String)

#typeString

Returns:

  • (String)

#unauthorized_contentString

Returns:

  • (String)

#updated_atDateTime

Returns:

  • (DateTime)

#urlString

Returns:

  • (String)

#worksheetsObject