Class: Acme::Client::Resources::Challenges::HTTP01
- Defined in:
- lib/acme/client/resources/challenges/http01.rb
Constant Summary collapse
- CHALLENGE_TYPE =
'http-01'.freeze
- CONTENT_TYPE =
'text/plain'.freeze
Instance Attribute Summary
Attributes inherited from Base
#authorization, #error, #status, #token, #uri
Instance Method Summary collapse
Methods inherited from Base
#assign_attributes, #client, #initialize, #request_verification, #verify_status
Constructor Details
This class inherits a constructor from Acme::Client::Resources::Challenges::Base
Instance Method Details
#content_type ⇒ Object
7 8 9 |
# File 'lib/acme/client/resources/challenges/http01.rb', line 7 def content_type CONTENT_TYPE end |
#file_content ⇒ Object
11 12 13 |
# File 'lib/acme/client/resources/challenges/http01.rb', line 11 def file_content end |
#filename ⇒ Object
15 16 17 |
# File 'lib/acme/client/resources/challenges/http01.rb', line 15 def filename ".well-known/acme-challenge/#{token}" end |