challenge.rb 331 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
# frozen_string_literal: true

module Gitlab
  module LetsEncrypt
    class Challenge
      def initialize(acme_challenge)
        @acme_challenge = acme_challenge
      end

10
      delegate :token, :file_content, :status, :request_validation, to: :acme_challenge
11 12 13 14 15 16 17

      private

      attr_reader :acme_challenge
    end
  end
end