lib/acme/client/resources/challenges/http01.rb in acme-client-0.2.4 vs lib/acme/client/resources/challenges/http01.rb in acme-client-0.3.0

- old
+ new

@@ -1,6 +1,7 @@ class Acme::Client::Resources::Challenges::HTTP01 < Acme::Client::Resources::Challenges::Base + CHALLENGE_TYPE = 'http-01'.freeze CONTENT_TYPE = 'text/plain'.freeze def content_type CONTENT_TYPE end @@ -9,12 +10,7 @@ authorization_key end def filename ".well-known/acme-challenge/#{token}" - end - - def request_verification - response = client.connection.post(@uri, { resource: 'challenge', type: 'http-01', keyAuthorization: authorization_key }) - response.success? end end