Welcome to mirror list, hosted at ThFree Co, Russian Federation.

lets_encrypt.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9d14b151f7d4a20da22391a992f8b419259e5ebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Gitlab
  module LetsEncrypt
    def self.enabled?
      Gitlab::CurrentSettings.lets_encrypt_terms_of_service_accepted
    end

    def self.terms_of_service_url
      ::Gitlab::LetsEncrypt::Client.new.terms_of_service_url
    end
  end
end