Sha256: 50fb1189eb56415695e66cb4f0779e3f9ec1f4ad3c12f98cf42f07ec527711a6

Contents?: true

Size: 304 Bytes

Versions: 18

Compression:

Stored size: 304 Bytes

Contents

require "rubber/dns/base.rb"

module Rubber
  module Dns

    def self.get_provider(provider, env)
      require "rubber/dns/#{provider}"
      clazz = Rubber::Dns.const_get(provider.capitalize)
      provider_env = env.dns_providers[provider]
      return clazz.new(provider_env)
    end
    
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rubber-2.0.5 lib/rubber/dns.rb
rubber-2.0.4 lib/rubber/dns.rb
rubber-2.0.3 lib/rubber/dns.rb
rubber-2.0.2 lib/rubber/dns.rb
rubber-2.0.1 lib/rubber/dns.rb
rubber-2.0.0 lib/rubber/dns.rb
rubber-2.0.0.pre12 lib/rubber/dns.rb
rubber-2.0.0.pre11 lib/rubber/dns.rb
rubber-2.0.0.pre10 lib/rubber/dns.rb
rubber-2.0.0.pre9 lib/rubber/dns.rb
rubber-2.0.0.pre8 lib/rubber/dns.rb
rubber-2.0.0.pre7 lib/rubber/dns.rb
rubber-2.0.0.pre6 lib/rubber/dns.rb
rubber-2.0.0.pre5 lib/rubber/dns.rb
rubber-2.0.0.pre4 lib/rubber/dns.rb
rubber-2.0.0.pre3 lib/rubber/dns.rb
rubber-2.0.0.pre2 lib/rubber/dns.rb
rubber-2.0.0.pre1 lib/rubber/dns.rb