Sha256: caf0d92d306c583dc55bef65c7749a40b131a2b30952913ba9525ecfeb21c3c4

Contents?: true

Size: 283 Bytes

Versions: 11

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class OrganizationSet < DataSet
    def check_semantically_consistent
      super

      each do |organization|
        next unless organization.parent_sourced_id

        find(organization.parent_sourced_id)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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