smartware 0.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ module Smartware
|
|
39
39
|
@device.escrow = method :escrow
|
40
40
|
@device.stacked = method :stacked
|
41
41
|
@device.returned = method :returned
|
42
|
-
@device.status = method :
|
42
|
+
@device.status = method :status_changed
|
43
43
|
|
44
44
|
@limit = nil
|
45
45
|
@banknotes = {}
|
@@ -125,7 +125,7 @@ module Smartware
|
|
125
125
|
Smartware::Logging.logger.debug "cash acceptor: bill returned, #{value}"
|
126
126
|
end
|
127
127
|
|
128
|
-
def
|
128
|
+
def status_changed(error)
|
129
129
|
update_status do
|
130
130
|
@status[:error] = error
|
131
131
|
@status[:model] = @device.model
|
data/lib/smartware/version.rb
CHANGED