lib/fog/rackspace/models/queues/queue.rb in fog-maestrodev-1.18.0.20131121075022 vs lib/fog/rackspace/models/queues/queue.rb in fog-maestrodev-1.18.0.20131122203507
- old
+ new
@@ -31,10 +31,10 @@
end
end
#Helper method to enqueue a single message
def enqueue(body, ttl, options = {})
- messages.create(options.merge(options.merge({:body => body, :ttl => ttl})))
+ messages.create(options.merge({:body => body, :ttl => ttl}))
end
#Helper method to claim (dequeue) a single message, including destroying it
def dequeue(ttl, grace, options = {}, &block)
claim = claims.create(