Skip to content
Browse files

Rename data to uuid

  • Loading branch information...
1 parent ffd2742 commit fcecfcab24ce8f99595c6d210842c4a16899c459 @bemurphy committed Jun 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/models/queue.rb
View
4 app/models/queue.rb
@@ -3,11 +3,11 @@
class Queue
EXCHANGE_NAME = "shotter".freeze
- def self.push(data)
+ def self.push(uuid)
b = Bunny.new(:logging => false)
b.start
exch = b.exchange(EXCHANGE_NAME)
- exch.publish(data)
+ exch.publish(uuid)
b.stop
end

0 comments on commit fcecfca

Please sign in to comment.
Something went wrong with that request. Please try again.