Class: Facebooker::Location

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Model

#anon=, included, #initialize, #populate, #populate_from_hash!, #populated?, #session

Instance Attribute Details

#cityObject

Returns the value of attribute city.



6
7
8
# File 'lib/facebooker/models/location.rb', line 6

def city
  @city
end

#countryObject

Returns the value of attribute country.



6
7
8
# File 'lib/facebooker/models/location.rb', line 6

def country
  @country
end

#stateObject

Returns the value of attribute state.



6
7
8
# File 'lib/facebooker/models/location.rb', line 6

def state
  @state
end

#zipObject

Returns the value of attribute zip.



6
7
8
# File 'lib/facebooker/models/location.rb', line 6

def zip
  @zip
end