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

- old
+ new

@@ -1,20 +1,20 @@ -class Whois::Domain::Museum < Whois::Domain::Base - HOST = "whois.museum" - ATTR_MATCH = /^([^:]+):\s(.*)\r$/ - responds_to :museum - - ATTR_NAMES = { - :registrar_name => "Registrar ID", - :created_on => "Created On", - :updated_on => "Last Updated On", - :expires_on => "Expiration Date" - } - - def available? - @raw =~ /NOT FOUND/ - end - - def register_url - "http://about.museum/register/" - end +class Whois::Domain::Museum < Whois::Domain::Base + HOST = "whois.museum" + ATTR_MATCH = /^([^:]+):\s(.*)\r$/ + responds_to :museum + + ATTR_NAMES = { + :registrar_name => "Registrar ID", + :created_on => "Created On", + :updated_on => "Last Updated On", + :expires_on => "Expiration Date" + } + + def available? + @raw =~ /NOT FOUND/ + end + + def register_url + "http://about.museum/register/" + end end \ No newline at end of file