mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Add registry lock operation to epp notification
This commit is contained in:
parent
0bc86229e2
commit
7638bff546
2 changed files with 20 additions and 6 deletions
|
@ -25,6 +25,10 @@ class Notification < ApplicationRecord
|
|||
''
|
||||
end
|
||||
|
||||
def registry_lock?
|
||||
text.include?('has been locked') || text.include?('has been unlocked')
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def set_defaults
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue