Sha256: 48c39ae72673a5b914a9d7a888aa234c1e871e158319eb2c221e7af221f3e834
Contents?: true
Size: 548 Bytes
Versions: 1
Compression:
Stored size: 548 Bytes
Contents
module GTFS class Realtime class Configuration attr_accessor :static_feed, :trip_updates_feed, :vehicle_positions_feed, :service_alerts_feed, :database_path def database_path=(new_path) @database_path = new_path # now that we know the DB path, we can initialize the database require 'gtfs/realtime/database' GTFS::Realtime::Database.path = database_path # now that we have a database, initialize all the other models require 'gtfs/realtime/bootstrap' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gtfs-realtime-0.3.0 | lib/gtfs/realtime/configuration.rb |