summaryrefslogtreecommitdiff
path: root/lib/bulk_imports/groups/loaders/members_loader.rb
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