Class: Ravelin::Location
- Inherits:
-
RavelinObject
- Object
- RavelinObject
- Ravelin::Location
- Defined in:
- lib/ravelin/location.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#custom ⇒ Object
Returns the value of attribute custom.
-
#geohash ⇒ Object
Returns the value of attribute geohash.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#location_id ⇒ Object
Returns the value of attribute location_id.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#neighbourhood ⇒ Object
Returns the value of attribute neighbourhood.
-
#po_box_number ⇒ Object
Returns the value of attribute po_box_number.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#region ⇒ Object
Returns the value of attribute region.
-
#street1 ⇒ Object
Returns the value of attribute street1.
-
#street2 ⇒ Object
Returns the value of attribute street2.
-
#zone ⇒ Object
Returns the value of attribute zone.
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
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def country @country end |
#custom ⇒ Object
Returns the value of attribute custom.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def custom @custom end |
#geohash ⇒ Object
Returns the value of attribute geohash.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def geohash @geohash end |
#latitude ⇒ Object
Returns the value of attribute latitude.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def latitude @latitude end |
#location_id ⇒ Object
Returns the value of attribute location_id.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def location_id @location_id end |
#longitude ⇒ Object
Returns the value of attribute longitude.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def longitude @longitude end |
#neighbourhood ⇒ Object
Returns the value of attribute neighbourhood.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def neighbourhood @neighbourhood end |
#po_box_number ⇒ Object
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_code ⇒ Object
Returns the value of attribute postal_code.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def postal_code @postal_code end |
#region ⇒ Object
Returns the value of attribute region.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def region @region end |
#street1 ⇒ Object
Returns the value of attribute street1.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def street1 @street1 end |
#street2 ⇒ Object
Returns the value of attribute street2.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def street2 @street2 end |
#zone ⇒ Object
Returns the value of attribute zone.
3 4 5 |
# File 'lib/ravelin/location.rb', line 3 def zone @zone end |