Class: MercadoBitcoin::Console::Commands::Account::Withdraw::Get
- Inherits:
-
BaseNoTakeCommand
- Object
- CmdParse::Command
- Base
- BaseNoTakeCommand
- MercadoBitcoin::Console::Commands::Account::Withdraw::Get
- Defined in:
- lib/mercado_bitcoin/console/commands/account/withdraw/get.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/get.rb', line 5 def after_initialize argument_desc(withdraw_id: 'Número de identificação da retirada/saque, único por coin.', coin: 'BRL|BTC|LCT') end |
#execute(coin, withdraw_id) ⇒ Object
9 10 11 12 |
# File 'lib/mercado_bitcoin/console/commands/account/withdraw/get.rb', line 9 def execute(coin, withdraw_id) console.[:coin_pair] = coin super(withdraw_id) end |