included
#initialize
9 10 11
# File 'lib/nextbus/route.rb', line 9 def self.all(agency_id) Nextbus.client.routes(agency_id).map{|agency| new(agency) } end
13 14 15
# File 'lib/nextbus/route.rb', line 13 def self.find(agency_id, id) new Nextbus.client.route(agency_id, id) end