2019-09-04 21:01:54 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module LetsEncrypt
|
|
|
|
class Challenge
|
|
|
|
def initialize(acme_challenge)
|
|
|
|
@acme_challenge = acme_challenge
|
|
|
|
end
|
|
|
|
|
2020-04-22 19:07:51 +05:30
|
|
|
delegate :token, :file_content, :status, :request_validation, :error, to: :acme_challenge
|
2019-09-04 21:01:54 +05:30
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
attr_reader :acme_challenge
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|