Module: Fog::DNS

Extended by:
ServicesMixin
Defined in:
lib/fog/dns.rb

Constant Summary

Constants included from ServicesMixin

ServicesMixin::E_SERVICE_PROVIDER_CONSTANT, ServicesMixin::E_SERVICE_PROVIDER_PATH

Class Method Summary collapse

Methods included from ServicesMixin

[], new, providers

Class Method Details

.zonesObject



5
6
7
8
9
10
11
12
13
14
# File 'lib/fog/dns.rb', line 5

def self.zones
  zones = []
  providers.each do |provider|
    begin
      zones.concat(self[provider].zones)
    rescue # ignore any missing credentials/etc
    end
  end
  zones
end