mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
Add basic interactor/organizer support
This commit is contained in:
parent
0570e4352f
commit
4b980a07f5
8 changed files with 113 additions and 0 deletions
|
@ -7,6 +7,10 @@ module Concerns::Domain::ForceDelete # rubocop:disable Metrics/ModuleLength
|
|||
:contact_notification_sent_date,
|
||||
:template_name
|
||||
|
||||
STATUSES_TO_SET = [DomainStatus::FORCE_DELETE,
|
||||
DomainStatus::SERVER_RENEW_PROHIBITED,
|
||||
DomainStatus::SERVER_TRANSFER_PROHIBITED].freeze
|
||||
|
||||
scope :notification_not_sent,
|
||||
lambda {
|
||||
where("(force_delete_data->>'contact_notification_sent_date') is null")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue