mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53: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
|
Estonia .ee Top Level Domain WHOIS server
|
||||||
|
|
||||||
Domain:
|
Domain:
|
||||||
name: <%= json[:name] %>
|
name: <%= json['name'] %>
|
||||||
<%- for st in Array(json[:status]) -%>
|
<%- for st in Array(json['status']) -%>
|
||||||
status: <%= st %>
|
status: <%= st %>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
registered: <%= json[:registered].to_s.tr('T',' ').sub('+', ' +') %>
|
registered: <%= json['registered'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
changed: <%= json[:changed].to_s.tr('T',' ').sub('+', ' +') %>
|
changed: <%= json['changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
expire: <%= json[:expire].to_s.tr('T',' ').sub('+', ' +') %>
|
expire: <%= json['expire'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
outzone: <%= json[:outzone].to_s.tr('T',' ').sub('+', ' +') %>
|
outzone: <%= json['outzone'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
delete: <%= json[:delete].to_s.tr('T',' ').sub('+', ' +') %>
|
delete: <%= json['delete'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
|
|
||||||
Registrant:
|
Registrant:
|
||||||
name: <%= json[:registrant] %>
|
name: <%= json['registrant'] %>
|
||||||
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
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
|
Administrative contact
|
||||||
<%- for contact in json[:admin_contacts] -%>
|
<%- for contact in json['admin_contacts'] -%>
|
||||||
name: <%= contact[:name] %>
|
name: <%= contact['name'] %>
|
||||||
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
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 -%>
|
||||||
|
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<% if json[:tech_contacts].present? %>
|
<% if json['tech_contacts'].present? %>
|
||||||
Technical contact:
|
Technical contact:
|
||||||
<%- for contact in json[:admin_contacts] -%>
|
<%- for contact in json['admin_contacts'] -%>
|
||||||
name: <%= contact[:name] %>
|
name: <%= contact['name'] %>
|
||||||
email: Not Disclosed - Visit www.internet.ee for webbased WHOIS
|
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 -%>
|
||||||
|
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
Registrar:
|
Registrar:
|
||||||
name: <%= json[:registrar] %>
|
name: <%= json['registrar'] %>
|
||||||
url: <%= json[:registrar_url] %>
|
url: <%= json['registrar_url'] %>
|
||||||
phone: <%= json[:registrar_phone] %>
|
phone: <%= json['registrar_phone'] %>
|
||||||
changed: <%= json[:registrar_changed].to_s.tr('T',' ').sub('+', ' +') %>
|
changed: <%= json['registrar_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
|
|
||||||
<%- if json[:nameservers].present? -%>
|
<%- if json['nameservers'].present? -%>
|
||||||
Name servers:
|
Name servers:
|
||||||
<%- for server in json[:nameservers] -%>
|
<%- for server in json['nameservers'] -%>
|
||||||
nserver: <%= server %>
|
nserver: <%= server %>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
changed: <%= json[:nameservers_changed].to_s.tr('T',' ').sub('+', ' +') %>
|
changed: <%= json['nameservers_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
|
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if json[:dnssec_keys].present? -%>
|
<%- if json['dnssec_keys'].present? -%>
|
||||||
DNSSEC:
|
DNSSEC:
|
||||||
<%- for key in json[:dnssec_keys] -%>
|
<%- for key in json['dnssec_keys'] -%>
|
||||||
dnskey: <%= key %>
|
dnskey: <%= key %>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
changed: <%= json[:dnssec_changed].to_s.tr('T',' ').sub('+', ' +') %>
|
changed: <%= json['dnssec_changed'].to_s.tr('T',' ').sub('+', ' +') %>
|
||||||
|
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
Estonia .ee Top Level Domain WHOIS server
|
Estonia .ee Top Level Domain WHOIS server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue