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