Class: Venue

Inherits:
Object
  • Object
show all
Defined in:
lib/objects/venue.rb

Overview

Monday, August 24 2020 EAT

This object represents a venue.

Instance Method Summary collapse

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

#addressObject

Address of the venue.



25
26
27
# File 'lib/objects/venue.rb', line 25

def address
  @vn.address
end

#foursquare_idObject

Optional. Foursquare identifier of the venue



30
31
32
# File 'lib/objects/venue.rb', line 30

def foursquare_id
  @vn.foursquare_id
end

#foursquare_typeObject

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

#locationObject

Venue location. Returns Location Object.



15
16
17
# File 'lib/objects/venue.rb', line 15

def location
  @vn.location
end

#titleObject

Name of the venue.



20
21
22
# File 'lib/objects/venue.rb', line 20

def title
  @vn.title
end