Sha256: 78a9e7fe92c73d963206fb318954c82d2497e0bf1277fd31cf0c88a06e7f287a

Contents?: true

Size: 392 Bytes

Versions: 42

Compression:

Stored size: 392 Bytes

Contents

# encoding: utf-8

module OneApm
  module Collector
    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

42 entries across 42 versions & 1 rubygems

Version Path
oneapm_rpm-1.1.1 lib/one_apm/collector/commands/agent_command.rb
oneapm_rpm-1.1.0 lib/one_apm/collector/commands/agent_command.rb