Class: Pike13::CLI::Commands::Account::Business

Inherits:
Base
  • Object
show all
Defined in:
lib/pike13/cli/commands/account/business.rb

Instance Method Summary collapse

Methods inherited from Base

base_usage, format_options, handle_argument_error, printable_commands

Methods included from ThorNestedSubcommand

included

Instance Method Details

#listObject



10
11
12
13
14
15
16
17
# File 'lib/pike13/cli/commands/account/business.rb', line 10

def list
  handle_error do
    result = with_progress("Fetching businesses") do
      Pike13::Account::Business.all
    end
    output(result)
  end
end