Module: Phronomy::Agent::Concerns::Retryable Private

Included in:
Base
Defined in:
lib/phronomy/agent/concerns/retryable.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Adds configurable retry behaviour to an agent.

Included in Base. The retry loop wraps the full

invoke_once call; GuardrailError is never retried.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
# File 'lib/phronomy/agent/concerns/retryable.rb', line 12

def self.included(base)
  base.extend(ClassMethods)
end