Class: Enlight::Models::CourseActivity

Inherits:
Model
  • Object
show all
Defined in:
lib/enlight/models/course_activity.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#id

Method Summary

Methods inherited from Model

#initialize

Constructor Details

This class inherits a constructor from Enlight::Models::Model

Instance Attribute Details

#activitiesObject

Returns the value of attribute activities.


19
20
21
# File 'lib/enlight/models/course_activity.rb', line 19

def activities
  @activities
end

#activity_idObject

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_idObject

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_nameObject

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_retakeObject

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_reviewObject

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_idObject

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

#descriptionObject

Returns the value of attribute description.


9
10
11
# File 'lib/enlight/models/course_activity.rb', line 9

def description
  @description
end

#expected_duration_secondsObject

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_examObject

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

#nameObject

Returns the value of attribute name.


8
9
10
# File 'lib/enlight/models/course_activity.rb', line 8

def name
  @name
end

#parent_idObject

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

#requiredObject

Returns the value of attribute required.


15
16
17
# File 'lib/enlight/models/course_activity.rb', line 15

def required
  @required
end

#sort_orderObject

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

#subtitleObject

Returns the value of attribute subtitle.


10
11
12
# File 'lib/enlight/models/course_activity.rb', line 10

def subtitle
  @subtitle
end

#urlObject

Returns the value of attribute url.


13
14
15
# File 'lib/enlight/models/course_activity.rb', line 13

def url
  @url
end