lib/elasticsearch/api/actions/get_script.rb in elasticsearch-api-7.0.0 vs lib/elasticsearch/api/actions/get_script.rb in elasticsearch-api-7.1.0
- old
+ new
@@ -22,10 +22,10 @@
# Retrieve an indexed script from Elasticsearch
#
# @option arguments [String] :id Script ID (*Required*)
# @option arguments [String] :lang Script language
#
- # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-scripting.html#_indexed_scripts
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html#_indexed_scripts
#
def get_script(arguments={})
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
method = Elasticsearch::API::HTTP_GET
path = "_scripts/#{arguments[:id]}"