lib/harness/queues/resque_queue.rb in harness-0.3.0 vs lib/harness/queues/resque_queue.rb in harness-0.4.0
- old
+ new
@@ -16,10 +16,10 @@
counter = Counter.new attributes
new.log counter
end
end
- def self.push(measurement)
+ def push(measurement)
if measurement.is_a? Gauge
Resque.enqueue SendGauge, measurement.attributes
elsif measurement.is_a? Counter
Resque.enqueue SendCounter, measurement.attributes
end