Class: Gitlab::Triage::Resource::LinkedIssue

Inherits:
Issue
  • Object
show all
Defined in:
lib/gitlab/triage/resource/linked_issue.rb

Constant Summary

Constants inherited from Issue

Issue::DATE_FIELDS

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

#parent, #resource

Instance Method Summary collapse

Methods inherited from Issue

#closed_by, #expired?, #linked_issues, #merge_requests_count, #related_merge_requests

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



9
10
11
# File 'lib/gitlab/triage/resource/linked_issue.rb', line 9

def link_type
  @link_type ||= resource.dig(:link_type)
end