mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Fix styling issues
This commit is contained in:
parent
2c8f1081c9
commit
39791f5755
5 changed files with 42 additions and 46 deletions
|
@ -20,6 +20,11 @@ class Dispute < ApplicationRecord
|
|||
|
||||
alias_attribute :name, :domain_name
|
||||
|
||||
def self.close_by_domain(domain_name)
|
||||
dispute = Dispute.active.find_by(domain_name: domain_name)
|
||||
dispute.update(closed: true) if dispute.present?
|
||||
end
|
||||
|
||||
def set_expiry_date
|
||||
return if starts_at.blank?
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ class Epp::Domain < Domain
|
|||
def epp_code_map
|
||||
{
|
||||
'2002' => [ # Command use error
|
||||
%i[base domain_already_belongs_to_the_querying_registrar]
|
||||
%i[base domain_already_belongs_to_the_querying_registrar],
|
||||
],
|
||||
'2003' => [ # Required parameter missing
|
||||
%i[registrant blank],
|
||||
|
@ -86,7 +86,7 @@ class Epp::Domain < Domain
|
|||
[:puny_label, :too_long, { obj: 'name', val: name_puny }]
|
||||
],
|
||||
'2201' => [ # Authorisation error
|
||||
%i[transfer_code wrong_pw]
|
||||
%i[transfer_code wrong_pw],
|
||||
],
|
||||
'2202' => [
|
||||
%i[base invalid_auth_information_reserved],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue