Class: MessageCommandResult

Inherits:
AbstractCommandResult show all
Defined in:
lib/audit/lib/parser/command/message_command.rb

Instance Attribute Summary

Attributes inherited from AbstractCommandResult

#check, #message, #severity, #type

Instance Method Summary collapse

Methods inherited from AbstractCommandResult

#to_hash, #to_string, #visible?

Constructor Details

#initialize(check, severity, message) ⇒ MessageCommandResult

Returns a new instance of MessageCommandResult.



6
7
8
# File 'lib/audit/lib/parser/command/message_command.rb', line 6

def initialize(check, severity, message)
  super(check, severity, message, ResultType::MESSAGE)
end