lib/basquiat/support/configuration.rb in basquiat-1.4.0 vs lib/basquiat/support/configuration.rb in basquiat-1.5.0
- old
+ new
@@ -30,13 +30,15 @@
# @!attribute environment
# @return [Symbol] return the set environment or the value of the 'BASQUIAT_ENV' environment variable
# or :development
attr_writer :queue_name, :exchange_name, :logger, :environment
+ # @!attribute connection - Makes Basquiat to use a provided connection
+ # @return [Object] the provided connection
# @!attribute rescue_proc
# @return [#call] return the callable to be executed when some exception is thrown. The callable receives the
# exception and message
- attr_accessor :rescue_proc
+ attr_accessor :connection, :rescue_proc
def queue_name
@queue_name || 'basquiat.queue'
end