Sha256: d6a81bad9cd4d7b4289db0e892b5fbb34fe496c3576c6f5a76011af5a1618771

Contents?: true

Size: 356 Bytes

Versions: 15

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class CourseSet < DataSet
    def check_semantically_consistent
      super

      each do |course|
        if course.school_year_sourced_id
          roster.academic_sessions.find(course.school_year_sourced_id)
        end

        roster.organizations.find(course.org_sourced_id)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
meibo-0.16.0 lib/meibo/course_set.rb
meibo-0.15.0 lib/meibo/course_set.rb
meibo-0.14.0 lib/meibo/course_set.rb
meibo-0.13.0 lib/meibo/course_set.rb
meibo-0.12.0 lib/meibo/course_set.rb
meibo-0.11.0 lib/meibo/course_set.rb
meibo-0.10.0 lib/meibo/course_set.rb
meibo-0.9.0 lib/meibo/course_set.rb
meibo-0.8.0 lib/meibo/course_set.rb
meibo-0.7.0 lib/meibo/course_set.rb
meibo-0.6.0 lib/meibo/course_set.rb
meibo-0.5.0 lib/meibo/course_set.rb
meibo-0.4.0 lib/meibo/course_set.rb
meibo-0.3.0 lib/meibo/course_set.rb
meibo-0.2.0 lib/meibo/course_set.rb