Class: MercadoBitcoin::Console::Commands::Account::Withdraw::BRL
- Inherits:
-
BaseNoTakeCommand
- Object
- CmdParse::Command
- Base
- BaseNoTakeCommand
- MercadoBitcoin::Console::Commands::Account::Withdraw::BRL
- Defined in:
- lib/mercado_bitcoin/console/commands/account/withdraw/brl.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/brl.rb', line 5 def after_initialize argument_desc(quantity: 'Valor bruto do saque.', account_ref: 'ID de uma conta bancária já cadastrada e marcada como confiável') end |
#execute(quantity, account_ref) ⇒ Object
9 10 11 |
# File 'lib/mercado_bitcoin/console/commands/account/withdraw/brl.rb', line 9 def execute(quantity, account_ref) super(coin: 'brl', quantity: quantity, account_ref: account_ref) end |