lib/mihari/analyzers/hunterhow.rb in mihari-5.4.0 vs lib/mihari/analyzers/hunterhow.rb in mihari-5.4.1
- old
+ new
@@ -1,13 +1,10 @@
# frozen_string_literal: true
module Mihari
module Analyzers
class HunterHow < Base
- # @return [Integer]
- PAGE_SIZE = 100
-
# @return [String, nil]
attr_reader :api_key
# @return [Date]
attr_reader :start_time
@@ -52,14 +49,17 @@
end
artifacts.flatten
end
- private
-
def configuration_keys
%w[hunterhow_api_key]
end
+
+ private
+
+ # @return [Integer]
+ PAGE_SIZE = 100
def client
@client ||= Clients::HunterHow.new(api_key: api_key)
end
end