Class: Bootprint::Security::Auditor::Issue

Inherits:
Struct
  • Object
show all
Defined in:
lib/bootprint/security/auditor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



6
7
8
# File 'lib/bootprint/security/auditor.rb', line 6

def kind
  @kind
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



6
7
8
# File 'lib/bootprint/security/auditor.rb', line 6

def message
  @message
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



6
7
8
# File 'lib/bootprint/security/auditor.rb', line 6

def path
  @path
end

Instance Method Details

#to_hObject



7
# File 'lib/bootprint/security/auditor.rb', line 7

def to_h = { "path" => path, "kind" => kind, "message" => message }