mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
Preselect default values for new record #2776
This commit is contained in:
parent
dec7fcee13
commit
cc672a420b
3 changed files with 7 additions and 11 deletions
|
@ -144,13 +144,6 @@ module Depp
|
|||
end
|
||||
end
|
||||
|
||||
def initialize(attributes = {})
|
||||
super
|
||||
self.country_code = 'EE' if country_code.blank?
|
||||
self.ident_type = 'bic' if ident_type.blank?
|
||||
self.ident_country_code = 'EE' if ident_country_code.blank?
|
||||
end
|
||||
|
||||
def save
|
||||
create_xml = Depp::Contact.epp_xml.create(
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue