Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

whois.nic.ec doesn't seem to support status

  • Loading branch information...
commit 2e4436e1d547159bb31907d710e215cd162f960d 1 parent 358e06e
Simone Carletti authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/whois/record/parser/whois.nic.ec.rb
8 lib/whois/record/parser/whois.nic.ec.rb
View
@@ -21,6 +21,14 @@ class Parser
# The Example parser for the list of all available methods.
#
class WhoisNicEc < BaseCocca
+ property_supported :status do
+ if content_for_scanner =~ /Status:\s+(.+?)\n/
+ super()
+ else
+ registrar ? :registered : :available
+ # Whois.bug!(ParserError, "Unable to parse status.")
+ end
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.