mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Add logging to white ip
This commit is contained in:
parent
8e37355e13
commit
76ea1389e6
7 changed files with 73 additions and 27 deletions
|
@ -1,4 +1,5 @@
|
|||
class WhiteIp < ActiveRecord::Base
|
||||
include Versions
|
||||
belongs_to :registrar
|
||||
|
||||
# rubocop: disable Metrics/LineLength
|
||||
|
@ -12,5 +13,9 @@ class WhiteIp < ActiveRecord::Base
|
|||
errors.add(:base, I18n.t(:ipv4_or_ipv6_must_be_present))
|
||||
end
|
||||
|
||||
INTERFACES = ['epp', 'repp', 'registrar']
|
||||
INTERFACE_EPP = 'epp'
|
||||
INTERFACE_REPP = 'repp'
|
||||
INTERFACE_REGISTRAR = 'registrar'
|
||||
|
||||
INTERFACES = [INTERFACE_EPP, INTERFACE_REPP, INTERFACE_REGISTRAR]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue