Class: Capsium::Package::Resource
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Capsium::Package::Resource
- Defined in:
- lib/capsium/package/manifest_config.rb,
sig/capsium/package/manifest_config.rbs
Overview
A single manifest resource entry (ARCHITECTURE.md section 3).
Constant Summary collapse
- VISIBILITIES =
%w[exported private].freeze
Instance Attribute Summary collapse
-
#type ⇒ String?
Returns the value of attribute type.
-
#version ⇒ String?
Returns the value of attribute version.
-
#visibility ⇒ String
Returns the value of attribute visibility.
Instance Method Summary collapse
Constructor Details
#initialize ⇒ Object
11 |
# File 'sig/capsium/package/manifest_config.rbs', line 11
def initialize: (?type: String? type, ?visibility: String? visibility,
|
Instance Attribute Details
#type ⇒ String?
Returns the value of attribute type.
7 8 9 |
# File 'sig/capsium/package/manifest_config.rbs', line 7 def type @type end |
#version ⇒ String?
Returns the value of attribute version.
9 10 11 |
# File 'sig/capsium/package/manifest_config.rbs', line 9 def version @version end |
#visibility ⇒ String
Returns the value of attribute visibility.
8 9 10 |
# File 'sig/capsium/package/manifest_config.rbs', line 8 def visibility @visibility end |
Instance Method Details
#to_hash ⇒ Hash[String, untyped]
15 |
# File 'sig/capsium/package/manifest_config.rbs', line 15
def to_hash: () -> Hash[String, untyped]
|
#to_json ⇒ String
14 |
# File 'sig/capsium/package/manifest_config.rbs', line 14
def to_json: (*untyped args) -> String
|