Sha256: 8c0b193cfd152324a22243c4f372a56facab9346047b9422960282b7b300ba26
Contents?: true
Size: 534 Bytes
Versions: 11
Compression:
Stored size: 534 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
11 entries across 11 versions & 1 rubygems