Sha256: 08d5e65db8e59bf4f1a357f95a038563a6f0d83a23f2326007f52ac17799cbec
Contents?: true
Size: 831 Bytes
Versions: 15
Compression:
Stored size: 831 Bytes
Contents
module Elasticsearch module API module Indices module Actions # Get a single index template. # # @example Get a template named _mytemplate_ # # client.indices.get_template name: 'mytemplate' # # @note Use the {Cluster::Actions#state} API to get a list of all templates. # # @option arguments [String] :name The name of the template (*Required*) # # @see http://www.elasticsearch.org/guide/reference/api/admin-indices-templates/ # def get_template(arguments={}) method = 'GET' path = Utils.__pathify '_template', Utils.__escape(arguments[:name]) params = {} body = nil perform_request(method, path, params, body).body end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems