Class: Sumologic::CLI::Commands::ExportContentCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Sumologic::CLI::Commands::ExportContentCommand
- Defined in:
- lib/sumologic/cli/commands/export_content_command.rb
Overview
Handles the export-content 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 |
# File 'lib/sumologic/cli/commands/export_content_command.rb', line 10 def execute get_resource(label: 'content', id: [:content_id]) do client.export_content(content_id: [:content_id]) end end |