Skip to content

class Tourmaline::Venue
inherits Reference #

This object represents a venue.

Included modules

JSON::Serializable

Constructors#

.new(location, title, address, foursquare_id : String? = nil, foursquare_type : String? = nil, google_place_id : String? = nil, google_place_type : String? = nil) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#address : String #

Address of the venue

View source

#address=(address : String) #

Address of the venue

View source

#foursquare_id : String? #

Optional. Foursquare identifier of the venue

View source

#foursquare_id=(foursquare_id : String?) #

Optional. Foursquare identifier of the venue

View source

#foursquare_type : String? #

Optional. Foursquare type of the venue. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)

View source

#foursquare_type=(foursquare_type : String?) #

Optional. Foursquare type of the venue. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)

View source

#google_place_id : String? #

Optional. Google Places identifier of the venue

View source

#google_place_id=(google_place_id : String?) #

Optional. Google Places identifier of the venue

View source

#google_place_type : String? #

Optional. Google Places type of the venue. (See supported types.)

View source

#google_place_type=(google_place_type : String?) #

Optional. Google Places type of the venue. (See supported types.)

View source

#location : Tourmaline::Location #

Venue location. Can't be a live location

View source

#location=(location : Tourmaline::Location) #

Venue location. Can't be a live location

View source

#title : String #

Name of the venue

View source

#title=(title : String) #

Name of the venue

View source