Class: CourseDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- CourseDrop
- Includes:
- NotificationSettingProvidingDropConcern, ShareableDropConcerns
- Defined in:
- app/drops/course_drop.rb
Overview
CourseDrop represents a course. It's available as the top-level course
on course and course lesson pages, and as a reference on CourseDrop and CourseModuleDrop.
Instance Method Summary collapse
- #accessible? ⇒ Boolean
- #allow_comments? ⇒ Boolean
- #any_lesson_accessible? ⇒ Boolean
- #authors ⇒ Array<UserDrop>
- #catalog_image ⇒ Object
- #comment_without_login? ⇒ Boolean
- #completed_lessons_count ⇒ Integer
- #completed_percentage ⇒ Integer
- #completion_enabled? ⇒ Boolean
- #description ⇒ String
- #description_background_image_url ⇒ String
- #display_mode ⇒ String
- #first_incomplete_lesson ⇒ CourseLessonDrop
- #id ⇒ Integer
- #internal_name ⇒ String
- #lessons ⇒ Array<CourseLessonDrop>
- #lessons_count ⇒ Integer
- #meta_data ⇒ MetaDataDrop
- #modules ⇒ Array<CourseModuleDrop>
- #modules_count ⇒ Integer
- #notification_setting ⇒ NotificationSettingDrop
- #path ⇒ String
-
#podcast_info_url ⇒ String
Returns a URL with information for subscribing to this course as a podcast, or nil if not enabled or available for the current user.
-
#podcast_url ⇒ String
Returns the URL for this course's podcast RSS feed, or nil if not enabled or available for the current user.
-
#prevent_downloads? ⇒ Object
Returns true if downloading of assets is disabled for this course.
- #short_description ⇒ String
- #show_lesson_author? ⇒ Boolean
- #show_lesson_updated_at? ⇒ Boolean
- #show_unauthorized ⇒ String
- #show_unauthorized? ⇒ Boolean
- #site ⇒ SiteDrop
- #title ⇒ String
- #unauthorized_btn_label ⇒ String
- #unauthorized_message ⇒ String
- #url ⇒ String
- #visible? ⇒ Boolean
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#accessible? ⇒ Boolean
#allow_comments? ⇒ Boolean
#any_lesson_accessible? ⇒ Boolean
#authors ⇒ Array<UserDrop>
#catalog_image ⇒ Object
#comment_without_login? ⇒ Boolean
#completed_lessons_count ⇒ Integer
#completed_percentage ⇒ Integer
#completion_enabled? ⇒ Boolean
#description ⇒ String
#description_background_image_url ⇒ String
#display_mode ⇒ String
#first_incomplete_lesson ⇒ CourseLessonDrop
#id ⇒ Integer
#internal_name ⇒ String
#lessons ⇒ Array<CourseLessonDrop>
#lessons_count ⇒ Integer
#meta_data ⇒ MetaDataDrop
#modules ⇒ Array<CourseModuleDrop>
#modules_count ⇒ Integer
#notification_setting ⇒ NotificationSettingDrop
#path ⇒ String
#podcast_info_url ⇒ String
Returns a URL with information for subscribing to this course as a podcast, or nil if not enabled or available for the current user.
#podcast_url ⇒ String
Returns the URL for this course's podcast RSS feed, or nil if not enabled or available for the current user.
#prevent_downloads? ⇒ Object
Returns true if downloading of assets is disabled for this course.