Class: Gitlab::Triage::Action::WorkItemStatus::Dry
- Inherits:
-
WorkItemStatus
- Object
- WorkItemStatus
- Gitlab::Triage::Action::WorkItemStatus::Dry
- Defined in:
- lib/gitlab/triage/action/work_item_status.rb
Instance Method Summary collapse
Instance Method Details
#act ⇒ Object
12 13 14 15 16 |
# File 'lib/gitlab/triage/action/work_item_status.rb', line 12 def act puts "The following work items would have their status updated for the rule **#{policy.name}**:\n\n" super end |
#perform(resource, status_value) ⇒ Object (private)
20 21 22 23 24 |
# File 'lib/gitlab/triage/action/work_item_status.rb', line 20 def perform(resource, status_value) puts "# #{resource[:web_url]}" puts "Status would be set to: #{status_value}" puts "Work Item ID: gid://gitlab/WorkItem/#{resource[:id]}\n\n" end |