Class: SolrMakr::Commands::DeleteCollection Private

Inherits:
ActiveInteraction::Base
  • Object
show all
Includes:
AbstractCommand
Defined in:
lib/solr_makr/commands/delete_collection.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary

Constants included from Utility

Utility::REQUIRED_SOLR_NODES

Instance Attribute Summary

Attributes included from BufferInteraction

#buffer

Instance Method Summary collapse

Methods included from AbstractCommand

#expect_success!, #fetch_configset, #local_configuration

Methods included from Utility

default_table, default_table_options!, hash_to_table, looks_like_a_valid_configset?, path_to_configset

Methods included from BufferInteraction

#build_buffer, #compose_buffer

Instance Method Details

#executeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
# File 'lib/solr_makr/commands/delete_collection.rb', line 8

def execute
  expect_success! solr_client.delete(name: name), success_message: "Deleted collection: `#{name}`"
end