Class: Mihari::Enrichers::MMDB
- Defined in:
- lib/mihari/enrichers/mmdb.rb
Overview
MMDB enricher
Constant Summary
Constants included from Concerns::Retriable
Concerns::Retriable::DEFAULT_CONDITION, Concerns::Retriable::RETRIABLE_ERRORS
Instance Attribute Summary
Attributes inherited from Actor
Instance Method Summary collapse
-
#call(ip) ⇒ Mihari::Structs::MMDB::Response
Query MMDB.
Methods inherited from Base
inherited, #initialize, #result
Methods inherited from Actor
#initialize, key, key_aliases, keys, #result, #retry_exponential_backoff, #retry_interval, #retry_times, #timeout, type, #validate_configuration!
Methods included from Concerns::Retriable
Methods included from Concerns::Configurable
#configuration_keys?, #configured?
Constructor Details
This class inherits a constructor from Mihari::Enrichers::Base
Instance Method Details
#call(ip) ⇒ Mihari::Structs::MMDB::Response
Query MMDB
16 17 18 |
# File 'lib/mihari/enrichers/mmdb.rb', line 16 def call(ip) client.query ip end |