debian-mirror-gitlab/lib/bulk_imports/common/loaders/entity_loader.rb
2021-03-11 19:13:27 +05:30

15 lines
275 B
Ruby

# frozen_string_literal: true
module BulkImports
module Common
module Loaders
class EntityLoader
def initialize(*args); end
def load(context, entity)
context.bulk_import.entities.create!(entity)
end
end
end
end
end