Class: Superbot::CLI::Cloud::Test::DeleteCommand

Inherits:
Clamp::Command
  • Object
show all
Includes:
Superbot::Cloud::Validations
Defined in:
lib/superbot/cloud/cli/cloud/test/delete_command.rb

Instance Method Summary collapse

Methods included from Superbot::Cloud::Validations

#require_login

Instance Method Details

#delete_testObject



18
19
20
21
# File 'lib/superbot/cloud/cli/cloud/test/delete_command.rb', line 18

def delete_test
  Superbot::Cloud::Api.request(:delete_test, params: { name: name, organization_name: organization })
  puts "Tests successfully deleted"
end

#executeObject



13
14
15
16
# File 'lib/superbot/cloud/cli/cloud/test/delete_command.rb', line 13

def execute
  
  delete_test
end