Class: Scryer::DependencyAudit::Finding
- Inherits:
-
Struct
- Object
- Struct
- Scryer::DependencyAudit::Finding
- Defined in:
- lib/scryer/dependency_audit.rb
Instance Attribute Summary collapse
-
#advisory_id ⇒ Object
Returns the value of attribute advisory_id.
-
#gem_name ⇒ Object
Returns the value of attribute gem_name.
-
#installed_version ⇒ Object
Returns the value of attribute installed_version.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#message ⇒ Object
Returns the value of attribute message.
-
#patched_versions ⇒ Object
Returns the value of attribute patched_versions.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#suggested_fix ⇒ Object
Returns the value of attribute suggested_fix.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#advisory_id ⇒ Object
Returns the value of attribute advisory_id
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def advisory_id @advisory_id end |
#gem_name ⇒ Object
Returns the value of attribute gem_name
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def gem_name @gem_name end |
#installed_version ⇒ Object
Returns the value of attribute installed_version
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def installed_version @installed_version end |
#kind ⇒ Object
Returns the value of attribute kind
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def kind @kind end |
#message ⇒ Object
Returns the value of attribute message
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def @message end |
#patched_versions ⇒ Object
Returns the value of attribute patched_versions
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def patched_versions @patched_versions end |
#severity ⇒ Object
Returns the value of attribute severity
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def severity @severity end |
#suggested_fix ⇒ Object
Returns the value of attribute suggested_fix
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def suggested_fix @suggested_fix end |
#title ⇒ Object
Returns the value of attribute title
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def title @title end |
#url ⇒ Object
Returns the value of attribute url
30 31 32 |
# File 'lib/scryer/dependency_audit.rb', line 30 def url @url end |
Instance Method Details
#to_h ⇒ Object
43 44 45 |
# File 'lib/scryer/dependency_audit.rb', line 43 def to_h super.transform_keys(&:to_s) end |