Class: MercadoBitcoin::Console::Commands::Account::Withdraw::LTC
- Inherits:
-
BaseNoTakeCommand
- Object
- CmdParse::Command
- Base
- BaseNoTakeCommand
- MercadoBitcoin::Console::Commands::Account::Withdraw::LTC
- Defined in:
- lib/mercado_bitcoin/console/commands/account/withdraw/ltc.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from BaseNoTakeCommand
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_initialize ⇒ Object
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 |