rock-queue-smpp 0.1.5 → 0.1.5.01
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rock-queue-smpp/worker.rb +5 -0
- metadata +1 -1
@@ -13,6 +13,11 @@ module RockQueueSmpp
|
|
13
13
|
}
|
14
14
|
end
|
15
15
|
|
16
|
+
def self.send_mt(*args)
|
17
|
+
@@mt_id += 1
|
18
|
+
@@tx.send_mt(@@mt_id, *args)
|
19
|
+
end
|
20
|
+
|
16
21
|
# Main worker loop where all jobs are beeing pulled of the queue.
|
17
22
|
# This is also a place where every job starts and ends it's lifecycle.
|
18
23
|
def work
|