summaryrefslogtreecommitdiff
path: root/lib/atlassian/jira_connect.rb
blob: 7f693eff59b07ab11e9ae8edd814638411e13364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module Atlassian
  module JiraConnect
    class << self
      def app_name
        "GitLab for Jira (#{gitlab_host})"
      end

      def app_key
        "gitlab-jira-connect-#{gitlab_host}"
      end

      private

      def gitlab_host
        Gitlab.config.gitlab.host
      end
    end
  end
end