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.



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

def activites
  @activites
end

#available_instructor_ledObject

Returns the value of attribute available_instructor_led.



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

def available_instructor_led
  @available_instructor_led
end

#available_self_pacedObject

Returns the value of attribute available_self_paced.



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

def available_self_paced
  @available_self_paced
end

#content_provider_idObject

Returns the value of attribute content_provider_id.



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

def content_provider_id
  @content_provider_id
end

#content_provider_nameObject

Returns the value of attribute content_provider_name.



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

def content_provider_name
  @content_provider_name
end

#custom_fieldsObject

Returns the value of attribute custom_fields.



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

def custom_fields
  @custom_fields
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

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#organization_idObject

Returns the value of attribute organization_id.



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

def organization_id
  @organization_id
end

#organization_nameObject

Returns the value of attribute organization_name.



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

def organization_name
  @organization_name
end

#tagsObject

Returns the value of attribute tags.



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

def tags
  @tags
end