Module: Rubber::Dns
- Defined in:
- lib/rubber/dns.rb,
lib/rubber/dns/base.rb,
lib/rubber/dns/dyndns.rb,
lib/rubber/dns/zerigo.rb,
lib/rubber/dns/nettica.rb
Defined Under Namespace
Classes: Base, Dyndns, Nettica, Zerigo
Class Method Summary
collapse
Class Method Details
.get_provider(provider, env) ⇒ Object
6
7
8
9
10
|
# File 'lib/rubber/dns.rb', line 6
def self.get_provider(provider, env)
require "rubber/dns/#{provider}"
clazz = Rubber::Dns.const_get(provider.capitalize)
return clazz.new(env)
end
|