mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
Story#105418634 Update Whois body (json uses stringified_keys)
This commit is contained in:
parent
6ae65a8b42
commit
64942a9599
1 changed files with 27 additions and 27 deletions
|
@ -1,59 +1,59 @@
|
|||
Estonia .ee Top Level Domain WHOIS server
|
||||
|
||||
Domain:
|
||||
name: <%= json[:name] %>
|
||||
<%- for st in Array(json[:status]) -%>
|
||||
name: <%= json['name'] %>
|
||||
<%- for st in Array(json['status']) -%>
|
||||
status: <%= st %>
|
||||
<%- end -%>
|
||||
registered: <%= json[:registered].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
changed: <%= json[:changed].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
expire: <%= json[:expire].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
outzone: <%= json[:outzone].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
delete: <%= json[:delete].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
registered: <%= json['registered'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
changed: <%= json['changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
expire: <%= json['expire'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
outzone: <%= json['outzone'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
delete: <%= json['delete'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
|
||||
Registrant:
|
||||
name: <%= json[:registrant] %>
|
||||
name: <%= json['registrant'] %>
|
||||
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
||||
changed: <%= json[:changed].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
changed: <%= json['changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
|
||||
<%- if json[:admin_contacts].present? -%>
|
||||
<%- if json['admin_contacts'].present? -%>
|
||||
Administrative contact
|
||||
<%- for contact in json[:admin_contacts] -%>
|
||||
name: <%= contact[:name] %>
|
||||
<%- for contact in json['admin_contacts'] -%>
|
||||
name: <%= contact['name'] %>
|
||||
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
||||
changed: <%= contact[:changed].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
changed: <%= contact['changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
<%- end -%>
|
||||
|
||||
<%- end -%>
|
||||
<% if json[:tech_contacts].present? %>
|
||||
<% if json['tech_contacts'].present? %>
|
||||
Technical contact:
|
||||
<%- for contact in json[:admin_contacts] -%>
|
||||
name: <%= contact[:name] %>
|
||||
<%- for contact in json['admin_contacts'] -%>
|
||||
name: <%= contact['name'] %>
|
||||
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
||||
changed: <%= contact[:changed].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
changed: <%= contact['changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
<%- end -%>
|
||||
|
||||
<%- end -%>
|
||||
Registrar:
|
||||
name: <%= json[:registrar] %>
|
||||
url: <%= json[:registrar_url] %>
|
||||
phone: <%= json[:registrar_phone] %>
|
||||
changed: <%= json[:registrar_changed].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
name: <%= json['registrar'] %>
|
||||
url: <%= json['registrar_url'] %>
|
||||
phone: <%= json['registrar_phone'] %>
|
||||
changed: <%= json['registrar_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
|
||||
<%- if json[:nameservers].present? -%>
|
||||
<%- if json['nameservers'].present? -%>
|
||||
Name servers:
|
||||
<%- for server in json[:nameservers] -%>
|
||||
<%- for server in json['nameservers'] -%>
|
||||
nserver: <%= server %>
|
||||
<%- end -%>
|
||||
changed: <%= json[:nameservers_changed].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
changed: <%= json['nameservers_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
|
||||
<%- end -%>
|
||||
<%- if json[:dnssec_keys].present? -%>
|
||||
<%- if json['dnssec_keys'].present? -%>
|
||||
DNSSEC:
|
||||
<%- for key in json[:dnssec_keys] -%>
|
||||
<%- for key in json['dnssec_keys'] -%>
|
||||
dnskey: <%= key %>
|
||||
<%- end -%>
|
||||
changed: <%= json[:dnssec_changed].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
changed: <%= json['dnssec_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||
|
||||
<%- end -%>
|
||||
Estonia .ee Top Level Domain WHOIS server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue