Class: Gitlab::Triage::Resource::Epic

Inherits:
Base
  • Object
show all
Includes:
Shared::Issuable
Defined in:
lib/gitlab/triage/resource/epic.rb

Constant Summary

Constants included from Shared::Issuable

Shared::Issuable::MAX_PARENT_LOOKUP, Shared::Issuable::SourceTooDeep

Constants inherited from Base

Base::CONFIDENTIAL_TEXT

Instance Attribute Summary

Attributes inherited from Base

#parent, #resource

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_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

#project_pathObject Also known as: group_path



12
13
14
15
# File 'lib/gitlab/triage/resource/epic.rb', line 12

def project_path
  @project_path ||=
    request_group(resource[:group_id])[:full_path]
end