Class: Controls::SecurityControlFinding
- Inherits:
-
Dish::Plate
- Object
- Dish::Plate
- Controls::SecurityControlFinding
- Defined in:
- lib/controls/objects/security_control_finding.rb
Overview
An object to represent the highest level of the finding API resources
Instance Method Summary collapse
-
#to_s ⇒ String
A representation of the findings prefixed with the collection name.
Instance Method Details
#to_s ⇒ String
Returns a representation of the findings prefixed with the collection name.
11 12 13 |
# File 'lib/controls/objects/security_control_finding.rb', line 11 def to_s "#{name}: #{findings.map { |finding| "\n #{finding}" }.join}" end |