debian-mirror-gitlab/lib/gitlab/lets_encrypt.rb
2019-12-21 20:55:43 +05:30

13 lines
279 B
Ruby

# 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