Method: ElasticDot::Command::Db.list
- Defined in:
- lib/elasticdot/command/db.rb
.list(opts) ⇒ Object
139 140 141 142 143 144 145 |
# File 'lib/elasticdot/command/db.rb', line 139 def self.list(opts) puts "=== database list" list = api.get("/databases") list.each {|db| puts db['identifier'] } end |