class Whois::Parsers::WhoisCnnicCn
Parser
for the whois.cnnic.cn server.
Public Instance Methods
reserved?()
click to toggle source
NEWPROPERTY
# File lib/whois/parsers/whois.cnnic.cn.rb, line 88 def reserved? !!node("status:reserved") end
Private Instance Methods
build_contact(element, type)
click to toggle source
# File lib/whois/parsers/whois.cnnic.cn.rb, line 95 def build_contact(element, type) node("#{element}") do |value| Parser::Contact.new( :type => type, :id => node("#{element} ID"), :name => value, :email => node("#{element} Contact Email") ) end end