Sha256: ce3636d3744a8f8f06a872c7c687fb2102b883ad3025d25c565593a633255568
Contents?: true
Size: 685 Bytes
Versions: 2
Compression:
Stored size: 685 Bytes
Contents
require "gtfs/realtime/nearby" module GTFS class Realtime class Stop < GTFS::Realtime::Model extend GTFS::Realtime::Nearby one_to_many :service_alerts one_to_many :stop_times one_to_many :stop_time_updates many_to_many :trip_updates, join_table: :stop_time_updates many_to_many :trips, join_table: :stop_times many_through_many :routes, through: [ [:stop_times, :stop_id, :trip_id], [:trips, :id, :route_id] ] many_through_many :active_routes, class: GTFS::Realtime::Route, through: [ [:stop_time_updates, :stop_id, :trip_update_id], [:trip_updates, :id, :route_id] ] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gtfs-realtime-0.2.0 | lib/gtfs/realtime/stop.rb |
gtfs-realtime-0.1.0 | lib/gtfs/realtime/stop.rb |