mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Upadted whois domain body
This commit is contained in:
parent
f2f2e42608
commit
92f41ebe0b
1 changed files with 9 additions and 7 deletions
|
@ -241,15 +241,14 @@ class Domain < ActiveRecord::Base
|
||||||
# rubocop:disable Metrics/MethodLength
|
# rubocop:disable Metrics/MethodLength
|
||||||
def update_whois_body
|
def update_whois_body
|
||||||
self.whois_body = <<-EOS
|
self.whois_body = <<-EOS
|
||||||
This Whois Server contains information on
|
Estonia .ee Top Level Domain WHOIS server
|
||||||
Estonian Top Level Domain ee TLD
|
|
||||||
|
|
||||||
domain: #{name}
|
domain: #{name}
|
||||||
registrar: #{registrar}
|
registrant: #{owner_contact.name}
|
||||||
status:
|
status: #{domain_statuses.map(&:value).join(', ')}
|
||||||
registered: #{registered_at and registered_at.to_s(:db)}
|
registered: #{registered_at and registered_at.to_s(:db)}
|
||||||
changed: #{updated_at and updated_at.to_s(:db)}
|
changed: #{updated_at and updated_at.to_s(:db)}
|
||||||
expire:
|
expire: #{valid_to and valid_to.to_s(:db)}
|
||||||
outzone:
|
outzone:
|
||||||
delete:
|
delete:
|
||||||
|
|
||||||
|
@ -263,6 +262,9 @@ class Domain < ActiveRecord::Base
|
||||||
address: #{registrar.address}
|
address: #{registrar.address}
|
||||||
created: #{registrar.created_at.to_s(:db)}
|
created: #{registrar.created_at.to_s(:db)}
|
||||||
changed: #{registrar.updated_at.to_s(:db)}
|
changed: #{registrar.updated_at.to_s(:db)}
|
||||||
|
|
||||||
|
Estonia .ee Top Level Domain WHOIS server
|
||||||
|
More information at http://internet.ee
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
# rubocop:enable Metrics/MethodLength
|
# rubocop:enable Metrics/MethodLength
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue