github
210 of 549 new or added lines in 40 files covered. (38.25%)
1 existing line in 1 file now uncovered.10433 of 20893 relevant lines covered (49.94%)
52.46 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
NEW
|
module QualityAlarm |
× |
NEW
|
class Clear < ApplicationService |
× |
NEW
|
parameter :destination, required: true |
× |
6 |
|
|
NEW
|
def call |
× |
NEW
|
Routing::Destination.transaction do |
× |
NEW
|
destination.update!(quality_alarm: false) |
× |
NEW
|
NotificationEvent::QualityAlarmCleared.call(destination: destination) |
× |
NEW
|
end
|
× |
NEW
|
end
|
× |
NEW
|
end
|
× |
NEW
|
end
|
× |