examples/environment.rb in songkick_queue-0.3.0 vs examples/environment.rb in songkick_queue-0.4.0
- old
+ new
@@ -4,10 +4,10 @@
# $ bin/songkick_queue --require ./examples/environment.rb --consumer TweetConsumer
#
require_relative '../lib/songkick_queue'
SongkickQueue.configure do |config|
- config.amqp = 'amqp://localhost:5672'
+ config.host = 'localhost'
config.logger = Logger.new(STDOUT)
end
class TweetConsumer
include SongkickQueue::Consumer