lib/whois/domain/pro.rb in jm81-whois-0.5.0 vs lib/whois/domain/pro.rb in jm81-whois-0.6.0
- old
+ new
@@ -1,24 +1,24 @@
-class Whois::Domain::Pro < Whois::Domain::Base
- HOST = "whois.registrypro.pro"
- ATTR_MATCH = /^([^:]+):\W*(.*)\r$/
- responds_to :pro
-
- ATTR_NAMES = {
- :registrar_name => "Sponsoring Registrar",
- :created_on => "Created On",
- :updated_on => "Last Updated On",
- :expires_on => "Expiration Date"
- }
-
- def status
- attrs["Status"] ? attrs["Status"][0].split(",").collect{|d| d.strip} : nil
- end
-
- def register_url
- "http://www.registrypro.pro/partners_findaregistrar.htm"
- end
-
- def available?
- @raw =~ /^No match/
- end
+class Whois::Domain::Pro < Whois::Domain::Base
+ HOST = "whois.registrypro.pro"
+ ATTR_MATCH = /^([^:]+):\W*(.*)\r$/
+ responds_to :pro
+
+ ATTR_NAMES = {
+ :registrar_name => "Sponsoring Registrar",
+ :created_on => "Created On",
+ :updated_on => "Last Updated On",
+ :expires_on => "Expiration Date"
+ }
+
+ def status
+ attrs["Status"] ? attrs["Status"][0].split(",").collect{|d| d.strip} : nil
+ end
+
+ def register_url
+ "http://www.registrypro.pro/partners_findaregistrar.htm"
+ end
+
+ def available?
+ @raw =~ /^No match/
+ end
end
\ No newline at end of file