class DetransportTelegram::Stops

Defined in:

detransport_telegram/stops.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(stops : StopsIterator) #

[View source]

Instance Method Detail

def get_by_id(stop_id : Int32) : Stop | Nil #

[View source]
def nearest_to(latitude : Float64, longitude : Float64, count = 5) : Array(Stop) #

[View source]
def similar_to(name : String, count = 9) : Array(Stop) #

[View source]
def stops : StopsIterator #

[View source]