mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
111297422-job_and_method_update
This commit is contained in:
parent
8ed8a46046
commit
a0fcd8be8b
4 changed files with 28 additions and 13 deletions
|
@ -35,6 +35,8 @@ class ReservedDomain < ActiveRecord::Base
|
|||
update_whois_server
|
||||
end
|
||||
|
||||
alias_method :update_whois_record, :generate_data
|
||||
|
||||
def update_whois_server
|
||||
wr = Whois::Record.find_or_initialize_by(name: name)
|
||||
wr.body = @body
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue