Class: Ravelin::Location

Inherits:
RavelinObject show all
Defined in:
lib/ravelin/location.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from RavelinObject

attr_accessor, attr_required, #initialize, required_attributes, #serializable_hash, #validate

Constructor Details

This class inherits a constructor from Ravelin::RavelinObject

Instance Attribute Details

#cityObject

Returns the value of attribute city.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def city
  @city
end

#countryObject

Returns the value of attribute country.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def country
  @country
end

#customObject

Returns the value of attribute custom.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def custom
  @custom
end

#geohashObject

Returns the value of attribute geohash.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def geohash
  @geohash
end

#latitudeObject

Returns the value of attribute latitude.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def latitude
  @latitude
end

#location_idObject

Returns the value of attribute location_id.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def location_id
  @location_id
end

#longitudeObject

Returns the value of attribute longitude.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def longitude
  @longitude
end

#neighbourhoodObject

Returns the value of attribute neighbourhood.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def neighbourhood
  @neighbourhood
end

#po_box_numberObject

Returns the value of attribute po_box_number.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def po_box_number
  @po_box_number
end

#postal_codeObject

Returns the value of attribute postal_code.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def postal_code
  @postal_code
end

#regionObject

Returns the value of attribute region.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def region
  @region
end

#street1Object

Returns the value of attribute street1.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def street1
  @street1
end

#street2Object

Returns the value of attribute street2.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def street2
  @street2
end

#zoneObject

Returns the value of attribute zone.



3
4
5
# File 'lib/ravelin/location.rb', line 3

def zone
  @zone
end