github
53 of 335 new or added lines in 26 files covered. (15.82%)
27 existing lines in 7 files now uncovered.10384 of 21100 relevant lines covered (49.21%)
278.39 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
NEW
|
module NotificationEvent |
× |
NEW
|
class EntityUnlocked < Base |
× |
NEW
|
parameter :entity, required: true |
× |
6 |
|
|
NEW
|
private |
× |
8 |
|
|
NEW
|
def event_name |
× |
NEW
|
"#{entity.class}Unlocked"
|
× |
NEW
|
end
|
× |
12 |
|
|
NEW
|
def subject |
× |
NEW
|
"#{entity.class} with id #{entity.id} unlocked"
|
× |
NEW
|
end
|
× |
16 |
|
|
NEW
|
def message |
× |
NEW
|
subject |
× |
NEW
|
end
|
× |
NEW
|
end
|
× |
NEW
|
end
|
× |