lib/qpush/web/apis/history.rb in qpush-0.1.4 vs lib/qpush/web/apis/history.rb in qpush-0.1.6
- old
+ new
@@ -12,10 +12,10 @@
end
private
def retrieve_jobs
- @jobs = QPush.redis.with do |conn|
+ @jobs = Web.redis do |conn|
conn.lrange(QPush.keys.history, 0, 10)
end
end
def update_jobs