class Truemail::Log::Serializer::AuditorJson
Public Instance Methods
serialize()
click to toggle source
# File lib/truemail/log/serializer/auditor_json.rb, line 7 def serialize result.to_json end
Private Instance Methods
result()
click to toggle source
# File lib/truemail/log/serializer/auditor_json.rb, line 13 def result @result ||= { date: ::Time.now, current_host_ip: executor_result.current_host_ip, warnings: warnings(executor_result.warnings), configuration: configuration } end