lib/barbeque_client/client.rb in barbeque_client-0.9.0 vs lib/barbeque_client/client.rb in barbeque_client-0.9.1
- old
+ new
@@ -5,10 +5,10 @@
class Client
def initialize(application:, default_queue:, endpoint:, tracing: {})
@application = application
@default_queue = default_queue
@endpoint = endpoint
- @tracing = tracing
+ @tracing = tracing || {}
end
# @param [String] job - Job name to enqueue.
# @param [Object] message - An object which is serializable as JSON.
# @param optional [String] queue - A queue name to enqueue a job.