Class: Mihari::Services::ArtifactGetter
- Inherits:
-
Mihari::Service
- Object
- Mihari::Service
- Mihari::Services::ArtifactGetter
- Defined in:
- lib/mihari/services/getters.rb
Instance Method Summary collapse
Methods inherited from Mihari::Service
Instance Method Details
#call(id) ⇒ Mihari::Models::Artifact
11 12 13 14 15 16 17 18 19 |
# File 'lib/mihari/services/getters.rb', line 11 def call(id) Mihari::Models::Artifact.eager_load( :autonomous_system, :geolocation, :whois_record, :dns_records, :reverse_dns_names ).find id end |