lib/ratis/location.rb in ratis-3.3.6 vs lib/ratis/location.rb in ratis-3.3.7
- old
+ new
@@ -33,9 +33,10 @@
region = conditions.delete(:region)
raise ArgumentError.new('You must provide a location') unless location
raise ArgumentError.new('You must provide media of A|W|I') unless ['A','W','I'].include? media
raise ArgumentError.new('You must provide a numeric max_answers') unless (Integer max_answers rescue false)
+
Ratis.all_conditions_used? conditions
response = Request.get 'Locate', {'Appid' => app_id,
'Location' => location,
'Area' => area,