class Acme::Client
def authorize(domain:)
def authorize(domain:) payload = { resource: 'new-authz', identifier: { type: 'dns', value: domain } } response = connection.post(@operation_endpoints.fetch('new-authz'), payload) ::Acme::Client::Resources::Authorization.new(self, response) end