mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
9 lines
201 B
Ruby
9 lines
201 B
Ruby
class PointCreatingJob < ApplicationJob
|
|
queue_as :default
|
|
|
|
def perform(point_params)
|
|
parsed_params = OwnTracks::Params.new(point_params).call
|
|
|
|
point = Point.create(parsed_params)
|
|
end
|
|
end
|