lib/meibo/enrollment.rb in meibo-0.14.0 vs lib/meibo/enrollment.rb in meibo-0.15.0
- old
+ new
@@ -44,9 +44,13 @@
@begin_date = begin_date
@end_date = end_date
@extension_fields = extension_fields
end
+ def collection
+ Meibo.current_roster.enrollments
+ end
+
def administrator?
role == ROLES[:administrator]
end
def proctor?