Class: Baan::AdministrativeDivision
- Inherits:
-
Data
- Object
- Data
- Baan::AdministrativeDivision
- Defined in:
- lib/baan/administrative_division.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#latitude ⇒ Object
readonly
Returns the value of attribute latitude.
-
#longitude ⇒ Object
readonly
Returns the value of attribute longitude.
-
#name_en ⇒ Object
readonly
Returns the value of attribute name_en.
-
#name_lo ⇒ Object
readonly
Returns the value of attribute name_lo.
-
#parent_division ⇒ Object
readonly
Returns the value of attribute parent_division.
-
#subdivisions ⇒ Object
readonly
Returns the value of attribute subdivisions.
Class Method Summary collapse
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code
2 3 4 |
# File 'lib/baan/administrative_division.rb', line 2 def code @code end |
#latitude ⇒ Object (readonly)
Returns the value of attribute latitude
2 3 4 |
# File 'lib/baan/administrative_division.rb', line 2 def latitude @latitude end |
#longitude ⇒ Object (readonly)
Returns the value of attribute longitude
2 3 4 |
# File 'lib/baan/administrative_division.rb', line 2 def longitude @longitude end |
#name_en ⇒ Object (readonly)
Returns the value of attribute name_en
2 3 4 |
# File 'lib/baan/administrative_division.rb', line 2 def name_en @name_en end |
#name_lo ⇒ Object (readonly)
Returns the value of attribute name_lo
2 3 4 |
# File 'lib/baan/administrative_division.rb', line 2 def name_lo @name_lo end |
#parent_division ⇒ Object (readonly)
Returns the value of attribute parent_division
2 3 4 |
# File 'lib/baan/administrative_division.rb', line 2 def parent_division @parent_division end |
#subdivisions ⇒ Object (readonly)
Returns the value of attribute subdivisions
2 3 4 |
# File 'lib/baan/administrative_division.rb', line 2 def subdivisions @subdivisions end |
Class Method Details
.[](code) ⇒ Object
8 9 10 |
# File 'lib/baan/administrative_division.rb', line 8 def [](code) data[code] end |
.all ⇒ Object
4 5 6 |
# File 'lib/baan/administrative_division.rb', line 4 def all data.values end |