mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
13 lines
246 B
Ruby
13 lines
246 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Overland::BatchCreatingJob < ApplicationJob
|
|
queue_as :default
|
|
|
|
def perform(params)
|
|
data = Overland::Params.new(params).call
|
|
|
|
data.each do |location|
|
|
Point.create!(location)
|
|
end
|
|
end
|
|
end
|