lib/elasticsearch/api/actions/rollup/get_jobs.rb in elasticsearch-api-8.0.1 vs lib/elasticsearch/api/actions/rollup/get_jobs.rb in elasticsearch-api-8.1.0

- old
+ new

@@ -26,16 +26,17 @@ # support SLA of official GA features. # # @option arguments [String] :id The ID of the job(s) to fetch. Accepts glob patterns, or left blank for all jobs # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.1/rollup-get-job.html # def get_jobs(arguments = {}) - arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil + + arguments = arguments.clone _id = arguments.delete(:id) method = Elasticsearch::API::HTTP_GET path = if _id