PassKit::Location
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(latitude : Float64, longitude : Float64, altitude : Float64 | Nil = nil, relevant_text : Nil | String = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(attributes : LocationTuple)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
altitude
Sourcealtitude=(altitude : Float64 | Nil)
Sourcelatitude
Sourcelatitude=(latitude : Float64)
Sourcelongitude
Sourcelongitude=(longitude : Float64)
Sourcerelevant_text
Sourcerelevant_text=(relevant_text : String | Nil)
Source