Class: Edoxen::SourceUrl

Inherits:
Lutaml::Model::Serializable
  • Object
show all
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

Instance Attribute Details

#formatString? (readonly)

Returns the value of attribute format.

Returns:

  • (String, nil)


82
83
84
# File 'sig/edoxen.rbs', line 82

def format
  @format
end

#kindString? (readonly)

Returns the value of attribute kind.

Returns:

  • (String, nil)


84
85
86
# File 'sig/edoxen.rbs', line 84

def kind
  @kind
end

#language_codeString? (readonly)

Returns the value of attribute language_code.

Returns:

  • (String, nil)


83
84
85
# File 'sig/edoxen.rbs', line 83

def language_code
  @language_code
end

#refString? (readonly)

Returns the value of attribute ref.

Returns:

  • (String, nil)


81
82
83
# File 'sig/edoxen.rbs', line 81

def ref
  @ref
end