Method: NewRelic::Agent::Commands::AgentCommandRouter#invoke_commands

Defined in:
lib/new_relic/agent/commands/agent_command_router.rb

#invoke_commands(agent_commands) ⇒ Object



94
95
96
97
98
99
100
101
102
# File 'lib/new_relic/agent/commands/agent_command_router.rb', line 94

def invoke_commands(agent_commands)
  results = {}

  agent_commands.each do |agent_command|
    results[agent_command.id.to_s] = invoke_command(agent_command)
  end

  results
end