Method: Elasticsearch::API::License::Actions#get_trial_status
- Defined in:
- lib/elasticsearch/api/actions/license/get_trial_status.rb
#get_trial_status(arguments = {}) ⇒ Object
Retrieves information about the status of the trial license.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/elasticsearch/api/actions/license/get_trial_status.rb', line 31 def get_trial_status(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'license.get_trial_status' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_GET path = '_license/trial_status' params = {} Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) ) end |