Class: Superbot::Cloud::CLI::Run::CreateCommand
- Inherits:
-
BaseCommand
- Object
- Clamp::Command
- LoginRequiredCommand
- OrganizationBasedCommand
- BaseCommand
- Superbot::Cloud::CLI::Run::CreateCommand
- Defined in:
- lib/superbot/cloud/cli/run/create_command.rb
Instance Method Summary collapse
Methods inherited from LoginRequiredCommand
Methods included from Validations
Instance Method Details
#execute ⇒ Object
11 12 13 14 |
# File 'lib/superbot/cloud/cli/run/create_command.rb', line 11 def execute Superbot::Cloud::Api.request(:create_interactive_run, params: run_params) puts "Cloud interactive run has been created" end |
#run_params ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/superbot/cloud/cli/run/create_command.rb', line 16 def run_params { organization_name: organization, test_name: name, region: region }.compact end |