Class: SBOM::CycloneDX::Record::LicenseChoice::WrappedLicense
- Defined in:
- lib/sbom/cyclone_dx/record/license_choice.rb,
sig/sbom/cyclone_dx/record/license_choice.rbs
Overview
Schema name: WrappedLicense
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ WrappedLicense
constructor
A new instance of WrappedLicense.
- #license ⇒ License
- #license= ⇒ License
- #license? ⇒ Boolean
- #license_valid? ⇒ Boolean
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
#initialize ⇒ WrappedLicense
Returns a new instance of WrappedLicense.
10 |
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 10
def initialize: (license: License) -> void
|
Instance Method Details
#license ⇒ License
12 |
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 12
def license: () -> License
|
#license= ⇒ License
13 |
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 13
def license=: (License) -> License
|
#license? ⇒ Boolean
14 |
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 14
def license?: () -> bool
|
#license_valid? ⇒ Boolean
15 |
# File 'sig/sbom/cyclone_dx/record/license_choice.rbs', line 15
def license_valid?: () -> bool
|