Sha256: 1a88deed1388d3c4c1bd4f828362b36021e5c4ba0e83bb9d45f18116dc0f4949
Contents?: true
Size: 642 Bytes
Versions: 17
Compression:
Stored size: 642 Bytes
Contents
module Fog module DNS extend Fog::ServicesMixin def self.new(orig_attributes) attributes = orig_attributes.dup # prevent delete from having side effects case attributes.delete(:provider).to_s.downcase.to_sym when :stormondemand require "fog/dns/storm_on_demand" Fog::DNS::StormOnDemand.new(attributes) else super(orig_attributes) end end 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
17 entries across 14 versions & 2 rubygems