Class: SIF::Model::Group::SIS::StudentSectionEnrollment
- Inherits:
-
Object
- Object
- SIF::Model::Group::SIS::StudentSectionEnrollment
- Includes:
- SISRepresenter
- Defined in:
- lib/sif/models/groups/sis/student_section_enrollment.rb
Instance Method Summary collapse
Methods included from SISRepresenter
#find_element, #password, #username
Instance Method Details
#status(as_of = Date.today) ⇒ Object
17 18 19 |
# File 'lib/sif/models/groups/sis/student_section_enrollment.rb', line 17 def status(as_of = Date.today) return (exit_date && as_of > exit_date) ? 'deleted' : 'active' end |