Method: Expedite::Agent#initialize

Defined in:
lib/expedite/agents.rb

#initialize(parent: nil, keep_alive: false) ⇒ Agent

parent

Name of parent agent.

keep_alive

Specifies if the agent should be automatically restarted if it is terminated. Defaults to false.



22
23
24
25
# File 'lib/expedite/agents.rb', line 22

def initialize(parent: nil, keep_alive: false)
  @parent = parent
  @keep_alive = keep_alive
end