Sha256: f5f33e730bbbccd0f01fad426b9f52d5e532029e10cd826dc715974b3c7a94ee

Contents?: true

Size: 289 Bytes

Versions: 11

Compression:

Stored size: 289 Bytes

Contents

module Fog
  module DNS
    extend Fog::ServicesMixin

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fog-core-2.6.0 lib/fog/dns.rb
fog-core-2.5.0 lib/fog/dns.rb
fog-core-2.4.0 lib/fog/dns.rb
fog-core-2.3.0 lib/fog/dns.rb
fog-core-2.2.4 lib/fog/dns.rb
fog-core-2.2.3 lib/fog/dns.rb
fog-core-2.2.2 lib/fog/dns.rb
fog-core-2.2.1 lib/fog/dns.rb
fog-core-2.2.0 lib/fog/dns.rb
fog-core-2.1.2 lib/fog/dns.rb
fog-core-2.1.1 lib/fog/dns.rb