Class: ElephantInTheRoom::TheOneApiSdk::RetryStrategy::OneTry
- Inherits:
-
Object
- Object
- ElephantInTheRoom::TheOneApiSdk::RetryStrategy::OneTry
- Defined in:
- lib/elephant_in_the_room/the_one_api_sdk/retry_strategy/one_try.rb
Overview
The default retry strategy that just runs a request once and passes along any errors
Instance Method Summary collapse
Instance Method Details
#run(do_request) ⇒ Object
7 8 9 |
# File 'lib/elephant_in_the_room/the_one_api_sdk/retry_strategy/one_try.rb', line 7 def run(do_request) do_request.call end |