Class: Atlassian::JiraConnect::Serializers::DeploymentEntity

Inherits:
Grape::Entity
  • Object
show all
Includes:
Gitlab::Routing
Defined in:
lib/atlassian/jira_connect/serializers/deployment_entity.rb

Instance Method Summary collapse

Methods included from Gitlab::Routing

add_helpers, includes_helpers, redirect_legacy_paths, url_helpers

Instance Method Details

#issue_keysObject


24
25
26
27
28
# File 'lib/atlassian/jira_connect/serializers/deployment_entity.rb', line 24

def issue_keys
  return [] unless build&.pipeline.present?

  @issue_keys ||= BuildEntity.new(build.pipeline).issue_keys
end