mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-09 08:47:11 -05:00
11 lines
235 B
Ruby
11 lines
235 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Owntracks::PointCreatingJob < ApplicationJob
|
|
queue_as :default
|
|
|
|
def perform(point_params)
|
|
parsed_params = OwnTracks::Params.new(point_params).call
|
|
|
|
Point.create(parsed_params)
|
|
end
|
|
end
|