debian-mirror-gitlab/app/models/work_items/resource_link_event.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
260 B
Ruby
Raw Normal View History

2023-06-20 00:43:36 +05:30
# frozen_string_literal: true
module WorkItems
class ResourceLinkEvent < ResourceEvent
belongs_to :child_work_item, class_name: 'WorkItem'
validates :child_work_item, presence: true
enum action: {
add: 1,
remove: 2
}
end
end