Registry / utility / retryable-rb

retryable-rb

JSON →
library1.1.0rbrubygemsunverified

Easy to use DSL to retry code if an exception is raised.

gem install retryable-rb
INSTALL
IMPORT
SIG · RETRYABLE-RB
R
retryable-rb
utilityrubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Retryable
require 'retryable'

Retry a block up to 3 times on timeout.

require 'retryable' Retryable.retryable(tries: 3, on: [Net::ReadTimeout]) do Net::HTTP.get(URI('https://example.com')) end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
retryable-rb — gem install retryable-rb · libregistry