15 lines
265 B
Ruby
15 lines
265 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Projects
|
|
module Prometheus
|
|
module Alerts
|
|
class UpdateService < BaseProjectService
|
|
include AlertParams
|
|
|
|
def execute(alert)
|
|
alert.update(alert_params)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|