Class: Pumi::DataSource::NCDD::Row

Inherits:
Struct
  • Object
show all
Defined in:
lib/pumi/data_source/ncdd.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



30
31
32
# File 'lib/pumi/data_source/ncdd.rb', line 30

def code
  @code
end

#name_kmObject

Returns the value of attribute name_km

Returns:

  • (Object)

    the current value of name_km



30
31
32
# File 'lib/pumi/data_source/ncdd.rb', line 30

def name_km
  @name_km
end

#name_latinObject

Returns the value of attribute name_latin

Returns:

  • (Object)

    the current value of name_latin



30
31
32
# File 'lib/pumi/data_source/ncdd.rb', line 30

def name_latin
  @name_latin
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



30
31
32
# File 'lib/pumi/data_source/ncdd.rb', line 30

def type
  @type
end

Instance Method Details

#administrative_unitObject



31
32
33
# File 'lib/pumi/data_source/ncdd.rb', line 31

def administrative_unit
  ADMINISTRATIVE_UNITS.fetch(type)
end