Class: Enlight::Models::Course

Inherits:
Model
  • Object
show all
Defined in:
lib/enlight/models/course.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

#activitesObject Also known as: activities

Returns the value of attribute activites.



14
15
16
# File 'lib/enlight/models/course.rb', line 14

def activites
  @activites
end

#available_instructor_ledObject

Returns the value of attribute available_instructor_led.



7
8
9
# File 'lib/enlight/models/course.rb', line 7

def available_instructor_led
  @available_instructor_led
end

#available_self_pacedObject

Returns the value of attribute available_self_paced.



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

def available_self_paced
  @available_self_paced
end

#completedObject

Returns the value of attribute completed.



18
19
20
# File 'lib/enlight/models/course.rb', line 18

def completed
  @completed
end

#content_provider_idObject

Returns the value of attribute content_provider_id.



11
12
13
# File 'lib/enlight/models/course.rb', line 11

def content_provider_id
  @content_provider_id
end

#content_provider_nameObject

Returns the value of attribute content_provider_name.



12
13
14
# File 'lib/enlight/models/course.rb', line 12

def content_provider_name
  @content_provider_name
end

#course_nameObject

Returns the value of attribute course_name.



5
6
7
# File 'lib/enlight/models/course.rb', line 5

def course_name
  @course_name
end

#custom_fieldsObject

Returns the value of attribute custom_fields.



16
17
18
# File 'lib/enlight/models/course.rb', line 16

def custom_fields
  @custom_fields
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#durationObject

Returns the value of attribute duration.



21
22
23
# File 'lib/enlight/models/course.rb', line 21

def duration
  @duration
end

#duration_unit_idObject

Returns the value of attribute duration_unit_id.



22
23
24
# File 'lib/enlight/models/course.rb', line 22

def duration_unit_id
  @duration_unit_id
end

#expiresObject

Returns the value of attribute expires.



20
21
22
# File 'lib/enlight/models/course.rb', line 20

def expires
  @expires
end

#external_idObject

Returns the value of attribute external_id.



4
5
6
# File 'lib/enlight/models/course.rb', line 4

def external_id
  @external_id
end

#html_descriptionObject

Returns the value of attribute html_description.



23
24
25
# File 'lib/enlight/models/course.rb', line 23

def html_description
  @html_description
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/enlight/models/course.rb', line 6

def name
  @name
end

#organization_idObject

Returns the value of attribute organization_id.



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

def organization_id
  @organization_id
end

#organization_nameObject

Returns the value of attribute organization_name.



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

def organization_name
  @organization_name
end

#profile_image_urlObject

Returns the value of attribute profile_image_url.



17
18
19
# File 'lib/enlight/models/course.rb', line 17

def profile_image_url
  @profile_image_url
end

#startedObject

Returns the value of attribute started.



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

def started
  @started
end

#tagsObject

Returns the value of attribute tags.



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

def tags
  @tags
end