15 lines
275 B
Ruby
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
|