Class: MyApiClient::ErrorHandling::RetryOptionProcessor

Inherits:
ServiceAbstract show all
Defined in:
lib/my_api_client/error_handling/retry_option_processor.rb

Overview

Processes the ‘retry` option.

Instance Method Summary collapse

Methods inherited from ServiceAbstract

call

Constructor Details

#initialize(error_handling_options:) ⇒ Hash?

Parameters:

  • error_handling_options (Hash)

    Options for the retry.

  • raise (Hash)

    a customizable set of options

  • retry (Hash)

    a customizable set of options

  • block (Hash)

    a customizable set of options



22
23
24
# File 'lib/my_api_client/error_handling/retry_option_processor.rb', line 22

def initialize(error_handling_options:)
  @error_handling_options = error_handling_options
end