lib/em-jack/job.rb in em-jack-0.0.5 vs lib/em-jack/job.rb in em-jack-0.0.6
- old
+ new
@@ -9,15 +9,19 @@
end
def delete(&blk)
@conn.delete(self, &blk)
end
-
+
+ def release(opts = {}, &blk)
+ @conn.release(self, opts, &blk)
+ end
+
def stats(&blk)
@conn.stats(:job, self, &blk)
end
def to_s
"#{@jobid} -- #{body.inspect}"
end
end
-end
\ No newline at end of file
+end