debian-mirror-gitlab/lib/gitlab/lets_encrypt.rb

14 lines
279 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
# frozen_string_literal: true
module Gitlab
module LetsEncrypt
def self.enabled?
Gitlab::CurrentSettings.lets_encrypt_terms_of_service_accepted
end
2019-12-21 20:55:43 +05:30
def self.terms_of_service_url
::Gitlab::LetsEncrypt::Client.new.terms_of_service_url
end
2019-09-30 21:07:59 +05:30
end
end