Class: FbGraph::Venue
- Inherits:
-
Object
- Object
- FbGraph::Venue
- Includes:
- Comparison
- Defined in:
- lib/fb_graph/venue.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#state ⇒ Object
Returns the value of attribute state.
-
#street ⇒ Object
Returns the value of attribute street.
-
#zip ⇒ Object
Returns the value of attribute zip.
Instance Method Summary collapse
-
#initialize(attriutes = {}) ⇒ Venue
constructor
A new instance of Venue.
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
#city ⇒ Object
Returns the value of attribute city.
5 6 7 |
# File 'lib/fb_graph/venue.rb', line 5 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
5 6 7 |
# File 'lib/fb_graph/venue.rb', line 5 def country @country end |
#latitude ⇒ Object
Returns the value of attribute latitude.
5 6 7 |
# File 'lib/fb_graph/venue.rb', line 5 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
5 6 7 |
# File 'lib/fb_graph/venue.rb', line 5 def longitude @longitude end |
#state ⇒ Object
Returns the value of attribute state.
5 6 7 |
# File 'lib/fb_graph/venue.rb', line 5 def state @state end |
#street ⇒ Object
Returns the value of attribute street.
5 6 7 |
# File 'lib/fb_graph/venue.rb', line 5 def street @street end |
#zip ⇒ Object
Returns the value of attribute zip.
5 6 7 |
# File 'lib/fb_graph/venue.rb', line 5 def zip @zip end |