Sha256: 557fa7a239067b4ce991b0a8965e7c861f7ec60f9e829abee62b347cab5423c8

Contents?: true

Size: 532 Bytes

Versions: 7

Compression:

Stored size: 532 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.

module NewRelic
  module Agent
    module Commands
      class AgentCommand
        attr_reader :id, :name, :arguments

        def initialize(raw_collector_command)
          @id = raw_collector_command[0]
          @name = raw_collector_command[1]["name"]
          @arguments = raw_collector_command[1]["arguments"]
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
newrelic_rpm-8.9.0 lib/new_relic/agent/commands/agent_command.rb
newrelic_rpm-8.8.0 lib/new_relic/agent/commands/agent_command.rb
newrelic_rpm-8.7.0 lib/new_relic/agent/commands/agent_command.rb
newrelic_rpm-8.6.0 lib/new_relic/agent/commands/agent_command.rb
newrelic_rpm-8.5.0 lib/new_relic/agent/commands/agent_command.rb
newrelic_rpm-8.4.0 lib/new_relic/agent/commands/agent_command.rb
newrelic_rpm-8.3.0 lib/new_relic/agent/commands/agent_command.rb