Class: Edoxen::DecisionMetadata
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Edoxen::DecisionMetadata
- Includes:
- BodyVocabularyHost
- Defined in:
- lib/edoxen/decision_metadata.rb,
sig/edoxen.rbs
Overview
Collection-level metadata: the title (string for default / single-language
collections, or title_localized[] for multilingual), the meeting date,
the source secretariat, per-language source PDFs, and the host venue.
Instance Attribute Summary collapse
-
#city ⇒ String?
readonly
Returns the value of attribute city.
-
#country_code ⇒ String?
readonly
Returns the value of attribute country_code.
-
#date ⇒ Date?
readonly
Returns the value of attribute date.
-
#meeting_urn ⇒ String?
readonly
Returns the value of attribute meeting_urn.
-
#source ⇒ String?
readonly
Returns the value of attribute source.
-
#source_urls ⇒ Array[SourceUrl]?
readonly
Returns the value of attribute source_urls.
-
#title ⇒ String?
readonly
Returns the value of attribute title.
Instance Method Summary collapse
Methods included from BodyVocabularyHost
Instance Attribute Details
#city ⇒ String? (readonly)
Returns the value of attribute city.
185 186 187 |
# File 'sig/edoxen.rbs', line 185 def city @city end |
#country_code ⇒ String? (readonly)
Returns the value of attribute country_code.
186 187 188 |
# File 'sig/edoxen.rbs', line 186 def country_code @country_code end |
#date ⇒ Date? (readonly)
Returns the value of attribute date.
182 183 184 |
# File 'sig/edoxen.rbs', line 182 def date @date end |
#meeting_urn ⇒ String? (readonly)
Returns the value of attribute meeting_urn.
187 188 189 |
# File 'sig/edoxen.rbs', line 187 def meeting_urn @meeting_urn end |
#source ⇒ String? (readonly)
Returns the value of attribute source.
183 184 185 |
# File 'sig/edoxen.rbs', line 183 def source @source end |
#source_urls ⇒ Array[SourceUrl]? (readonly)
Returns the value of attribute source_urls.
184 185 186 |
# File 'sig/edoxen.rbs', line 184 def source_urls @source_urls end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
181 182 183 |
# File 'sig/edoxen.rbs', line 181 def title @title end |
Instance Method Details
#city_entry ⇒ Object
23 24 25 26 27 |
# File 'lib/edoxen/decision_metadata.rb', line 23 def city_entry return nil if city.nil? || city.to_s.empty? Edoxen::ReferenceData.find_unlocode(city) end |