Module: BusinessFlow::Retryable::ClassMethods
- Defined in:
- lib/business_flow/retryable.rb
Overview
Additions to the DSL
Instance Method Summary collapse
Instance Method Details
#execute(flow) ⇒ Object
25 26 27 28 29 |
# File 'lib/business_flow/retryable.rb', line 25 def execute(flow) ::Retryable.retryable(@retryable_config) do super(flow) end end |
#retryable(opts) ⇒ Object
20 21 22 23 |
# File 'lib/business_flow/retryable.rb', line 20 def retryable(opts) @retryable_config ||= {} @retryable_config.merge!(opts) end |