class
Tourmaline::StoryAreaTypeLocation
- Tourmaline::StoryAreaTypeLocation
- Reference
- Object
Overview
Describes a story area pointing to a location. Currently, a story can have up to 10 location areas.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : String, latitude : Float64, longitude : Float64, address : Tourmaline::LocationAddress | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#address : Tourmaline::LocationAddress | Nil
Optional.
-
#address=(address : Tourmaline::LocationAddress | Nil)
Optional.
-
#latitude : Float64
Location latitude in degrees
-
#latitude=(latitude : Float64)
Location latitude in degrees
-
#longitude : Float64
Location longitude in degrees
-
#longitude=(longitude : Float64)
Location longitude in degrees
-
#type : String
Type of the area, always "location"
-
#type=(type : String)
Type of the area, always "location"
Constructor Detail
def self.new(type : String, latitude : Float64, longitude : Float64, address : Tourmaline::LocationAddress | Nil = nil)
#