Module: Kernel

Defined in:
lib/retriable/core_ext/kernel.rb

Instance Method Summary collapse

Instance Method Details

#retriable(opts = {}, &block) ⇒ Object



4
5
6
# File 'lib/retriable/core_ext/kernel.rb', line 4

def retriable(opts = {}, &block)
  Retriable.retriable(opts, &block)
end

#retriable_with_context(context_key, opts = {}, &block) ⇒ Object



8
9
10
# File 'lib/retriable/core_ext/kernel.rb', line 8

def retriable_with_context(context_key, opts = {}, &block)
  Retriable.with_context(context_key, opts, &block)
end