Class: Ifin24::Commands::ListAccounts

Inherits:
Base
  • Object
show all
Defined in:
lib/ifin24/commands/list_accounts.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from Helpers::Printer

#print_list

Methods included from Helpers::Menu

#console_menu

Constructor Details

This class inherits a constructor from Ifin24::Commands::Base

Instance Method Details

#executeObject



5
6
7
# File 'lib/ifin24/commands/list_accounts.rb', line 5

def execute
  print_list(@client.accounts, :name)
end