rock-queue-smpp 0.1.6.01 → 0.1.6.02
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rock-queue-smpp/worker.rb +14 -0
- metadata +1 -1
@@ -1,3 +1,17 @@
|
|
1
|
+
begin
|
2
|
+
require 'eventmanager'
|
3
|
+
rescue
|
4
|
+
puts "You need `eventmanager` gem to use rock-queue-smpp"
|
5
|
+
exit
|
6
|
+
end
|
7
|
+
|
8
|
+
begin
|
9
|
+
require 'ruby-smpp'
|
10
|
+
rescue
|
11
|
+
puts "You need `rubysmpp` gem to use rock-queue-smpp"
|
12
|
+
exit
|
13
|
+
end
|
14
|
+
|
1
15
|
module RockQueueSmpp
|
2
16
|
class Worker
|
3
17
|
# Whether the worker should log basic info to STDOUT
|