Class: Edoxen::SourceUrl
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Edoxen::SourceUrl
- Defined in:
- lib/edoxen/source_url.rb,
sig/edoxen.rbs
Overview
Per-language canonical source URL (e.g. one PDF per language).
Carries the URL ref, its format, the ISO 639-3 language_code the URL
is the canonical source for, and an optional kind discriminator
(agenda_pdf, minutes_pdf, decisions_pdf, ...) used by the Meeting
model. Existing fixtures without kind still parse — the field is
optional.
Instance Attribute Summary collapse
-
#format ⇒ String?
readonly
Returns the value of attribute format.
-
#kind ⇒ String?
readonly
Returns the value of attribute kind.
-
#language_code ⇒ String?
readonly
Returns the value of attribute language_code.
-
#ref ⇒ String?
readonly
Returns the value of attribute ref.
Instance Attribute Details
#format ⇒ String? (readonly)
Returns the value of attribute format.
82 83 84 |
# File 'sig/edoxen.rbs', line 82 def format @format end |
#kind ⇒ String? (readonly)
Returns the value of attribute kind.
84 85 86 |
# File 'sig/edoxen.rbs', line 84 def kind @kind end |
#language_code ⇒ String? (readonly)
Returns the value of attribute language_code.
83 84 85 |
# File 'sig/edoxen.rbs', line 83 def language_code @language_code end |
#ref ⇒ String? (readonly)
Returns the value of attribute ref.
81 82 83 |
# File 'sig/edoxen.rbs', line 81 def ref @ref end |