class Tourmaline::Venue
- Tourmaline::Venue
- Reference
- Object
Overview
This object represents a venue.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#address : String
Address of the venue
-
#address=(address : String)
Address of the venue
-
#foursquare_id : String | Nil
Optional.
-
#foursquare_id=(foursquare_id : String | Nil)
Optional.
-
#foursquare_type : String | Nil
Optional.
-
#foursquare_type=(foursquare_type : String | Nil)
Optional.
-
#google_place_id : String | Nil
Optional.
-
#google_place_id=(google_place_id : String | Nil)
Optional.
-
#google_place_type : String | Nil
Optional.
-
#google_place_type=(google_place_type : String | Nil)
Optional.
-
#location : Tourmaline::Location
Venue location.
-
#location=(location : Tourmaline::Location)
Venue location.
-
#title : String
Name of the venue
-
#title=(title : String)
Name of the venue
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)
#
Instance Method Detail
def foursquare_type : String | Nil
#
Optional. Foursquare type of the venue. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
def foursquare_type=(foursquare_type : String | Nil)
#
Optional. Foursquare type of the venue. (For example, "arts_entertainment/default", "arts_entertainment/aquarium" or "food/icecream".)
def google_place_id=(google_place_id : String | Nil)
#
Optional. Google Places identifier of the venue
def google_place_type : String | Nil
#
Optional. Google Places type of the venue. (See supported types.)
def google_place_type=(google_place_type : String | Nil)
#
Optional. Google Places type of the venue. (See supported types.)