Class: Scryer::DependencyAudit::Finding

Inherits:
Struct
  • Object
show all
Defined in:
lib/scryer/dependency_audit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#advisory_idObject

Returns the value of attribute advisory_id

Returns:

  • (Object)

    the current value of advisory_id



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def advisory_id
  @advisory_id
end

#gem_nameObject

Returns the value of attribute gem_name

Returns:

  • (Object)

    the current value of gem_name



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def gem_name
  @gem_name
end

#installed_versionObject

Returns the value of attribute installed_version

Returns:

  • (Object)

    the current value of installed_version



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def installed_version
  @installed_version
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def kind
  @kind
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def message
  @message
end

#patched_versionsObject

Returns the value of attribute patched_versions

Returns:

  • (Object)

    the current value of patched_versions



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def patched_versions
  @patched_versions
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def severity
  @severity
end

#suggested_fixObject

Returns the value of attribute suggested_fix

Returns:

  • (Object)

    the current value of suggested_fix



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def suggested_fix
  @suggested_fix
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def title
  @title
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



30
31
32
# File 'lib/scryer/dependency_audit.rb', line 30

def url
  @url
end

Instance Method Details

#to_hObject



43
44
45
# File 'lib/scryer/dependency_audit.rb', line 43

def to_h
  super.transform_keys(&:to_s)
end