class Superbot::Cloud::CLI::Run::CreateCommand

Public Instance Methods

execute() click to toggle source
# 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() click to toggle source
# File lib/superbot/cloud/cli/run/create_command.rb, line 16
def run_params
  {
    organization_name: organization,
    test_name: name,
    region: region
  }.compact
end