Sha256: 7647b71fe0887614923cf4aa125f4705c6f0a2012e33eb4dbc96e3644de82b93

Contents?: true

Size: 320 Bytes

Versions: 2

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

module DelayedJobWorkerPool
  class WorkerInfo
    attr_reader :process_id, :name, :worker_group

    def initialize(attributes)
      @process_id = attributes.fetch(:process_id)
      @name = attributes.fetch(:name)
      @worker_group = attributes.fetch(:worker_group)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
delayed_job_worker_pool-1.0.0 lib/delayed_job_worker_pool/worker_info.rb
delayed_job_worker_pool-0.3.0 lib/delayed_job_worker_pool/worker_info.rb