lib/elasticsearch/api/actions/indices/put_template.rb in elasticsearch-api-7.0.0 vs lib/elasticsearch/api/actions/indices/put_template.rb in elasticsearch-api-7.1.0
- old
+ new
@@ -34,10 +34,10 @@
# @option arguments [Boolean] :create Whether the index template should only be added if new or can also replace an existing one
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Time] :master_timeout Specify timeout for connection to master
# @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)
#
- # @see http://www.elasticsearch.org/guide/reference/api/admin-indices-templates/
+ # @see https://www.elastic.co/guide/reference/api/admin-indices-templates/
#
def put_template(arguments={})
raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
method = HTTP_PUT