2019-05-16 09:32:25 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module LetsEncrypt
|
|
|
|
class Challenge
|
|
|
|
def initialize(acme_challenge)
|
|
|
|
@acme_challenge = acme_challenge
|
|
|
|
end
|
|
|
|
|
2019-06-06 18:55:31 +00:00
|
|
|
delegate :token, :file_content, :status, :request_validation, to: :acme_challenge
|
2019-05-16 09:32:25 +00:00
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
attr_reader :acme_challenge
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|