lib/elasticsearch/api/actions/get_script.rb in elasticsearch-api-7.13.3 vs lib/elasticsearch/api/actions/get_script.rb in elasticsearch-api-7.14.0.pre
- old
+ new
@@ -22,10 +22,10 @@
#
# @option arguments [String] :id Script ID
# @option arguments [Time] :master_timeout Specify timeout for connection to master
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.13/modules-scripting.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.14/modules-scripting.html
#
def get_script(arguments = {})
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
headers = arguments.delete(:headers) || {}