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