Sha256: 858f132f657104eeb9b96fa09efc1af1d89278505eee26ddcbbb7f7bfcd0de85
Contents?: true
Size: 489 Bytes
Versions: 5
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true require_relative 'base_operation' module Esse module CLI class Index::UpdateSettings < Index::BaseOperation def run validate_options! indices.each do |index| index.elasticsearch.update_settings!(**options) end end private def options @options.slice(*@options.keys - CLI_IGNORE_OPTS) end def validate_options! validate_indices_option! end end end end
Version data entries
5 entries across 5 versions & 1 rubygems