Class: Tenax::Retry::Policy
- Inherits:
-
Object
- Object
- Tenax::Retry::Policy
- Defined in:
- lib/tenax/retry/policy.rb
Overview
Encapsulates the retry decision: how many attempts, which errors to retry, what backoff to apply between attempts.
Instance Method Summary collapse
-
#initialize ⇒ Policy
constructor
A new instance of Policy.
Constructor Details
#initialize ⇒ Policy
Returns a new instance of Policy.
8 9 10 |
# File 'lib/tenax/retry/policy.rb', line 8 def initialize(*) # TODO: implement in Step 8 end |