Welcome to mirror list, hosted at ThFree Co, Russian Federation.

members_loader.rb « loaders « groups « bulk_imports « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ccf44b31aee3c10bc5f29e869ae866878ebc3f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module BulkImports
  module Groups
    module Loaders
      class MembersLoader
        def initialize(*); end

        def load(context, data)
          return unless data

          context.group.members.create!(data)
        end
      end
    end
  end
end