lib/flexirest/callbacks.rb in flexirest-1.7.3 vs lib/flexirest/callbacks.rb in flexirest-1.7.4

- old
+ new

@@ -37,11 +37,11 @@ end if result == false return false end if result == :retry - return :retry + raise Flexirest::CallbackRetryRequestException.new end end end def _handle_super_class_callbacks(type, name, request) @@ -64,6 +64,8 @@ def self.included(base) base.extend(ClassMethods) end end + + class CallbackRetryRequestException < Exception ; end end