debian-mirror-gitlab/lib/gitlab/lets_encrypt/challenge.rb
2020-04-22 19:07:51 +05:30

17 lines
339 B
Ruby

# 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, :error, to: :acme_challenge
private
attr_reader :acme_challenge
end
end
end