smartware 0.3 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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