Module: GClouder::Resources::DNS::Remote
- Defined in:
- lib/gclouder/resources/dns.rb
Class Method Summary collapse
Class Method Details
.list ⇒ Object
379 380 381 382 383 |
# File 'lib/gclouder/resources/dns.rb', line 379 def self.list zones.each_with_object({ "global" => [] }) do |zone, collection| collection["global"] << { "name" => zone["name"], "records" => records(zone["name"]) } end.delete_if { |_k, v| v.empty? } end |