class PassiveDNS::PassiveDB
abstract class that all PassiveDNS::Provider
should subclass
Public Class Methods
config_section_name()
click to toggle source
raises an exception that this should be implemented by the subclass
# File lib/passivedns/client/passivedb.rb, line 10 def self.config_section_name name end
name()
click to toggle source
raises an exception that this should be implemented by the subclass
# File lib/passivedns/client/passivedb.rb, line 5 def self.name raise "You should implement your own version of .name" end
option_letter()
click to toggle source
raises an exception that this should be implemented by the subclass
# File lib/passivedns/client/passivedb.rb, line 15 def self.option_letter raise "You should pick a unique letter to serve as your database option letter for the command line option -d" end
Public Instance Methods
lookup(label, limit=nil)
click to toggle source
raises an exception that this should be implemented by the subclass
# File lib/passivedns/client/passivedb.rb, line 20 def lookup(label, limit=nil) raise "You must implement the lookup function" end