Method: MyApiClient::Exceptions#call
- Defined in:
- lib/my_api_client/exceptions.rb
#call(*args) ⇒ Object
Description of #call
13 14 15 16 17 18 19 20 21 |
# File 'lib/my_api_client/exceptions.rb', line 13 def call(*args) @args = args send(*args) rescue StandardError => e @retry_count ||= 0 raise unless rescue_with_handler(e) retry_result end |