smartware 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/smartware/interfaces/modem.rb +1 -2
- data/lib/smartware/version.rb +1 -1
- metadata +1 -1
@@ -49,7 +49,6 @@ module Smartware
|
|
49
49
|
def self.poll_status!
|
50
50
|
t = Thread.new do
|
51
51
|
loop do
|
52
|
-
@status = {}
|
53
52
|
@status[:signal_level] = @device.signal_level
|
54
53
|
sleep 1
|
55
54
|
@status[:model] = @device.model
|
@@ -58,7 +57,7 @@ module Smartware
|
|
58
57
|
sleep 3
|
59
58
|
balance = @device.ussd("*100#")
|
60
59
|
@status[:balance] = balance if balance
|
61
|
-
sleep
|
60
|
+
sleep 10
|
62
61
|
end
|
63
62
|
end
|
64
63
|
end
|
data/lib/smartware/version.rb
CHANGED