umts / bojangles

Ruby script for monitoring the PVTA realtime bus departures feed
MIT License
0 stars 0 forks source link

Don't store SAB identifiers in multiple places #17

Closed dfaulken closed 7 years ago

dfaulken commented 7 years ago

Namely here and here.

mboneil10 commented 7 years ago

@dfaulken why is this happening? Shouldn't SAB be in stops.txt?

dfaulken commented 7 years ago

I don't understand the question. It is, there's no problem with retrieving it. The issue is that there's no reason to store both its name and its ID as constants. We can get its ID from its name in stops.txt, as you say.