Sha256: 7b8e1e14ec5d1c6c5d41ce9048622689e94727088794aa8761eb3324585aaebf

Contents?: true

Size: 357 Bytes

Versions: 11

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class EnrollmentSet < DataSet
    def check_semantically_consistent
      super

      each do |enrollment|
        roster.classes.find(enrollment.class_sourced_id)
        roster.organizations.find(enrollment.school_sourced_id)
        roster.users.find(enrollment.user_sourced_id)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
meibo-0.12.0 lib/meibo/enrollment_set.rb
meibo-0.11.0 lib/meibo/enrollment_set.rb
meibo-0.10.0 lib/meibo/enrollment_set.rb
meibo-0.9.0 lib/meibo/enrollment_set.rb
meibo-0.8.0 lib/meibo/enrollment_set.rb
meibo-0.7.0 lib/meibo/enrollment_set.rb
meibo-0.6.0 lib/meibo/enrollment_set.rb
meibo-0.5.0 lib/meibo/enrollment_set.rb
meibo-0.4.0 lib/meibo/enrollment_set.rb
meibo-0.3.0 lib/meibo/enrollment_set.rb
meibo-0.2.0 lib/meibo/enrollment_set.rb