Sha256: 407f4d1b3339ac5c4735e1585074b9998dc621628d650da9635f3e0e61bf3d43

Contents?: true

Size: 368 Bytes

Versions: 12

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class UserSet < DataSet
    def check_semantically_consistent
      super

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

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

Version data entries

12 entries across 12 versions & 1 rubygems

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