Class: Sumologic::CLI::Commands::ListFoldersCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Sumologic::CLI::Commands::ListFoldersCommand
- Defined in:
- lib/sumologic/cli/commands/list_folders_command.rb
Overview
Handles the list-folders command execution
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
Methods inherited from BaseCommand
Constructor Details
This class inherits a constructor from Sumologic::CLI::Commands::BaseCommand
Instance Method Details
#execute ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/sumologic/cli/commands/list_folders_command.rb', line 10 def execute if [:tree] fetch_tree elsif [:folder_id] fetch_folder else fetch_personal end end |