lib/whois/record/parser/whois.nic.cz.rb in whois-3.3.0 vs lib/whois/record/parser/whois.nic.cz.rb in whois-3.3.1
- old
+ new
@@ -6,10 +6,11 @@
# Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net>
#++
require 'whois/record/parser/base_whoisd'
+require 'whois/record/scanners/whois.nic.cz.rb'
module Whois
class Record
class Parser
@@ -18,15 +19,23 @@
#
# @see Whois::Record::Parser::Example
# The Example parser for the list of all available methods.
#
class WhoisNicCz < BaseWhoisd
+
+ self.scanner = Scanners::WhoisNicCz
+
self.status_mapping = {
"paid and in zone" => :registered,
"update prohibited" => :registered,
"expired" => :expired,
"to be deleted" => :expired,
}
+
+ def response_throttled?
+ !!node("response:throttled")
+ end
+
end
end
end
end