Skip to content

Commit

Permalink
Move back exchage to public. Interops with Rails issue: rails/rails#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Apr 28, 2015
1 parent a3b3893 commit c8a5539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sneakers/publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ def publish(msg, options = {})
@exchange.publish(msg, options)
end

private

attr_reader :exchange

private
def ensure_connection!
@bunny = Bunny.new(@opts[:amqp], heartbeat: @opts[:heartbeat], vhost: @opts[:vhost], :logger => Sneakers::logger)
@bunny.start
Expand Down

1 comment on commit c8a5539

@senny
Copy link

@senny senny commented on c8a5539 Apr 28, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jondot 💛 💚 ❤️ 💜 💙

Please sign in to comment.