Class: Venue
- Inherits:
-
Object
- Object
- Venue
- Defined in:
- lib/objects/venue.rb
Overview
Monday
, August
24
2020
EAT
This object represents a venue.
Instance Method Summary collapse
-
#address ⇒ Object
Address of the venue.
-
#foursquare_id ⇒ Object
Optional
. -
#foursquare_type ⇒ Object
Optional.
-
#initialize(vn) ⇒ Venue
constructor
:nodoc:.
-
#location ⇒ Object
Venue location.
-
#title ⇒ Object
Name of the venue.
Constructor Details
#initialize(vn) ⇒ Venue
:nodoc:
10 11 12 |
# File 'lib/objects/venue.rb', line 10 def initialize(vn) # :nodoc: @vn = vn end |
Instance Method Details
#address ⇒ Object
Address of the venue.
25 26 27 |
# File 'lib/objects/venue.rb', line 25 def address @vn.address end |
#foursquare_id ⇒ Object
Optional
. Foursquare identifier of the venue
30 31 32 |
# File 'lib/objects/venue.rb', line 30 def foursquare_id @vn.foursquare_id end |
#foursquare_type ⇒ Object
Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
37 38 39 |
# File 'lib/objects/venue.rb', line 37 def foursquare_type @vn.foursquare_type end |
#location ⇒ Object
Venue location. Returns Location Object.
15 16 17 |
# File 'lib/objects/venue.rb', line 15 def location @vn.location end |
#title ⇒ Object
Name of the venue.
20 21 22 |
# File 'lib/objects/venue.rb', line 20 def title @vn.title end |