Method: ElasticDot::Command::Db.destroy
- Defined in:
- lib/elasticdot/command/db.rb
.destroy(opts) ⇒ Object
109 110 111 112 113 114 115 116 117 |
# File 'lib/elasticdot/command/db.rb', line 109 def self.destroy(opts) find_db! opts print "Destroying database #{@db}... " info = api.delete("/databases/#{@db}") puts 'done' end |