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