Sha256: 8686d4ddb0fc9bb9fa2a9921dbd6edf28ec29d0c4f3b0f6a294f81af5c8cfa5e

Contents?: true

Size: 596 Bytes

Versions: 23

Compression:

Stored size: 596 Bytes

Contents

<%- unless @params.empty? -%>
  <%= '  '*(@namespace_depth+3) %># Register this action with its valid params when the module is loaded.
  <%= '  '*(@namespace_depth+3) %>#
  <%= '  '*(@namespace_depth+3) %># @since 6.2.0
  <%- if @endpoint_name == 'indices.stats' -%>
    <%= indices_stats_params_registry %>
  <%- else -%>
    <%= '  '*(@namespace_depth+3) %>ParamsRegistry.register(:<%= @method_name %>, [
    <%= '  '*(@namespace_depth+4) %><%= @params.keys.map { |k| ":#{k}" }.join(",\n#{'  '*(@namespace_depth+4)}") %>
    <%= '  '*(@namespace_depth+3) %>].freeze)
  <%- end -%>
<%- end -%>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
elasticsearch-api-7.13.3 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.13.1 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.13.0 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.13.0.pre utils/thor/templates/_params_registry.erb
elasticsearch-api-7.12.0 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.11.2 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.11.1 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.11.0 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.11.0.pre.1 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.10.1 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.10.0 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.10.0.pre utils/thor/templates/_params_registry.erb
elasticsearch-api-7.9.0 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.8.1 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.9.0.pre utils/thor/templates/_params_registry.erb
elasticsearch-api-7.8.0 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.8.0.pre utils/thor/templates/_params_registry.erb
elasticsearch-api-7.7.0 utils/thor/templates/_params_registry.erb
elasticsearch-api-7.7.0.pre utils/thor/templates/_params_registry.erb
elasticsearch-api-7.6.0 utils/thor/templates/_params_registry.erb