Class: FbGraph::Venue

Inherits:
Object
  • Object
show all
Includes:
Comparison
Defined in:
lib/fb_graph/venue.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Comparison

#==

Constructor Details

#initialize(attriutes = {}) ⇒ Venue

Returns a new instance of Venue.



7
8
9
10
11
12
13
14
15
# File 'lib/fb_graph/venue.rb', line 7

def initialize(attriutes = {})
  @street    = attriutes[:street]
  @city      = attriutes[:city]
  @state     = attriutes[:state]
  @zip       = attriutes[:zip]
  @country   = attriutes[:country]
  @latitude  = attriutes[:latitude]
  @longitude = attriutes[:longitude]
end

Instance Attribute Details

#cityObject

Returns the value of attribute city.



5
6
7
# File 'lib/fb_graph/venue.rb', line 5

def city
  @city
end

#countryObject

Returns the value of attribute country.



5
6
7
# File 'lib/fb_graph/venue.rb', line 5

def country
  @country
end

#latitudeObject

Returns the value of attribute latitude.



5
6
7
# File 'lib/fb_graph/venue.rb', line 5

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



5
6
7
# File 'lib/fb_graph/venue.rb', line 5

def longitude
  @longitude
end

#stateObject

Returns the value of attribute state.



5
6
7
# File 'lib/fb_graph/venue.rb', line 5

def state
  @state
end

#streetObject

Returns the value of attribute street.



5
6
7
# File 'lib/fb_graph/venue.rb', line 5

def street
  @street
end

#zipObject

Returns the value of attribute zip.



5
6
7
# File 'lib/fb_graph/venue.rb', line 5

def zip
  @zip
end