Class: Osakana::Enrichers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/osakana/enrichers/base.rb

Direct Known Subclasses

Enricher, Robtex, SecurityTrails

Instance Method Summary collapse

Instance Method Details

#domain_to_ipv4(_domain) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/osakana/enrichers/base.rb', line 6

def domain_to_ipv4(_domain)
  raise NotImplementedError, "You must implement #{self.class}##{__method__}"
end

#ipv4_to_domain(_ipv4) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/osakana/enrichers/base.rb', line 10

def ipv4_to_domain(_ipv4)
  raise NotImplementedError, "You must implement #{self.class}##{__method__}"
end