Class: ONEAccess::DataObject::City

Inherits:
Object
  • Object
show all
Defined in:
lib/oneaccess/data_object/city.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



9
10
11
# File 'lib/oneaccess/data_object/city.rb', line 9

def code
  @code
end

#countryObject

Returns the value of attribute country.



13
14
15
# File 'lib/oneaccess/data_object/city.rb', line 13

def country
  @country
end

#descriptionObject

Returns the value of attribute description.



10
11
12
# File 'lib/oneaccess/data_object/city.rb', line 10

def description
  @description
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/oneaccess/data_object/city.rb', line 7

def id
  @id
end

#latitudeObject

Returns the value of attribute latitude.



12
13
14
# File 'lib/oneaccess/data_object/city.rb', line 12

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



11
12
13
# File 'lib/oneaccess/data_object/city.rb', line 11

def longitude
  @longitude
end

#nameObject

Returns the value of attribute name.



8
9
10
# File 'lib/oneaccess/data_object/city.rb', line 8

def name
  @name
end

#regionObject

Returns the value of attribute region.



14
15
16
# File 'lib/oneaccess/data_object/city.rb', line 14

def region
  @region
end