class Gapic::Rest::ClientStub

def check_retry? timeout

Returns:
  • (Boolean) - whether the timeout should be retried

Parameters:
  • timeout (Numeric, nil) --
def check_retry? timeout
  return true if timeout.nil?
  timeout.positive?
end