lib/mihari/structs/hunterhow.rb in mihari-5.6.1 vs lib/mihari/structs/hunterhow.rb in mihari-5.6.2
- old
+ new
@@ -12,14 +12,14 @@
def ip
attributes[:ip]
end
#
- # @return [Mihari::Artifact]
+ # @return [Mihari::Models::Artifact]
#
def artifact
- Artifact.new(data: ip)
+ Models::Artifact.new(data: ip)
end
class << self
#
# @param [Hash] d
@@ -47,10 +47,10 @@
def list
attributes[:list]
end
#
- # @return [Array<Mihari::Artifact>]
+ # @return [Array<Mihari::Models::Artifact>]
#
def artifacts
list.map(&:artifact)
end