Sha256: e10773a345383dd9bc3832d1d57b89a9c9c25ef53a8eb5a25bbd930388e3590b

Contents?: true

Size: 334 Bytes

Versions: 12

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class CourseSet < DataSet
    def check_semantically_consistent
      super

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

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
meibo-0.25.3 lib/meibo/course_set.rb
meibo-0.25.2 lib/meibo/course_set.rb
meibo-0.25.1 lib/meibo/course_set.rb
meibo-0.25.0 lib/meibo/course_set.rb
meibo-0.24.0 lib/meibo/course_set.rb
meibo-0.23.0 lib/meibo/course_set.rb
meibo-0.22.0 lib/meibo/course_set.rb
meibo-0.21.0 lib/meibo/course_set.rb
meibo-0.20.0 lib/meibo/course_set.rb
meibo-0.19.0 lib/meibo/course_set.rb
meibo-0.18.0 lib/meibo/course_set.rb
meibo-0.17.0 lib/meibo/course_set.rb