From 2ca6e50f4f618f8ec02bdb5729d76170105ff3c2 Mon Sep 17 00:00:00 2001 From: Denis Giraud Date: Mon, 6 May 2019 16:25:54 +0200 Subject: [PATCH] deleted the unwanted file --- lib/whois/parsers/whois.ovh.com.rb | 167 ----------------------------- 1 file changed, 167 deletions(-) delete mode 100644 lib/whois/parsers/whois.ovh.com.rb diff --git a/lib/whois/parsers/whois.ovh.com.rb b/lib/whois/parsers/whois.ovh.com.rb deleted file mode 100644 index 5712c96f..00000000 --- a/lib/whois/parsers/whois.ovh.com.rb +++ /dev/null @@ -1,167 +0,0 @@ -#-- -# Ruby Whois -# -# An intelligent pure Ruby WHOIS client and parser. -# -# Copyright (c) 2009-2018 Simone Carletti -#++ - - -require_relative 'base' - - -module Whois - class Parsers - - # Parser for the whois.example.com server. - # - # In case you are not implementing all the methods, - # please add the following statement to the class docblock. - # - # @note This parser is just a stub and provides only a few basic methods - # to check for domain availability and get domain status. - # Please consider to contribute implementing missing methods. - class WhoisOvhCom < Base - - # Gets the registry disclaimer that comes with the record. - # - # Returns a String with the disclaimer if available, - # nil otherwise. - property_supported :disclaimer do - nil - end - - - # Gets the domain name as stored by the registry. - # - # Returns a String with the domain name if available, - # nil otherwise. - property_supported :domain do - nil - end - - # Gets the unique domain ID as stored by the registry. - # - # Returns a String with the domain ID if available, - # nil otherwise. - property_supported :domain_id do - nil - end - - - # Gets the record status or statuses. - # - # Returns a String/Array with the record status if available, - # nil otherwise. - property_supported :status do - if available? - :available - else - :registered - end - end - - # Checks whether this record is available. - # - # Returns true/false depending whether this record is available. - property_supported :available? do - !!(content_for_scanner =~ /domain name not known/) - end - - # Checks whether this record is registered. - # - # Returns true/false depending this record is available. - property_supported :registered? do - !available? - end - - - # Gets the date the record was created, - # according to the registry record. - # - # Returns a Time object representing the date the record was created or - # nil otherwise. - property_supported :created_on do - nil - end - - # Gets the date the record was last updated, - # according to the registry record. - # - # Returns a Time object representing the date the record was last updated or - # nil if not available. - property_supported :updated_on do - nil - end - - # Gets the date the record is set to expire, - # according to the registry record. - # - # Returns a Time object representing the date the record is set to expire or - # nil if not available. - property_supported :expires_on do - nil - end - - - # Gets the registrar object containing the registrar details - # extracted from the registry record. - # - # Returns an instance of Parser::Registrar representing the registrar or - # nil if not available. - property_supported :registrar do - nil - end - - - # Gets the registrant contact object containing the details of the record owner - # extracted from the registry record. - # - # Returns an instance of Parser::Contact representing the registrant contact or - # nil if not available. - property_supported :registrant_contacts do - nil - end - - # Gets the administrative contact object containing the details of the record administrator - # extracted from the registry record. - # - # Returns an instance of Parser::Contact representing the administrative contact or - # nil if not available. - property_supported :admin_contacts do - nil - end - - # Gets the technical contact object containing the details of the technical representative - # extracted from the registry record. - # - # Returns an instance of Parser::Contact representing the technical contact or - # nil if not available. - property_supported :technical_contacts do - nil - end - - - # Gets the list of name server entries for this record, - # extracted from the registry record. - # - # @example - # nameserver - # # => [] - # - # @example - # nameserver - # # => [ - # # #, - # # # - # # ] - # - # @return [Array] - property_supported :nameservers do - [] - end - - end - - end -end