Class: Canvas::Models::XList
- Defined in:
- app/models/canvas/models/x_list.rb
Instance Attribute Summary collapse
-
#section_sis_id ⇒ Object
Returns the value of attribute section_sis_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#xlist_course_sis_id ⇒ Object
Returns the value of attribute xlist_course_sis_id.
Instance Method Summary collapse
Methods inherited from BaseModel
Constructor Details
This class inherits a constructor from Canvas::Models::BaseModel
Instance Attribute Details
#section_sis_id ⇒ Object
Returns the value of attribute section_sis_id.
5 6 7 |
# File 'app/models/canvas/models/x_list.rb', line 5 def section_sis_id @section_sis_id end |
#status ⇒ Object
Returns the value of attribute status.
5 6 7 |
# File 'app/models/canvas/models/x_list.rb', line 5 def status @status end |
#xlist_course_sis_id ⇒ Object
Returns the value of attribute xlist_course_sis_id.
5 6 7 |
# File 'app/models/canvas/models/x_list.rb', line 5 def xlist_course_sis_id @xlist_course_sis_id end |
Instance Method Details
#after_initialize ⇒ Object
7 8 9 |
# File 'app/models/canvas/models/x_list.rb', line 7 def after_initialize self.status ||= 'active' end |