Class: Graphiti::Audit::Finding

Inherits:
Struct
  • Object
show all
Defined in:
lib/graphiti/audit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#checkObject

Returns the value of attribute check

Returns:

  • (Object)

    the current value of check



4
5
6
# File 'lib/graphiti/audit.rb', line 4

def check
  @check
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



4
5
6
# File 'lib/graphiti/audit.rb', line 4

def message
  @message
end

#remedyObject

Returns the value of attribute remedy

Returns:

  • (Object)

    the current value of remedy



4
5
6
# File 'lib/graphiti/audit.rb', line 4

def remedy
  @remedy
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



4
5
6
# File 'lib/graphiti/audit.rb', line 4

def severity
  @severity
end

Instance Method Details

#error?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/graphiti/audit.rb', line 5

def error?
  severity == :error
end