Class: MercadoBitcoin::Console::Commands::Account::Withdraw::LTC

Inherits:
BaseNoTakeCommand
  • Object
show all
Defined in:
lib/mercado_bitcoin/console/commands/account/withdraw/ltc.rb

Instance Attribute Summary

Attributes inherited from Base

#console

Instance Method Summary collapse

Methods inherited from BaseNoTakeCommand

#take_commands

Methods inherited from Base

command_classes, inherited, #initialize, long_desc, short_desc, take_commands, #take_commands

Constructor Details

This class inherits a constructor from MercadoBitcoin::Console::Commands::Base

Instance Method Details

#after_initializeObject



5
6
7
# File 'lib/mercado_bitcoin/console/commands/account/withdraw/ltc.rb', line 5

def after_initialize
  argument_desc(quantity: 'Valor bruto do saque.', address: 'Endereço Litecoin marcado como confiável')
end

#execute(quantity, address) ⇒ Object



9
10
11
# File 'lib/mercado_bitcoin/console/commands/account/withdraw/ltc.rb', line 9

def execute(quantity, address)
  super(coin: 'ltc', quantity: quantity, address: address)
end