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)
-
- (Object) city
Returns the value of attribute city.
-
- (Object) country
Returns the value of attribute country.
-
- (Object) state
Returns the value of attribute state.
-
- (Object) zip
Returns the value of attribute zip.
Method Summary
Methods included from Model
#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session
Instance Attribute Details
- (Object) city
Returns the value of attribute city
6 7 8 |
# File 'lib/facebooker/models/location.rb', line 6 def city @city end |
- (Object) country
Returns the value of attribute country
6 7 8 |
# File 'lib/facebooker/models/location.rb', line 6 def country @country end |
- (Object) state
Returns the value of attribute state
6 7 8 |
# File 'lib/facebooker/models/location.rb', line 6 def state @state end |
- (Object) zip
Returns the value of attribute zip
6 7 8 |
# File 'lib/facebooker/models/location.rb', line 6 def zip @zip end |