Module: ElasticsearchServerless::API::License::Actions
- Defined in:
- lib/elasticsearch-serverless/api/license/get.rb
Instance Method Summary collapse
-
#get(arguments = {}) ⇒ Object
Retrieves licensing information for the cluster.
Instance Method Details
#get(arguments = {}) ⇒ Object
Retrieves licensing information for the cluster
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/elasticsearch-serverless/api/license/get.rb', line 33 def get(arguments = {}) arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = ElasticsearchServerless::API::HTTP_GET path = "_license" params = Utils.process_params(arguments) ElasticsearchServerless::API::Response.new( perform_request(method, path, params, body, headers) ) end |