class Tourmaline::Venue

Overview

This object represents a venue.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def address : String #

Address of the venue


[View source]
def address=(address : String) #

Address of the venue


[View source]
def foursquare_id : String | Nil #

Optional. Foursquare identifier of the venue


[View source]
def foursquare_id=(foursquare_id : String | Nil) #

Optional. Foursquare identifier of the venue


[View source]
def foursquare_type : String | Nil #

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


[View source]
def foursquare_type=(foursquare_type : String | Nil) #

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


[View source]
def google_place_id : String | Nil #

Optional. Google Places identifier of the venue


[View source]
def google_place_id=(google_place_id : String | Nil) #

Optional. Google Places identifier of the venue


[View source]
def google_place_type : String | Nil #

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


[View source]
def google_place_type=(google_place_type : String | Nil) #

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


[View source]
def location : Tourmaline::Location #

Venue location. Can't be a live location


[View source]
def location=(location : Tourmaline::Location) #

Venue location. Can't be a live location


[View source]
def title : String #

Name of the venue


[View source]
def title=(title : String) #

Name of the venue


[View source]