lib/ratis/route_stops.rb in ratis-2.5.2.1 vs lib/ratis/route_stops.rb in ratis-2.5.2.2
- old
+ new
@@ -23,10 +23,10 @@
response = Request.get 'Routestops', request_params
return [] unless response.success?
response.to_hash[:routestops_response][:stops][:stop].map do |s|
- stop = Stop.new
+ stop = RouteStops::Stop.new
stop.description = s[:description]
stop.area = s[:area]
stop.atis_stop_id = s[:atisstopid]
stop.stop_seq = s[:stopseq]
stop.latitude, stop.longitude = s[:point].split ','