Class: Gitlab::Triage::Resource::WorkItem
- Includes:
- Shared::Issuable
- Defined in:
- lib/gitlab/triage/resource/work_item.rb
Constant Summary collapse
- DATE_FIELDS =
%i[ start_date due_date ].freeze
Constants included from Shared::Issuable
Shared::Issuable::MAX_PARENT_LOOKUP, Shared::Issuable::SourceTooDeep
Constants inherited from Base
Base::CONFIDENTIAL_TEXT, Base::SOURCE_ERROR_MSG
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from Shared::Issuable
#author, #full_resource_reference, #group_url, #label_events, #labels, #labels_chronologically, #labels_with_details, #milestone, #project_path, #project_url, #query_label_events, #request_group, #request_project, #root_id, #state
Methods inherited from Base
#build_url, define_field, #expand_resource!, #initialize, #network, #redact_confidential_attributes?, #resource_id, #resource_url, #source, #source_resource, #source_url, #url, #url_opts
Constructor Details
This class inherits a constructor from Gitlab::Triage::Resource::Base
Instance Method Details
#work_item_status ⇒ Object
29 30 31 |
# File 'lib/gitlab/triage/resource/work_item.rb', line 29 def work_item_status resource[:work_item_status] end |
#work_item_type ⇒ Object
25 26 27 |
# File 'lib/gitlab/triage/resource/work_item.rb', line 25 def work_item_type resource[:work_item_type] end |