struct PassKit::Location

Included Modules

Defined in:

models/location.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(latitude : Float64, longitude : Float64, altitude : Float64 | Nil = nil, relevant_text : Nil | String = nil) #

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

[View source]
def self.new(attributes : LocationTuple) #

[View source]

Instance Method Detail

def altitude : Float64 | Nil #

[View source]
def altitude=(altitude : Float64 | Nil) #

[View source]
def latitude : Float64 #

[View source]
def latitude=(latitude : Float64) #

[View source]
def longitude : Float64 #

[View source]
def longitude=(longitude : Float64) #

[View source]
def relevant_text : String | Nil #

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

[View source]