class Tourmaline::Location
- Tourmaline::Location
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tourmaline/models/location.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #heading : Int32 | Nil
- #horizontal_accuracy : Float64 | Nil
- #latitude : Float64
- #live_period : Int32 | Nil
- #longitude : Float64
- #proximity_alert_radius : Int32 | Nil
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)
#