mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
12 lines
478 B
Ruby
12 lines
478 B
Ruby
module Domains
|
|
module ForceDelete
|
|
class NotifyRegistrar < Base
|
|
def execute
|
|
domain.registrar.notifications.create!(text: I18n.t('force_delete_set_on_domain',
|
|
domain_name: domain.name,
|
|
outzone_date: domain.outzone_date,
|
|
purge_date: domain.purge_date))
|
|
end
|
|
end
|
|
end
|
|
end
|