lib/elasticsearch/api/actions/get_script.rb in elasticsearch-api-7.7.0.pre vs lib/elasticsearch/api/actions/get_script.rb in elasticsearch-api-7.7.0
- old
+ new
@@ -9,10 +9,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/master/modules-scripting.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/modules-scripting.html
#
def get_script(arguments = {})
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
headers = arguments.delete(:headers) || {}