lib/zold/commands/pay.rb in zold-0.16.27 vs lib/zold/commands/pay.rb in zold-0.16.28
- old
+ new
@@ -20,10 +20,11 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
require 'slop'
require 'rainbow'
+require_relative 'thread_badge'
require_relative 'args'
require_relative '../id'
require_relative '../amount'
require_relative '../log'
@@ -32,10 +33,12 @@
# Copyright:: Copyright (c) 2018 Yegor Bugayenko
# License:: MIT
module Zold
# Money sending command
class Pay
- def initialize(wallets:, remotes:, log: Log::Quiet.new)
+ prepend ThreadBadge
+
+ def initialize(wallets:, remotes:, log: Log::NULL)
@wallets = wallets
@remotes = remotes
@log = log
end