debian-mirror-gitlab/app/services/projects/prometheus/alerts/destroy_service.rb

14 lines
217 B
Ruby
Raw Normal View History

2020-04-22 19:07:51 +05:30
# frozen_string_literal: true
module Projects
module Prometheus
module Alerts
class DestroyService < BaseService
def execute(alert)
alert.destroy
end
end
end
end
end