debian-mirror-gitlab/app/services/projects/prometheus/alerts/update_service.rb
2022-01-26 12:08:38 +05:30

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