Class: SBOM::CycloneDX::Record::Advisory
- Inherits:
-
Base
- Object
- Base
- SBOM::CycloneDX::Record::Advisory
show all
- Defined in:
- lib/sbom/cyclone_dx/record/advisory.rb,
sig/sbom/cyclone_dx/record/advisory.rbs
Overview
Constant Summary
Constants inherited
from Base
Base::Record
Instance Attribute Summary
Attributes inherited from Base
#errors
Instance Method Summary
collapse
Methods inherited from Base
#<=>, const, custom_validators, fields, #formatted_errors, json_create, json_name, prop, #valid!, #valid?, validate
Methods included from _Klass
#const, #const_names, #create, #create!, #custom_validators, #fields, #json_name, #prop, #prop_names, #validate
Methods included from _Instance
#as_json, #errors, #formatted_errors, #to_json, #valid?
Constructor Details
Returns a new instance of Advisory.
5
|
# File 'sig/sbom/cyclone_dx/record/advisory.rbs', line 5
def initialize: (?title: String?, url: uri) -> void
|
Instance Method Details
#title ⇒ String?
7
|
# File 'sig/sbom/cyclone_dx/record/advisory.rbs', line 7
def title: () -> String?
|
#title= ⇒ String?
8
|
# File 'sig/sbom/cyclone_dx/record/advisory.rbs', line 8
def title=: (String?) -> String?
|
#title? ⇒ Boolean
9
|
# File 'sig/sbom/cyclone_dx/record/advisory.rbs', line 9
def title?: () -> bool
|
#title_valid? ⇒ Boolean
10
|
# File 'sig/sbom/cyclone_dx/record/advisory.rbs', line 10
def title_valid?: () -> bool
|
#url ⇒ uri
12
|
# File 'sig/sbom/cyclone_dx/record/advisory.rbs', line 12
def url: () -> uri
|
#url= ⇒ uri
13
|
# File 'sig/sbom/cyclone_dx/record/advisory.rbs', line 13
def url=: (uri) -> uri
|
#url? ⇒ Boolean
14
|
# File 'sig/sbom/cyclone_dx/record/advisory.rbs', line 14
def url?: () -> bool
|
#url_valid? ⇒ Boolean
15
|
# File 'sig/sbom/cyclone_dx/record/advisory.rbs', line 15
def url_valid?: () -> bool
|