Permalink
Browse files

Expose the client instance off of job instances.

  • Loading branch information...
1 parent 627d474 commit e7cb4db8fd6047dad711781f453b70ded8335fff @myronmarston myronmarston committed Feb 8, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/qless/job.rb
View
@@ -6,6 +6,8 @@
module Qless
class BaseJob
+ attr_reader :client
+
def initialize(client, jid)
@client = client
@jid = jid

0 comments on commit e7cb4db

Please sign in to comment.