lib/elasticsearch/xpack/api/actions/watcher/deactivate_watch.rb in elasticsearch-xpack-7.7.0.pre vs lib/elasticsearch/xpack/api/actions/watcher/deactivate_watch.rb in elasticsearch-xpack-7.7.0
- old
+ new
@@ -10,10 +10,10 @@
# Deactivates a currently active watch.
#
# @option arguments [String] :watch_id Watch ID
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/watcher-api-deactivate-watch.html
#
def deactivate_watch(arguments = {})
raise ArgumentError, "Required argument 'watch_id' missing" unless arguments[:watch_id]
headers = arguments.delete(:headers) || {}