debian-mirror-gitlab/lib/gitlab/lets_encrypt/challenge.rb
2019-09-04 21:01:54 +05:30

17 lines
331 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, to: :acme_challenge
private
attr_reader :acme_challenge
end
end
end