lib/whois/domain/afilias.rb in jm81-whois-0.5.0 vs lib/whois/domain/afilias.rb in jm81-whois-0.6.0

- old
+ new

@@ -1,16 +1,16 @@ -class Whois::Domain::Afilias < Whois::Domain::Base - HOST = "whois.afilias.net" - ATTR_MATCH = /^([^:]+):(\S.*)\r$/ - responds_to :info - - ATTR_NAMES = { - :registrar_name => "Sponsoring Registrar", - :created_on => "Created On", - :updated_on => "Last Updated On", - :expires_on => "Expiration Date" - } - - def available? - @raw =~ /NOT FOUND/ - end +class Whois::Domain::Afilias < Whois::Domain::Base + HOST = "whois.afilias.net" + ATTR_MATCH = /^([^:]+):(\S.*)\r$/ + responds_to :info + + ATTR_NAMES = { + :registrar_name => "Sponsoring Registrar", + :created_on => "Created On", + :updated_on => "Last Updated On", + :expires_on => "Expiration Date" + } + + def available? + @raw =~ /NOT FOUND/ + end end \ No newline at end of file