class Superbot::Cloud::CLI::Schedule::CreateCommand
Public Instance Methods
execute()
click to toggle source
# File lib/superbot/cloud/cli/schedule/create_command.rb, line 17 def execute schedule_test end
schedule_params()
click to toggle source
# File lib/superbot/cloud/cli/schedule/create_command.rb, line 26 def schedule_params { test_name: name, region: region, organization_name: organization, parallel: bots, bots_delay: bots_delay, starts_at: starts_at, loop: loop_count, webdriver_api: !local_webdriver?, base_url: base_url }.compact end
schedule_test()
click to toggle source
# File lib/superbot/cloud/cli/schedule/create_command.rb, line 21 def schedule_test Superbot::Cloud::Api.request(:schedule_test, params: schedule_params) puts "Cloud run has been scheduled" end