Class: Actions::Pulp::Repository::Destroy
- Inherits:
-
AbstractAsyncTask
- Object
- Base
- Abstract
- AbstractAsyncTask
- Actions::Pulp::Repository::Destroy
- Defined in:
- app/lib/actions/pulp/repository/destroy.rb
Constant Summary
Constants inherited from AbstractAsyncTask
AbstractAsyncTask::FINISHED_STATES
Instance Method Summary collapse
Methods inherited from AbstractAsyncTask
#cancel, #cancel!, #done?, #external_task, #humanized_state, #rescue_external_task, #run
Methods inherited from Abstract
#pulp_extensions, #pulp_resources
Instance Method Details
#invoke_external_task ⇒ Object
10 11 12 |
# File 'app/lib/actions/pulp/repository/destroy.rb', line 10 def invoke_external_task output[:pulp_tasks] = pulp_extensions.repository.delete(input[:pulp_id]) end |