module Rubykiq
Constants
- VERSION
Public Class Methods
client(options = {})
click to toggle source
Fetch the Rubykiq::Client
@return [Rubykiq::Client]
# File lib/rubykiq.rb, line 20 def self.client(options = {}) initialize_client(options) unless defined?(@client) @client end
Private Class Methods
initialize_client(options = {})
click to toggle source
# File lib/rubykiq.rb, line 27 def self.initialize_client(options = {}) Thread.exclusive do @client = Rubykiq::Client.new(options) end end