lib/ratis/next_bus2.rb in ratis-3.1.0 vs lib/ratis/next_bus2.rb in ratis-3.1.1

- old
+ new

@@ -34,10 +34,10 @@ # [option4] <em>Optional</em> - # Description of optional param def self.where(conditions) stop_id = conditions.delete :stop_id - app_id = conditions.delete(:app_id) || 'na' + app_id = conditions.delete(:app_id) || 'ratis-gem' raise ArgumentError.new('You must provide a stop ID') unless stop_id Ratis.all_conditions_used? conditions response = Request.get 'Nextbus2', { 'Stopid' => stop_id, 'Appid' => app_id }