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