lib/braintree/advanced_search.rb in braintree-4.18.0 vs lib/braintree/advanced_search.rb in braintree-4.19.0
- old
+ new
@@ -78,11 +78,10 @@
class RangeNode < SearchNode
operators :is
def between(min, max)
- self >= min
- self <= max
+ self >= min && self <= max
end
def >=(min)
@parent.add_criteria(@node_name, :min => min)
end