class

Tourmaline::Venue

Inherits JSON::Serializable / Reference / Object

This object represents a venue.

Constructors

new(location : Tourmaline::Location, title : String, address : String, foursquare_id : String | Nil = nil, foursquare_type : String | Nil = nil, google_place_id : String | Nil = nil, google_place_type : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

address

Address of the venue

Source
address=(address : String)

Address of the venue

Source
foursquare_id

Optional. Foursquare identifier of the venue

Source
foursquare_id=(foursquare_id : String | Nil)

Optional. Foursquare identifier of the venue

Source
foursquare_type

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

Source
foursquare_type=(foursquare_type : String | Nil)

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

Source
google_place_id

Optional. Google Places identifier of the venue

Source
google_place_id=(google_place_id : String | Nil)

Optional. Google Places identifier of the venue

Source
google_place_type

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

Source
google_place_type=(google_place_type : String | Nil)

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

Source
location

Venue location. Can't be a live location

Source
location=(location : Tourmaline::Location)

Venue location. Can't be a live location

Source
title

Name of the venue

Source
title=(title : String)

Name of the venue

Source