mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
fixed codeclimate errors
This commit is contained in:
parent
2f81e856fc
commit
e345abc2fc
4 changed files with 19 additions and 20 deletions
|
@ -5,6 +5,9 @@ module Domain::ForceDelete
|
|||
DomainStatus::SERVER_RENEW_PROHIBITED,
|
||||
DomainStatus::SERVER_TRANSFER_PROHIBITED].freeze
|
||||
|
||||
HOLD_STATUSES = [DomainStatus::SERVER_HOLD,
|
||||
DomainStatus::CLIENT_HOLD].freeze
|
||||
|
||||
included do
|
||||
store_accessor :force_delete_data,
|
||||
:force_delete_type,
|
||||
|
@ -15,9 +18,6 @@ module Domain::ForceDelete
|
|||
lambda {
|
||||
where("(force_delete_data->>'contact_notification_sent_date') is null")
|
||||
}
|
||||
|
||||
HOLD_STATUSES = [DomainStatus::SERVER_HOLD,
|
||||
DomainStatus::CLIENT_HOLD].freeze
|
||||
end
|
||||
|
||||
class_methods do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue