Sha256: 9137315802c5dbe51e3ddc2d0d71b29d8edf04479ad4983e751c1137a5e9baab

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

module GTFS
  class Realtime
    class StopTimeUpdate < GTFS::Realtime::Model
      one_through_one :route, join_table: :trip_updates, left_key: :id, left_primary_key: :trip_update_id, right_key: :route_id
      many_to_one :stop
      one_through_one :trip, join_table: :trip_updates, left_key: :id, left_primary_key: :trip_update_id, right_key: :trip_id
      many_to_one :trip_update
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gtfs-realtime-0.2.0 lib/gtfs/realtime/stop_time_update.rb
gtfs-realtime-0.1.0 lib/gtfs/realtime/stop_time_update.rb