Method: Harbor2Client::ScanOverview#initialize
- Defined in:
- lib/harbor2_client/models/scan_overview.rb
#initialize(attributes = {}) ⇒ ScanOverview
Initializes the object
32 33 34 35 36 37 |
# File 'lib/harbor2_client/models/scan_overview.rb', line 32 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } end |