class NsqEnv::Producer

Public Class Methods

new(opts = {}) click to toggle source
Calls superclass method
# File lib/nsq-env/producer.rb, line 5
def initialize(opts = {})
  opts[:nsqds] = NsqEnv::nsqds

  opts.merge! TLSContext.env if ENV["NSQD_TLS"] == "true"

  super(opts)
end