lib/flexirest/callbacks.rb in flexirest-1.7.2 vs lib/flexirest/callbacks.rb in flexirest-1.7.3
- old
+ new
@@ -33,9 +33,12 @@
result = instance.send(callback, name, param)
end
else
result = callback.call(name, param)
end
+ if result == false
+ return false
+ end
if result == :retry
return :retry
end
end
end