Class: CourseLessonDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- CourseLessonDrop
- 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
- #accessible? ⇒ Boolean
- #accessible_or_visible_to_unauthorized? ⇒ Boolean
- #allow_comment_attachments? ⇒ Boolean
- #allow_comments? ⇒ Boolean
- #allow_private_note? ⇒ Boolean
- #asset ⇒ AssetDrop
-
#assets ⇒ Array<AssetDrop>
deprecated
Deprecated.
-
use attachments now
-
- #attachments ⇒ Array<AttachmentDrop>
- #author ⇒ UserDrop
- #authors ⇒ Array<UserDrop>
- #body ⇒ String
- #comment_without_login? ⇒ Boolean
- #comments_url ⇒ Object
- #comments_urlid ⇒ String
- #complete_path ⇒ String
- #complete_url ⇒ String
- #completed? ⇒ Boolean
- #content? ⇒ Boolean
- #content_accessible? ⇒ Boolean
- #course ⇒ CourseDrop
- #course_module ⇒ CourseModuleDrop
- #created_at ⇒ DateTime
- #draft? ⇒ Boolean
- #expand_additional_content? ⇒ Boolean
- #get(allow_private_notefromcourse) ⇒ Boolean
- #has_asset_attachments? ⇒ Boolean
- #has_worksheet_attachments? ⇒ Boolean
- #hide_additional_content_toggles? ⇒ Boolean
- #id ⇒ Integer
- #mark_incomplete_path ⇒ String
- #mark_incomplete_url ⇒ String
- #media_duration ⇒ Integer
- #media_duration_pretty ⇒ String
- #media_type ⇒ String
- #meta_data ⇒ MetaDataDrop
- #next_lesson ⇒ CourseLessonDrop
-
#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.
- #next_to_complete? ⇒ Boolean
-
#note ⇒ CourseLessonNoteDrop
Returns private note for the Site Member.
- #notification_setting ⇒ NotificationSettingDrop
- #path ⇒ String
- #position ⇒ Integer
- #preview? ⇒ Boolean
- #previous_lesson ⇒ CourseLessonDrop
- #published? ⇒ Boolean
- #quiz ⇒ QuizDrop
- #quiz? ⇒ Boolean
- #show_unauthorized_content? ⇒ Boolean
- #thumbnail_tag(sizes = {}) ⇒ String
- #title ⇒ String
- #type ⇒ String
- #unauthorized_content ⇒ String
- #updated_at ⇒ DateTime
- #url ⇒ String
- #worksheets ⇒ Object
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#accessible? ⇒ Boolean
#accessible_or_visible_to_unauthorized? ⇒ Boolean
#allow_comment_attachments? ⇒ Boolean
#allow_comments? ⇒ Boolean
#allow_private_note? ⇒ Boolean
#asset ⇒ AssetDrop
#assets ⇒ Array<AssetDrop>
Deprecated.
-
use attachments now
#attachments ⇒ Array<AttachmentDrop>
#author ⇒ UserDrop
#authors ⇒ Array<UserDrop>
#body ⇒ String
#comment_without_login? ⇒ Boolean
#comments_url ⇒ Object
#comments_urlid ⇒ String
#complete_path ⇒ String
#complete_url ⇒ String
#completed? ⇒ Boolean
#content? ⇒ Boolean
#content_accessible? ⇒ Boolean
#course ⇒ CourseDrop
#course_module ⇒ CourseModuleDrop
#created_at ⇒ DateTime
#draft? ⇒ Boolean
#expand_additional_content? ⇒ Boolean
#get(allow_private_notefromcourse) ⇒ Boolean
#has_asset_attachments? ⇒ Boolean
#has_worksheet_attachments? ⇒ Boolean
#hide_additional_content_toggles? ⇒ Boolean
#id ⇒ Integer
#mark_incomplete_path ⇒ String
#mark_incomplete_url ⇒ String
#media_duration ⇒ Integer
#media_duration_pretty ⇒ String
#media_type ⇒ String
#meta_data ⇒ MetaDataDrop
#next_lesson ⇒ CourseLessonDrop
#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
#next_to_complete? ⇒ Boolean
#note ⇒ CourseLessonNoteDrop
Returns private note for the Site Member