Class: Gitlab::Triage::Action::Delete::Dry
- Inherits:
-
Gitlab::Triage::Action::Delete
- Object
- Base
- Gitlab::Triage::Action::Delete
- Gitlab::Triage::Action::Delete::Dry
- Defined in:
- lib/gitlab/triage/action/delete.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Gitlab::Triage::Action::Delete
#build_delete_url, #resource_id
Methods inherited from Base
Constructor Details
This class inherits a constructor from Gitlab::Triage::Action::Base
Instance Method Details
#act ⇒ Object
10 11 12 13 |
# File 'lib/gitlab/triage/action/delete.rb', line 10 def act puts "The following resources will be deleted by the rule **#{policy.name}**:\n\n" super end |
#perform(resource) ⇒ Object (private)
17 18 19 |
# File 'lib/gitlab/triage/action/delete.rb', line 17 def perform(resource) puts "DELETE resource with type: #{resource[:type]} and id: #{resource_id(resource)}" end |