Class: Superbot::CLI::Cloud::Test::DeleteCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Superbot::CLI::Cloud::Test::DeleteCommand
- 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
Instance Method Details
#delete_test ⇒ Object
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 |
#execute ⇒ Object
13 14 15 16 |
# File 'lib/superbot/cloud/cli/cloud/test/delete_command.rb', line 13 def execute require_login delete_test end |