github
33 of 309 new or added lines in 22 files covered. (10.68%)
27 existing lines in 7 files now uncovered.10384 of 21100 relevant lines covered (49.21%)
278.38 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
NEW
|
module RecordLocking |
× |
NEW
|
class Unlock < ApplicationService |
× |
NEW
|
parameter :entity, required: true |
× |
6 |
|
|
NEW
|
def call |
× |
NEW
|
entity.transaction do
|
× |
NEW
|
entity.update!(locked: false) |
× |
NEW
|
NotificationEvent::EntityUnlocked.call(entity: entity) |
× |
NEW
|
end
|
× |
NEW
|
end
|
× |
NEW
|
end
|
× |
NEW
|
end
|
× |