Sha256: 6d9d515e6d8936c37e7fef333120edf449493730354a1716d3f2684dd1fd5712
Contents?: true
Size: 421 Bytes
Versions: 7
Compression:
Stored size: 421 Bytes
Contents
module Sunzi class DNS def initialize(config, cloud) dns = config['dns'] @subject = case dns when 'linode' Sunzi::DNS::Linode.new(config, cloud) when 'route53' Sunzi::DNS::Route53.new(config, cloud) else abort_with "DNS #{dns} is not valid!" end end def method_missing(sym, *args, &block) @subject.send sym, *args, &block end end end
Version data entries
7 entries across 7 versions & 1 rubygems