Sha256: 22f998bf9f6f68753c1633e0aa92512840fa13ea9beecbc9694bf49f758ca8a4

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class UserProfileSet < DataSet
    def initialize(data, user_set:)
      super(data)
      @user_set = user_set
    end

    def check_semantically_consistent
      super

      each do |user_profile|
        @user_set.find_by_sourced_id(user_profile.user_sourced_id)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
meibo-0.1.0 lib/meibo/user_profile_set.rb