lib/qpush/web/apis/jobs.rb in qpush-0.1.6 vs lib/qpush/web/apis/jobs.rb in qpush-0.1.7

- old
+ new

@@ -12,10 +12,10 @@ end private def retrieve_jobs - Web.redis { |c| @jobs = c.smembers("#{QPush.keys.jobs}") } + Web.redis { |c| @jobs = c.smembers(QPush::Base::KEY + ':jobs') } end def update_jobs @jobs.map! { |job| { klass: job } } end