lib/ratis/schedule_nearby.rb in ratis-3.4.3 vs lib/ratis/schedule_nearby.rb in ratis-3.5.0

- old
+ new

@@ -11,11 +11,10 @@ time = conditions.delete(:time) window = conditions.delete(:window) walk_distance = conditions.delete(:walk_distance) landmark_id = conditions.delete(:landmark_id) stop_id = conditions.delete(:stop_id) || '' - app_id = conditions.delete(:app_id) || 'ratis-gem' raise ArgumentError.new('You must provide latitude') unless latitude raise ArgumentError.new('You must provide longitude') unless longitude raise ArgumentError.new('You must provide date') unless date raise ArgumentError.new('You must provide time') unless time @@ -31,11 +30,10 @@ 'Date' => date, 'Time' => time, 'Window' => window, 'Walkdist' => walk_distance, 'Landmarkid' => landmark_id, - 'Stopid' => stop_id, - 'Appid' => app_id + 'Stopid' => stop_id } return [] unless response.success? # TODO: where is this nightmare-ish hash being used?