Sha256: 6561487e05f13eac84e706f13dae7f0cc0540f4fd10f7d692edee849f17160a9
Contents?: true
Size: 653 Bytes
Versions: 9
Compression:
Stored size: 653 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 provider = 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
9 entries across 9 versions & 2 rubygems