Class: Pumi::DataSource::NCDD::Row
- Inherits:
-
Struct
- Object
- Struct
- Pumi::DataSource::NCDD::Row
- Defined in:
- lib/pumi/data_source/ncdd.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#name_km ⇒ Object
Returns the value of attribute name_km.
-
#name_latin ⇒ Object
Returns the value of attribute name_latin.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
30 31 32 |
# File 'lib/pumi/data_source/ncdd.rb', line 30 def code @code end |
#name_km ⇒ Object
Returns the value of attribute name_km
30 31 32 |
# File 'lib/pumi/data_source/ncdd.rb', line 30 def name_km @name_km end |
#name_latin ⇒ Object
Returns the value of attribute name_latin
30 31 32 |
# File 'lib/pumi/data_source/ncdd.rb', line 30 def name_latin @name_latin end |
#type ⇒ Object
Returns the value of attribute type
30 31 32 |
# File 'lib/pumi/data_source/ncdd.rb', line 30 def type @type end |
Instance Method Details
#administrative_unit ⇒ Object
31 32 33 |
# File 'lib/pumi/data_source/ncdd.rb', line 31 def administrative_unit ADMINISTRATIVE_UNITS.fetch(type) end |