lib/zold/hungry_wallets.rb in zold-0.16.24 vs lib/zold/hungry_wallets.rb in zold-0.16.25
- old
+ new
@@ -25,10 +25,10 @@
module Zold
# Wallets decorator that adds missing wallets to the queue to be pulled later.
class HungryWallets < SimpleDelegator
# @todo #280:30min Add to the queue. Once in there, try
# to pull it as soon as possible as is described in #280.
- def find(id)
- yield super(id)
+ def acq(id, exclusive: false)
+ yield super(id, exclusive: exclusive)
end
end
end