Class: Facebooker::Location
- Inherits:
-
Object
- Object
- Facebooker::Location
- Includes:
- Model
- Defined in:
- lib/facebooker/models/location.rb
Overview
Representation of Location used in all places where a Location is specified.
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#state ⇒ Object
Returns the value of attribute state.
-
#zip ⇒ Object
Returns the value of attribute zip.
Method Summary
Methods included from Model
#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
6 7 8 |
# File 'lib/facebooker/models/location.rb', line 6 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
6 7 8 |
# File 'lib/facebooker/models/location.rb', line 6 def country @country end |
#state ⇒ Object
Returns the value of attribute state.
6 7 8 |
# File 'lib/facebooker/models/location.rb', line 6 def state @state end |
#zip ⇒ Object
Returns the value of attribute zip.
6 7 8 |
# File 'lib/facebooker/models/location.rb', line 6 def zip @zip end |