Sha256: be535d473b5bc2c9421146bd196e0771a4d70389434401a9716b38379259c83c

Contents?: true

Size: 390 Bytes

Versions: 15

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class UserSet < DataSet
    def check_semantically_consistent
      super

      each do |user|
        if user.primary_org_sourced_id
          roster.organizations.find(user.primary_org_sourced_id)
        end

        user.agent_sourced_ids.each do |agent_sourced_id|
          find(agent_sourced_id)
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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