class Tourmaline::Location

Included Modules

Defined in:

tourmaline/models/location.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(latitude : Float64, longitude : Float64, horizontal_accuracy : Float64 | Nil = nil, live_period : Int32 | Nil = nil, heading : Int32 | Nil = nil, proximity_alert_radius : Int32 | Nil = nil) #

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

[View source]

Instance Method Detail

def heading : Int32 | Nil #

[View source]
def horizontal_accuracy : Float64 | Nil #

[View source]
def latitude : Float64 #

[View source]
def live_period : Int32 | Nil #

[View source]
def longitude : Float64 #

[View source]
def proximity_alert_radius : Int32 | Nil #

[View source]