Class: Enlight::Models::CourseActivity
- Defined in:
- lib/enlight/models/course_activity.rb
Instance Attribute Summary collapse
-
#activities ⇒ Object
Returns the value of attribute activities.
-
#activity_id ⇒ Object
Returns the value of attribute activity_id.
-
#activity_type_id ⇒ Object
Returns the value of attribute activity_type_id.
-
#activity_type_name ⇒ Object
Returns the value of attribute activity_type_name.
-
#allow_retake ⇒ Object
Returns the value of attribute allow_retake.
-
#allow_review ⇒ Object
Returns the value of attribute allow_review.
-
#availability_type_id ⇒ Object
Returns the value of attribute availability_type_id.
-
#description ⇒ Object
Returns the value of attribute description.
-
#expected_duration_seconds ⇒ Object
Returns the value of attribute expected_duration_seconds.
-
#is_exam ⇒ Object
Returns the value of attribute is_exam.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#required ⇒ Object
Returns the value of attribute required.
-
#sort_order ⇒ Object
Returns the value of attribute sort_order.
-
#subtitle ⇒ Object
Returns the value of attribute subtitle.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from Model
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Enlight::Models::Model
Instance Attribute Details
#activities ⇒ Object
Returns the value of attribute activities.
19 20 21 |
# File 'lib/enlight/models/course_activity.rb', line 19 def activities @activities end |
#activity_id ⇒ Object
Returns the value of attribute activity_id.
6 7 8 |
# File 'lib/enlight/models/course_activity.rb', line 6 def activity_id @activity_id end |
#activity_type_id ⇒ Object
Returns the value of attribute activity_type_id.
5 6 7 |
# File 'lib/enlight/models/course_activity.rb', line 5 def activity_type_id @activity_type_id end |
#activity_type_name ⇒ Object
Returns the value of attribute activity_type_name.
7 8 9 |
# File 'lib/enlight/models/course_activity.rb', line 7 def activity_type_name @activity_type_name end |
#allow_retake ⇒ Object
Returns the value of attribute allow_retake.
11 12 13 |
# File 'lib/enlight/models/course_activity.rb', line 11 def allow_retake @allow_retake end |
#allow_review ⇒ Object
Returns the value of attribute allow_review.
12 13 14 |
# File 'lib/enlight/models/course_activity.rb', line 12 def allow_review @allow_review end |
#availability_type_id ⇒ Object
Returns the value of attribute availability_type_id.
16 17 18 |
# File 'lib/enlight/models/course_activity.rb', line 16 def availability_type_id @availability_type_id end |
#description ⇒ Object
Returns the value of attribute description.
9 10 11 |
# File 'lib/enlight/models/course_activity.rb', line 9 def description @description end |
#expected_duration_seconds ⇒ Object
Returns the value of attribute expected_duration_seconds.
17 18 19 |
# File 'lib/enlight/models/course_activity.rb', line 17 def expected_duration_seconds @expected_duration_seconds end |
#is_exam ⇒ Object
Returns the value of attribute is_exam.
18 19 20 |
# File 'lib/enlight/models/course_activity.rb', line 18 def is_exam @is_exam end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/enlight/models/course_activity.rb', line 8 def name @name end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
4 5 6 |
# File 'lib/enlight/models/course_activity.rb', line 4 def parent_id @parent_id end |
#required ⇒ Object
Returns the value of attribute required.
15 16 17 |
# File 'lib/enlight/models/course_activity.rb', line 15 def required @required end |
#sort_order ⇒ Object
Returns the value of attribute sort_order.
14 15 16 |
# File 'lib/enlight/models/course_activity.rb', line 14 def sort_order @sort_order end |
#subtitle ⇒ Object
Returns the value of attribute subtitle.
10 11 12 |
# File 'lib/enlight/models/course_activity.rb', line 10 def subtitle @subtitle end |
#url ⇒ Object
Returns the value of attribute url.
13 14 15 |
# File 'lib/enlight/models/course_activity.rb', line 13 def url @url end |