Class: Capsium::Package::Repository
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Capsium::Package::Repository
- Defined in:
- sig/capsium/package/metadata_config.rbs,
lib/capsium/package/metadata_config.rb
Overview
The repository object of metadata.json.
Instance Attribute Summary collapse
-
#type ⇒ String?
Returns the value of attribute type.
-
#url ⇒ String?
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Repository
constructor
A new instance of Repository.
- #to_hash ⇒ Hash[String, untyped]
- #to_json ⇒ String
Constructor Details
#initialize ⇒ Repository
Returns a new instance of Repository.
8 |
# File 'sig/capsium/package/metadata_config.rbs', line 8
def initialize: (?type: String? type, ?url: String? url) -> void
|
Instance Attribute Details
#type ⇒ String?
Returns the value of attribute type.
5 6 7 |
# File 'sig/capsium/package/metadata_config.rbs', line 5 def type @type end |
#url ⇒ String?
Returns the value of attribute url.
6 7 8 |
# File 'sig/capsium/package/metadata_config.rbs', line 6 def url @url end |
Instance Method Details
#to_hash ⇒ Hash[String, untyped]
11 |
# File 'sig/capsium/package/metadata_config.rbs', line 11
def to_hash: () -> Hash[String, untyped]
|
#to_json ⇒ String
10 |
# File 'sig/capsium/package/metadata_config.rbs', line 10
def to_json: (*untyped args) -> String
|