gitlab-org--gitlab-foss/lib/gitlab/lets_encrypt/challenge.rb

18 lines
331 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Gitlab
module LetsEncrypt
class Challenge
def initialize(acme_challenge)
@acme_challenge = acme_challenge
end
delegate :token, :file_content, :status, :request_validation, to: :acme_challenge
private
attr_reader :acme_challenge
end
end
end