mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
implement mechanism of save statuses for force delete and lock
This commit is contained in:
parent
ec90722bf0
commit
96bc237484
9 changed files with 142 additions and 23 deletions
|
@ -1,6 +1,10 @@
|
|||
module Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
|
||||
module Domain::ForceDelete
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
FORCE_DELETE_STATUSES = [DomainStatus::FORCE_DELETE,
|
||||
DomainStatus::SERVER_RENEW_PROHIBITED,
|
||||
DomainStatus::SERVER_TRANSFER_PROHIBITED].freeze
|
||||
|
||||
included do
|
||||
store_accessor :force_delete_data,
|
||||
:force_delete_type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue