Sha256: bef7ee3204ab995591b2cc385140dbb9d8a6611f38c93cfef2f236adcb01ffb2

Contents?: true

Size: 392 Bytes

Versions: 11

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class RoleSet < DataSet
    def check_semantically_consistent
      super

      each do |role|
        roster.organizations.find(role.org_sourced_id)
        roster.users.find(role.user_sourced_id)

        if role.user_profile_sourced_id
          roster.user_profiles.find(role.user_profile_sourced_id)
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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