Module: ExceptionHelper::Retry

Extended by:
ActiveSupport::Concern
Defined in:
lib/exception_helper/retry.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#retry_on_failure(*exception_list, &block) ⇒ Object



19
20
21
# File 'lib/exception_helper/retry.rb', line 19

def retry_on_failure(*exception_list, &block)
  self.class.retry_on_failure(*exception_list, &block)
end

#wrap_with_retry(*methods) ⇒ Object



23
24
25
# File 'lib/exception_helper/retry.rb', line 23

def wrap_with_retry(*methods)
  self.class.wrap_with_retry(*methods)
end