debian-mirror-gitlab/lib/gitlab/ci/reports/sbom/source.rb
2022-08-27 11:52:29 +05:30

19 lines
390 B
Ruby

# frozen_string_literal: true
module Gitlab
module Ci
module Reports
module Sbom
class Source
attr_reader :source_type, :data, :fingerprint
def initialize(source = {})
@source_type = source['type']
@data = source['data']
@fingerprint = source['fingerprint']
end
end
end
end
end
end