Sha256: 7af0c2a772a3dd42b84747e70533493f0da4a0ad486cf872bc319110db519185
Contents?: true
Size: 536 Bytes
Versions: 49
Compression:
Stored size: 536 Bytes
Contents
# frozen_string_literal: true module Truemail class Auditor < Truemail::Executor Result = ::Struct.new(:current_host_ip, :warnings, :configuration, keyword_init: true) do def initialize(warnings: {}, **args) super end end def initialize(configuration:) @result = Truemail::Auditor::Result.new(configuration: configuration) end def run Truemail::Audit::Ip.check(result) self end def as_json Truemail::Log::Serializer::AuditorJson.call(self) end end end
Version data entries
49 entries across 49 versions & 1 rubygems