Class: FbGraph::Venue
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.
-
#street ⇒ Object
Returns the value of attribute street.
-
#zip ⇒ Object
Returns the value of attribute zip.
Attributes inherited from Location
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Venue
constructor
A new instance of Venue.
Methods inherited from Location
Methods included from Serialization
Methods included from Comparison
Constructor Details
#initialize(attributes = {}) ⇒ Venue
Returns a new instance of Venue.
5 6 7 8 9 10 11 12 |
# File 'lib/fb_graph/venue.rb', line 5 def initialize(attributes = {}) super @street = attributes[:street] @city = attributes[:city] @state = attributes[:state] @zip = attributes[:zip] @country = attributes[:country] end |
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/fb_graph/venue.rb', line 3 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/fb_graph/venue.rb', line 3 def country @country end |
#state ⇒ Object
Returns the value of attribute state.
3 4 5 |
# File 'lib/fb_graph/venue.rb', line 3 def state @state end |
#street ⇒ Object
Returns the value of attribute street.
3 4 5 |
# File 'lib/fb_graph/venue.rb', line 3 def street @street end |
#zip ⇒ Object
Returns the value of attribute zip.
3 4 5 |
# File 'lib/fb_graph/venue.rb', line 3 def zip @zip end |