Module: Kernel
- Defined in:
- lib/retriable/core_ext/kernel.rb
Instance Method Summary collapse
- #retriable(opts = {}, &block) ⇒ Object
- #retriable_with_context(context_key, opts = {}, &block) ⇒ Object
Instance Method Details
#retriable(opts = {}, &block) ⇒ Object
6 7 8 |
# File 'lib/retriable/core_ext/kernel.rb', line 6 def retriable(opts = {}, &block) Retriable.retriable(opts, &block) end |
#retriable_with_context(context_key, opts = {}, &block) ⇒ Object
10 11 12 |
# File 'lib/retriable/core_ext/kernel.rb', line 10 def retriable_with_context(context_key, opts = {}, &block) Retriable.with_context(context_key, opts, &block) end |